Versions
Currently there are three versions of Pine Script Language. A special
attribute must be used in the first line of a code to switch between
versions //@version=N
where N
is number. Note, that Pine Script
Language versions are incompatible with each other.
Notable changes are documented in Release notes.