I´am trying to write some script but my knowlegde of the Metaquotes Language are very limited because I have
been using for only a week.
So, my question is: Is there any way to change the bar color depending on the two indicators values? It´s possible?
Using the Awesome Oscillator and the Accelerator/Deacelerator (called AO and AC) in a bar chart:
If the AO and the AC bars are higher than their immediately preceding bars, the
corresponding price bar will be colored green.
If the AO and the AC bars are lower than their immediately preceding bars, the
corresponding price bar will be colored red.
If the AO and the AC bars are different, the corresponding price bar will be colored
grey.
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.
I´am trying to write some script but my knowlegde of the Metaquotes Language are very limited because I have been using for only a week.
So, my question is: Is there any way to change the bar color depending on the two indicators values? It´s possible?
Using the Awesome Oscillator and the Accelerator/Deacelerator (called AO and AC) in a bar chart:
If the AO and the AC bars are higher than their immediately preceding bars, the corresponding price bar will be colored green.
If the AO and the AC bars are lower than their immediately preceding bars, the corresponding price bar will be colored red.
If the AO and the AC bars are different, the corresponding price bar will be colored grey.
Thanks