Track unsaved changes in the Pine Editor

Dec 29, 2023

The Pine Editor now identifies changes you make to a previously saved script.

A green bar identifies new lines:

A dotted blue bar marks changes to existing lines:

A red triangle indicates deletions:

Clicking on a mark identifying an addition, change or deletion opens a diff window from where you can revert the change:

You can also scroll across the diff window:

The display of unsaved changes is active by default. You can turn it off in the Editor’s settings by unchecking the “Diff decorations” checkbox.

To stay up to date on new Pine Script® features, keep an eye on the User Manual’s Release notes. The PineCoders account also broadcasts updates from its Squawk Box on Telegram, its Twitter account, and from the Pine Script® Q&A public chat on TradingView.

We hope you find this highly-requested feature as useful as we think it’ll be, and please do keep sending us your feedback and suggestions so we can make the platform the best it can be. We build TradingView for you, and we’re always keen to hear your thoughts.

— Team TradingView

Look first Then leap

TradingView is built for you, so make sure you're getting the most of our awesome features
Launch Chart