I am trying to code the last price of an indicator as a horizontal line, visually similar to a bid ask. Ideally the length of the line would be truncated.
What do you call exactly the “last price of an indicator”? Do you only want to draw the last value of the indicator? Maybe an example would make it brighter to me 🙂 Thank you.
Nothing can be drawn at the right side of the chart “only”. But we can draw an horizontal line that will cross the entire chart like in the example attached (5 periods moving average current value), but it is only for new version 10.3.
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