Edit Your Comment
Strategy Tester Question
Membre depuis Nov 12, 2010
posts 160
Jul 25, 2011 at 13:04
Membre depuis Nov 12, 2010
posts 160
I notice that when I run the strategy tester on the weekend during hours that the Forex market is not open, the results are not fully as expected. Does the data not update during these hours? Possibly the server my Metatrader connects to is down? Anyone know the specific reason that my software trades oddly especially with the newer data? It tests fine once the market is open again. In both instances it trades, it just seems to trade differently from how it should when it trades off hours.
thanks guys
thanks guys
See my profile or message me for my latest EA
Membre depuis Jan 14, 2010
posts 541
Jul 25, 2011 at 16:10
Membre depuis Jan 14, 2010
posts 541
bestdarngood posted:
I notice that when I run the strategy tester on the weekend during hours that the Forex market is not open, the results are not fully as expected. Does the data not update during these hours? Possibly the server my Metatrader connects to is down? Anyone know the specific reason that my software trades oddly especially with the newer data? It tests fine once the market is open again. In both instances it trades, it just seems to trade differently from how it should when it trades off hours.
thanks guys
The data is taken from your broker's servers as far as I'm aware. Obviously, if you test it on a different time spans, you'll get different results.
Or are you saying you're testing it on different timeOfWeek/timeOfDay?
Membre depuis Nov 12, 2010
posts 160
Jul 25, 2011 at 17:08
Membre depuis Nov 12, 2010
posts 160
I'm testing it on same timespan but sometimes test on a weekday when the market is active and sometimes on a saturday when it is not and with everything the same in the program, I will get different results
See my profile or message me for my latest EA

forex_trader_27988
Membre depuis Jan 26, 2011
posts 974
Jul 25, 2011 at 21:41
Membre depuis Jan 26, 2011
posts 974
strategy tester is not very good, anyways..
i have written EA's that, when ran in the strategy tester, straight up blew up the entire platforrm.
ea's that work in strrateegy testere do not alwayss worrk inn realtime.
i wrrotee one that took 1k annd turned it into somethingn likee huundnredss of millionss of dollaarss, but it faialed it's first day off trrading demo money.
z/.
i have written EA's that, when ran in the strategy tester, straight up blew up the entire platforrm.
ea's that work in strrateegy testere do not alwayss worrk inn realtime.
i wrrotee one that took 1k annd turned it into somethingn likee huundnredss of millionss of dollaarss, but it faialed it's first day off trrading demo money.
z/.
Membre depuis Nov 12, 2010
posts 160
Membre depuis Jan 14, 2010
posts 541
Jul 26, 2011 at 06:27
Membre depuis Jan 14, 2010
posts 541
bestdarngood posted:
I'm testing it on same timespan but sometimes test on a weekday when the market is active and sometimes on a saturday when it is not and with everything the same in the program, I will get different results
How much of a different result are we talking about here? What type of testing model are you using? Ticks/open prices/control points?
Membre depuis Nov 12, 2010
posts 160
Jul 26, 2011 at 12:13
Membre depuis Nov 12, 2010
posts 160
Well many times it seems like the newer points are off because it makes many more bad trades at the end and I believe also in other parts possibly of the time span that the program is tested on. Every Tick is the testing method used without optimization.
See my profile or message me for my latest EA
Membre depuis Jan 14, 2010
posts 541
Jul 26, 2011 at 14:20
Membre depuis Jan 14, 2010
posts 541
bestdarngood posted:
Well many times it seems like the newer points are off because it makes many more bad trades at the end and I believe also in other parts possibly of the time span that the program is tested on. Every Tick is the testing method used without optimization.
It sounds like you have flawed login in your EA - if you're getting an entirely different result on each backtest using the same data, there must be something wrong.
Membre depuis Nov 12, 2010
posts 160
Jul 26, 2011 at 17:02
Membre depuis Nov 12, 2010
posts 160
I get the same result from one week to the next DURING trading hours for sure, but I'm not going to worry about it, just wanted to see if anyone else saw this issue ever. I have seen it on both of my computers but no big deal. I just can't test on the weekends and guarantee good data.
See my profile or message me for my latest EA
Membre depuis Jan 14, 2010
posts 541
Membre depuis Nov 12, 2010
posts 160
Membre depuis Jan 14, 2010
posts 541
Jul 27, 2011 at 09:51
Membre depuis Jan 14, 2010
posts 541
bestdarngood posted:
All EAs experience the same, mine and a couple that I have not made. No big deal though as I can work around it. Probably just bad data during non trading hours or non-updated data.
Are you logging to different brokers in the same instance of MetaTrader? I believe that might lead to such errors as then the tester will download the broker's data on each test, so using different brokers (even though in the same terminal) will lead to different results.

*Lutilisation commerciale et le spam ne seront pas tolérés et peuvent entraîner la fermeture du compte.
Conseil : Poster une image/une url YouTube sera automatiquement intégrée dans votre message!
Conseil : Tapez le signe @ pour compléter automatiquement un nom dutilisateur participant à cette discussion.