Diagnostics
P006
`while` is not supported
P006
The language has bounded for loops and no while statement. Express the iteration with a supported range or collection loop.
Failing example
script "example"
data chart = subscribe(data.ohlcv)
on chart.update { while true { } }Corrected example
script "fixed"
data chart = subscribe(data.ohlcv)
on chart.update { for i in 0..3 { let value = i } }