Drawrectangle around a bar, highlight the candles

Forums ProRealTime English forum ProBuilder support Drawrectangle around a bar, highlight the candles

  • This topic has 2 replies, 2 voices, and was last updated 4 years ago by avatarRobb.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #149108

    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

    #149110

    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):

    replace 16 with any number from 1 to 255 (0=invisible) and 3 with another value as large as a candle.

     

     

    #149493

    thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

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