/pine-script-docs/en/v4/essential/Indicator_repainting.html/
https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting