Script to (ATTEMPT) Force Download of historical data
Re: Script to (ATTEMPT) Force Download of historical data
Steve, do you know you can watch the script's progress on the Experts tab?
- SatchFan
- Trader
- Posts: 30
- Joined: Mon May 28, 2012 12:31 am
- Location: Flying in a Blue Dream or Surfing with an Alien
Re: Script to (ATTEMPT) Force Download of historical data
Here is a script I have been using for quite some time. http://codebase.mql4.com/6693 I had a problem with it when Empty4 went to build 401. But ever since then it has worked fine. Maybe it will help some one.... ? It does take a while to get all the data but it works...
SatchFan
SatchFan
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9754
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Re: Script to (ATTEMPT) Force Download of historical data
Yup. I just like chart feedback - you may have noticed this.garyfritz wrote:Steve, do you know you can watch the script's progress on the Experts tab?
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
- Trader
- Posts: 117
- Joined: Sun Dec 04, 2011 11:04 pm
Re: Script to (ATTEMPT) Force Download of historical data
I found that the following EA works very well.
Just input one of: M1, M5, M15,H1,H4,D1,W1,MN into the period input and away you go.
Don't bother about the FastMethod and Pause (they go together), but all it does is allocates the amount of time to spend in seconds to download data for each Symbol.
If the EA gets interrupted for some reason and you find that it gets 'stuck', remove it and before you start it up again, just delete the GV's (press F3) associated to the EA.
Just input one of: M1, M5, M15,H1,H4,D1,W1,MN into the period input and away you go.
Don't bother about the FastMethod and Pause (they go together), but all it does is allocates the amount of time to spend in seconds to download data for each Symbol.
If the EA gets interrupted for some reason and you find that it gets 'stuck', remove it and before you start it up again, just delete the GV's (press F3) associated to the EA.
You do not have the required permissions to view the files attached to this post.
Re: Script to (ATTEMPT) Force Download of historical data
Michael, does that one get ALL the history from the crim? The LoadHistory script that SatchFan posted works very well, and it gets ALL TFs with one run which is nice, but it gives up too easily. It stops before it gets all of the history.
-
- Trader
- Posts: 117
- Joined: Sun Dec 04, 2011 11:04 pm
Re: Script to (ATTEMPT) Force Download of historical data
Yes it does. Only that it does all symbols per Period only, not all Periods and all Symbols.
In saying that, it won't be too hard to add an extern variable and extra loop coding for each period to have the option of downloading ALL History from ALL Periods of ALL Symbols
In saying that, it won't be too hard to add an extern variable and extra loop coding for each period to have the option of downloading ALL History from ALL Periods of ALL Symbols
-
- Trader
- Posts: 26
- Joined: Sat Dec 03, 2011 10:34 am
Re: Script to (ATTEMPT) Force Download of historical data
MichaelM wrote:I found that the following EA works very well.
Just input one of: M1, M5, M15,H1,H4,D1,W1,MN into the period input and away you go.
Don't bother about the FastMethod and Pause (they go together), but all it does is allocates the amount of time to spend in seconds to download data for each Symbol.
If the EA gets interrupted for some reason and you find that it gets 'stuck', remove it and before you start it up again, just delete the GV's (press F3) associated to the EA.
Worked wonders for me..
-
- Posts: 1
- Joined: Sun May 06, 2012 3:26 pm
Re: Script to (ATTEMPT) Force Download of historical data
thanks for share,MichaelM wrote:I found that the following EA works very well.
Just input one of: M1, M5, M15,H1,H4,D1,W1,MN into the period input and away you go.
Don't bother about the FastMethod and Pause (they go together), but all it does is allocates the amount of time to spend in seconds to download data for each Symbol.
If the EA gets interrupted for some reason and you find that it gets 'stuck', remove it and before you start it up again, just delete the GV's (press F3) associated to the EA.
-
- Posts: 3
- Joined: Mon May 28, 2012 2:03 am
Re: Script to (ATTEMPT) Force Download of historical data
Any reason why I cant get more than around 540 000 bars on M1 whatever the amount of data I have in my hst file?
I have the max bars option to the max so I dont see why it would be limited
I have the max bars option to the max so I dont see why it would be limited
- NeoTrader
- Trader
- Posts: 436
- Joined: Wed Apr 04, 2012 2:52 pm
- Location: small Village at Lake Chiemsee, Bavaria, Germany
Re: Script to (ATTEMPT) Force Download of historical data
hi tonycashflow,
happy trading,
NeoTrader
-
Maybe your criminal does not have more history data available...tonycashflow wrote:Any reason why I cant get more than around 540 000 bars on M1 whatever the amount of data I have in my hst file?
Have you set both maxbars (history and chart) to the max?tonycashflow wrote:I have the max bars option to the max so I dont see why it would be limited
happy trading,
NeoTrader
-