MMTMMT Docs
Diagnostics

P007

template strings are not supported

P007

${...} interpolation inside a string is unsupported. Build text with str.format or concatenation.

Failing example

script "example"
setup text = "price ${close}"

Corrected example

script "fixed"
data chart = subscribe(data.ohlcv)
on chart.update { let text = str.format("price {}", chart.close) }

On this page