
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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