How to change the color of a particular candle to particular color ?
chandra100:
You can't change the color of a particular candle. You have to create a custom indicator with DRAW_COLOR_CANDLES style.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.
It seems this is now possible. Example here: https://www.mql5.com/en/code/1349
Change the color of the candles
- www.mql5.com
The indicator that allows modifying color of the candles.
It's an indicator, that uses DRAW_COLOR_CANDLES as Alain already explained 11 years ago.
Please don't reply to old topics without any reason.
Fabio Cavalloni #:
It's an indicator, that uses DRAW_COLOR_CANDLES as Alain already explained 11 years ago.
It's an indicator, that uses DRAW_COLOR_CANDLES as Alain already explained 11 years ago.
Please don't reply to old topics without any reason.
Fabio Cavalloni #:
I totally understand. But it's a useless reply sent 11 years after the correct reply.
He posted a link to a finished indicator to color candles. A finished indicator is a contribution. I totally understand. But it's a useless reply sent 11 years after the correct reply.
How can it even contribute?
The OP might not be active anymore, but this would prevent other people from asking the same question so the bump isn't necessarily a bad thing...
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.