Coloring a portion of a candle
Hi
Can anyone tell me how I can color (or highlight) a portion of the current candle on a chart?
I have code I wrote that checks for a possible run-away candle that is based on a certain number of pips
The code works except I don't know how to draw attention to that specific candle other than a message box.
Any suggestions anyone?
Thanks
Bono L
You can draw a OBJ_RECTANGLE on the specific area.
But creating a separate indicator is a better solution using DRAW_COLOR_CANDLE.
Wow! nice idea with the drawing an object rectangle. But what do you mean by creating a separate indicator using DRAW_COLOUR_CANDLE?
https://www.mql5.com/en/docs/customind/indicators_examples/draw_color_candles
- www.mql5.com
Hi
Can anyone tell me how I can color (or highlight) a portion of the current candle on a chart?
I have code I wrote that checks for a possible run-away candle that is based on a certain number of pips
The code works except I don't know how to draw attention to that specific candle other than a message box.
Any suggestions anyone?
Thanks
Bono L