MMTMMT Docs
Diagnostics

T111

invalid timeframe literal

T111

The timeframe literal is malformed, overflows its representation, or uses an invalid unit. Choose a valid positive timeframe.

Failing example

script "conf"

data chart = subscribe(data.ohlcv, timeframe: 2147483648s)
plot out = plot.line(title: "out")

on chart.update {
  out.plot(chart.close)
}

Corrected example

script "fixed"
data chart = subscribe(data.ohlcv, timeframe: 1m)

On this page