MQL5 Documentation code isn't working
"code isn't working" means nothing!!
But MQ5 has instruments for to find and correct the problem yourself:
Code debugging: https://www.metatrader5.com/en/metaeditor/help/development/debug
Error Handling and Logging in MQL5: https://www.mql5.com/en/articles/2041
Tracing, Debugging and Structural Analysis of Source Code, scroll down to: "Launching and Debuggin": https://www.mql5.com/en/articles/272
If we should help you have to clearly document the problem (line, error message, ...) with your code as the official codes are correct in actually all cases. Please use the the code button:
or Alt+S.
- www.metatrader5.com
I tried to use MQL5 different documentation codes for CalenderValue but they aren't working (I also changes the dates but still didn't work).
Here are the links for some of the codes:
https://www.mql5.com/en/docs/calendar/calendarvaluehistory
https://www.mql5.com/en/docs/calendar/calendarvaluelast
https://www.mql5.com/en/docs/constants/structures/mqlcalendar#mqlcalendarvalue_sample
If someone can help me I'll really appreciate it.