You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
ok ok it works but not in tester strategy :-(((((((
what time frame
ok ok it works but not in tester strategy :-(((((((
I think time related functions do not work in the strategy tester.
So you have to do forward tests only.
Time Related functions DO work in the strategy tester. I use a strategy with timeframes for my EA and I have no problems.
I define some variables inside my EA
datetime TimeFrame.Start, TimeFrame.End;
TimeFrame.Start = StrToTime("08:45:00");
TimeFrame.End = StrToTime("09:00:00");
And later I check, if I am inside this timeframe to apply my strategy:
Try it ...
TuRRiCAN