MMTMMT Docs
Diagnostics

L012

fill declaration limit exceeded

L012

The script declares more fills than one script can keep. Remove or consolidate shaded regions.

Failing example

script "example"
// The automated registry check expands this to one excess fill.

Corrected example

script "fixed"
plot lower = plot.line(title: "lower")
plot upper = plot.line(title: "upper")
fill band = fill.between(lower, upper)

On this page