As far as I know, you can't change the main candles programmatically.
What you can do is to draw additional objects (via ObjectCreate()) on top of the candles, or draw fancy charts in a separate indicator window.
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
Hi,
I am new to metatrader MQL but have heavy experience in programming.
I am trying to change the color of a candlestick bar based off an indicator.
For instance if stochastics or RSI is greater then 80 then i want the candlestick bar for that tick to be blue
if it is less then 20 i want the candlestick bar for the tick to be yellow
if it is between 80 and 20 i want it to be white.
Can someone help me out with this or point me to the right direction.
Any help is appreciated.
Thanks in advance.