Version
v3
v4

Pine Script language reference manual