Hishal Vallabh :
In my ea, i need to color a specific candle should it meet certain criteria. I have basic understanding of mql5.
I have written the following and feel like i'm either not understanding something here or making a mistake.
In the OnTick() section...
To color candles - you must use an indicator, not an advisor.
Hishal Vallabh # :
ok. thought as much. thanks
ok. thought as much. thanks
I recommend using the DRAW_COLOR_CANDLES style.
Documentation on MQL5: Custom Indicators / Indicator Styles in Examples / DRAW_COLOR_CANDLES
- www.mql5.com
DRAW_COLOR_CANDLES - Indicator Styles in Examples - Custom Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Appreciate the link to the docs. Will read through it. Thank you
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
In my ea, i need to color a specific candle should it meet certain criteria. I have basic understanding of mql5.
I have written the following and feel like i'm either not understanding something here or making a mistake.
In the OnTick() section...