SourTrade
Pine Script Rookie
Pine Script Rookie
Posts: 4
Joined: August 13th, 2022

Why "strategy" doesn't draw indicator to the last bar (whereas "indicator" does)?

When I use "strategy", I realize the line doesn't show up on the last bar. However, when I use "indicator", this is not the case (as you can see in the pic). I would like to see the line extended out to the last bar even though there may be an issue with repainting.


Image

Return to “Pine Script Q&A”