- A single line of code is useless; post all relevant code.
- Forex is closed on Saturday (ET). With most broker's timezones, you will not see 6.
- Forex opens on Sunday (ET). Depending on your broker's timezone, you might see a 1-2 hour Sunday (0) or not.

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 Folks,
I am new learning MQL4.
I am working on EA which should modify its values on Monday.
I used DayOfWeek function in comment section to check, during backtesting whether it's changing its value from 0 to 6.
but during back test it always shows 1 I dont know why.
Can anybody help in this