how can I change the weekend days in MQL5 program?
amin j: how can I change the weekend days in MQL5 program?
You can't! The server time and time zone, and daylight savings adjustments is set by the broker. Your code has to adjust to it accordingly.
There are no weekend days in MTx. Knowing which days are weekend depends on your broker's time zone and the symbol being traded.
Time zone - Trading Systems - MQL5 programming forum #2 2020.11.13
Time zone - Trading Systems - MQL5 programming forum #2 2020.11.13

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