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 Friends,
I'm working at this idea, and learning how to code, I could not find any example on the internet, I hope you guys could help me.
The initial idea is:
Candles:
0 to 12 =====> x1 ( variable1 ) where x1 is the simple average between 0 to 12
12 to 24 ====> x2 ( variable2 ) where x2 is the simple average between 12 to 24
24 to 36 =====>x3 (variable3 ) where x3 is the simple average between 24 to 36
then: (x1+x2+x3)/3 = z
drawing a Horizontal line on the Chart = HLine value =z
Got it?
Thanks