| / | Forum |
|
o6o2
2006.04.12 00:20
basically the code is suppost to run between endtime and canceltime, but only on the same date, (if i dont put the same date in, the EA runs mad and calculates all bars) but with this code, the ea only shows up within a 2 week period in the tester, i ran one for a whole year. please help! thank you! |
|
This article will be interesting first of all for programmers both beginners and professionals working in MQL environment. Also it would be useful if this article were read by MQL environment developers and ideologists, because questions that are analyzed here may become projects for future implementation of MetaTrader and MQL. |
|
bar4ka
2006.04.15 03:56
o6o2 wrote: This is what i saw in help for StrToTime:
basically the code is suppost to run between endtime and canceltime, but only on the same date, (if i dont put the same date in, the EA runs mad and calculates all bars) but with this code, the ea only shows up within a 2 week period in the tester, i ran one for a whole year. please help! thank you!
looking in your code i saw int instead of datetime. Maybe this is your problem |