
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
here is quite strange result I've got during testing... I'll appreciate your comments...
Testing EURUSD on M30 from 2006.12.01 to 2007.02.15 in visual mode on.
testing code is
here is what prints return in the log:
2007.02.20 17:51:50 2006.11.07 01:29 test EURUSD,M30: 2007.01.02 03:00 >= 2006.11.07 01:00 (1); OrderType: 0
As one could see
returns 2007.01.02 03:00
as
where
means
returns 2006.11.07 01:00
The Result Table says:
1 2006.11.07 00:29 buy 1 1.00 1.2731 0.0000 0.0000 0.00 10000.00
which is correct.
I cannot undestrand why OrderOpenTime() returns 2007.01.02 03:00 instead of 2006.11.07 00:29
I'm sory for this long post but will really appreciate your comments.
Thank you
Iv