MMTMMT Docs
Diagnostics

T010

script declaration missing or misplaced

T010

Every program needs exactly one leading script declaration. Add it first or move the existing declaration to the top.

Failing example

data chart = subscribe(data.ohlcv)

Corrected example

script "fixed"
data chart = subscribe(data.ohlcv)

On this page