MMTMMT Docs
Diagnostics

T102

operator not defined for operand types

T102

The selected operator has no definition for the operand types. Choose an operator supported by both operands or convert them first.

Failing example

script "example"
data chart = subscribe(data.ohlcv)
on chart.update { let value = "a" - "b" }

Corrected example

script "fixed"
data chart = subscribe(data.ohlcv)
on chart.update { let value = 3 - 2 }

On this page