Diagnostics
T101
type mismatch
T101
The expression's actual type conflicts with the type required at this location. Convert, annotate, or change the receiving type named in the diagnostic.
Failing example
script "conf"
data chart = subscribe(data.ohlcv)
on chart.update {
let z = chart.tr
}Corrected example
script "fixed"
data chart = subscribe(data.ohlcv)
on chart.update { let value: float = 1.0 }