Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello,
I am novice coder and trying to modify market session indicator (by Adam Jowett).
My intended modification was to draw market session open line for 48hrs. But having problem if Open is Friday lines and 48hrs includes weekend.
below is what I wrote - if Friday, extend line for 72hrs. but this code affects all weekdays.
Your advice is greatly appreciated.
Carla
for reference below is other part of codes