u have to use "yyyy.mm.dd hh:mm" format
I use it, i used this :
string ats_HreMarket [8][2]={"08:00:01","10:00:01","08:00:01","16:59:45","08:00:01","16:59:45", "08:00:01","16:59:45", "08:00:01","16:59:45", "08:00:01","16:59:45", "08:00:01","16:59:45", "00:00:01","16:59:45"};
can't u read ? full format !!!! "yyyy.mm.dd hh:mm" Example "2014.02.17 12:00"
i dont c in ur string a sign of a year.month.day
During the built of the code I use this :
at the begginning of a function :
then, at its end :
this function give me the last error message if exist, with the name of the function, so I'm able to track error. I disable all of them when Ea is finish. (Fbug=0)
I get still a new error one with new ver 6.00 with that :
Message error is :
" 4051 invalid function parameter value ..... " F11A.HreBroSession F04-Bug-> 4051"
I didn't got that with 509..
I try to find all the day but.. nothing.. if somebody as idea..
Where did you look ? it's a bug that has been reported to the Service Desk https://www.mql5.com/en/forum/149582/page2#908503
Thank's Raptor, undestood, means sense. I'll wait.
@qjol . I'dont want Year and Month. Thanks.
Thank's Raptor, undestood, means sense. I'll wait.
@qjol . I'dont want Year and Month. Thanks.
I did post a workaround if that helps while you wait . . .
Of course thanks, it would be great because that doesn't run anymore.
Already in ver 509 i had to use this in fact ".08:00:01", with the dot before.. I didn't no why, but that did the job haha...
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
During the built of the code I use this :
at the begginning of a function :
then, at its end :
this function give me the last error message if exist, with the name of the function, so I'm able to track error. I disable all of them when Ea is finish. (Fbug=0)
I get still a new error one with new ver 6.00 with that :
Message error is :
" 4051 invalid function parameter value ..... " F11A.HreBroSession F04-Bug-> 4051"
I didn't got that with 509..
I try to find all the day but.. nothing.. if somebody as idea..
D