• Get access

Different color bar depends on indicator

To add comments, please log in or register
Linuxser
106
Linuxser  
My first post.

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
To add comments, please log in or register