Download MetaTrader 5

How to change the color of a particular candle to particular color ?

To add comments, please log in or register
KoT 009
44108
KoT 009 2013.09.29 12:41 

I use candlestick chart, with red for bearish candle and Green for bullish candle. 

i know how to detect pin bar and other patterns programatically. 

How to change programatically the color for pin bar candle ,  hammer  etc...  to specific colors.

Alain Verleyen
Moderator
31085
Alain Verleyen 2013.09.29 13:12  
chandra100:

I use candlestick chart, with red for bearish candle and Green for bullish candle. 

i know how to detect pin bar and other patterns programatically. 

How to change programatically the color for pin bar candle ,  hammer  etc...  to specific colors.

You can't change the color of a particular candle. You have to create a custom indicator with DRAW_COLOR_CANDLES style.
To add comments, please log in or register