MMTMMT Docs
Diagnostics

T215

no overload matches these arguments

T215

No form of this built-in accepts these argument types and names. Compare the call with the signatures shown and adjust it.

Failing example

script "wrong overload"
data chart = subscribe(data.ohlcv)
on chart.update { let text = str.format(1) }

Corrected example

script "fixed"
data chart = subscribe(data.ohlcv)
on chart.update { let value = math.max(1, 2) }

On this page