I have often found that placing DRAW elements a set distance away from the candle to be difficult to manage, as the ATR*n even when small, can make a huge difference due to the differing volatilities/price-levels on various instruments.
Goodness knows why, but I found that in the DRAWTEXT element, the HTML code ‘ <br> ‘ works.
The effect is that the vertical centre is where the relative position is set, so that the code for example
IF Flag[1]=1 AND Flag=0 THEN
DRAWTEXT("§<br>.<br>.", barindex, high)
ENDIF
keeps the text ‘ § ‘ at a reasonably relative position to the candle.
I mention this a I haven’t seen it mentioned elsewhere, and may be of some use to others?
You can also use an average of the past N bars’ range as an offset:
Offset = average[200,0](range)
IF Flag[1]=1 AND Flag=0 THEN
DRAWTEXT("§", barindex, high + Offset)
ENDIF