Getting a Day
- 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.
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