Thank You
Your code | MqlDateTime today; datetime NullUhr; datetime now= TimeCurrent(today); int year = today.year; int month = today.mon; int day = today.day; NullUhr = StringToTime(string(year)+"."+string(month)+"."+string(day)+" 00:00"); |
Simplified | datetime NullUhr = date(); Find bar of the same time one day ago - MQL4 programming forum #1 & #6 (2017) |
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
Hello everybody,
i'am new with mql5 and i have some problems to write the function, which check for me if the EA already have trade on this day. I will be very grateful if somebody can have a look at my code. Thank you very much!