Skip to main content

Do I need a //@version=6 line at the top of my script?

No. The version line is accepted so that scripts copied from elsewhere work unchanged, but it is optional and does not change how your script behaves.