Drawtext useful LineBreak?

Forums ProRealTime English forum ProBuilder support Drawtext useful LineBreak?

Viewing 2 posts - 1 through 2 (of 2 total)
  • #212567

    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

    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?

    2 users thanked author for this post.
    #212571

    You can also use an average of the past N bars’ range as an offset:

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login