RobbParticipant
Average
Hello
I need to highlight the candles based on a certain rule.
See the picture, the best way I found so far is to use the command “drawrectangle” but I am wondering whether there’s a way to get a thinner rectangle too, like the bleu one (added with paint of course).
Unfortunately the command DRAWCANDLE cannot be used in this case since I need to define also different and specific “x” values.
thank you
Regards
The best solution is to plot an arrow above and an arrow below the candle.
If you have v11 you can use STYLE with DrawSegment to plot an almost transparent segment over the candle (not tested):
DRAWSEGMENT(barindex,low,barindex,high) coloured(0,0,255,16) STYLE(line,3)
replace 16 with any number from 1 to 255 (0=invisible) and 3 with another value as large as a candle.