Diagnostics
P014
`break` and `continue` are not statements
P014
break and continue are not statement forms in bounded loops. Restructure the loop body with conditions.
Failing example
script "example"
data chart = subscribe(data.ohlcv)
on chart.update { for i in 0..2 { break } }Corrected example
script "fixed"
data chart = subscribe(data.ohlcv)
on chart.update { for i in 0..2 { if i == 0 { let value = i } } }