Price figures on lines

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

    Hi PRTC

    I trying to get prices to display on my lies on the left hand side of the page, i can do it using the drawtext function referencing the barindex.

    Is there a way to do this?

    Any help would be appreciated

    Jeff

    #34744

    The X-axis coordinates are in ‘barindex’ format, so we can’t draw something at a fixed point in the price chart like the upper left side of it for instance.

    I made a quick and rough code to continuously draw a text at the same barindex the indicator first met when its code has been read at each tick (4000 bars ago from the current price here). Of course it does not adapt when you are zooming price.

     

    #34749

    Thank you Nicolas your wisdom is appreciated.

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