I have set DEFPARAM CalculateOnLastBars = 10 in my code.
As an example I would like to do DRAWSEGMENT(BARINDEX – 20, 100, BARINDEX, 100)
This does not render because of the CalculateOnLastBars. Is there any way to draw something on a bar that is further away than what I have set CalculateOnLastBars?
>> Please update your country flag in your profile. Thank you 🙂 <<
Hi Peter, that’s not possible. With a CalculateOnLastBars = 10, the last 10 bars only are loaded into history and therefore you can’t use the other ones displayed on your price chart.
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