The following code returns only 0 for MA period > 1000 in the tester, but not on a demo account. Is that a known limitation?
Are any limitation for the strategytester documented somewhere?
i have searched the whole web and YES, there is a limitation in the strategy tester!
try to "Alert(bars); " in your init of your EA and you will get 1000 or 1001 or 1002.
also my question is:
how can i enlarge this 1000 bar limitation?!
(and yes, all my historical data is updated and more than years in the past)
i have searched the whole web and YES, there is a limitation in the strategy tester!
try to "Alert(bars); " in your init of your EA and you will get 1000 or 1001 or 1002.
also my question is:
how can i enlarge this 1000 bar limitation?!
(and yes, all my historical data is updated and more than years in the past)
- But my EA needs bar information one minute in the future :-)
- If you do not have history, you do not have history. What you need is irrelevant.
- Consider using a smaller period on a larger time frame. A 1000 period M5 MA is about a 333 period M15 MA and about a 83 period H1 Ma.
But my EA needs every tick/bar the information one month ago :-(
@whroeder: idiot ^^ it's just a config value that has to change, but nobody knows where it is located. it's no magic like looking into the future.
@raptoruk: yes, that idea was in my mind too. it's the solution when i give it up search config and exe files with hex editor ;-)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello all
The following code returns only 0 for MA period > 1000 in the tester, but not on a demo account. Is that a known limitation?
tester:
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA997: 1.2817
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA998: 1.2817
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA999: 1.2817
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA1000: 1.2817
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA1001: 0
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA1002: 0
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA1003: 0
19:38:51 2012.11.23 00:00 test EURUSD,M5: MA1004: 0
demo:
19:11:36 test EURUSD,M5: MA997: 1.2891
19:11:36 test EURUSD,M5: MA998: 1.2891
19:11:36 test EURUSD,M5: MA999: 1.2891
19:11:36 test EURUSD,M5: MA1000: 1.2891
19:11:36 test EURUSD,M5: MA1001: 1.289
19:11:36 test EURUSD,M5: MA1002: 1.289
19:11:36 test EURUSD,M5: MA1003: 1.289
19:11:36 test EURUSD,M5: MA1004: 1.289
...
...
...
19:11:41 test EURUSD,M5: MA9997: 1.2888
19:11:41 test EURUSD,M5: MA9998: 1.2888
19:11:41 test EURUSD,M5: MA9999: 1.2888
Are any limitation for the strategytester documented somewhere?
Thanks