FlowscopeDocs

T010

script header missing or misplaced

Severity Error

Every Flowscope Script file must start with exactly one script "Name" line, before any declaration. Only blank lines and comments may come before it. The header gives the script its default title in the indicator list and in the Strategy Tester.

Add the header as the first line, or move the existing one to the top and remove duplicates.

Failing example

Flowscope Script
data chart = subscribe(data.ohlcv)
script "Typical price"
plot tp = plot.line(title: "Typical price")
on chart.close {
  tp.plot((chart.high + chart.low + chart.close) / 3.0)
}

Fixed example

Flowscope Script
script "Typical price"
data chart = subscribe(data.ohlcv)
plot tp = plot.line(title: "Typical price")
on chart.close {
  tp.plot((chart.high + chart.low + chart.close) / 3.0)
}