Download MetaTrader 5

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

To add comments, please log in or register
Balachandran Chandrasekar
44122
Balachandran Chandrasekar  

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
32020
Alain Verleyen  
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