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.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue