Diagnostic

E3132

`future = true` in a strategy (it would trade on prices it could not have seen).

Kind
ERROR
Raised
While the script is read and checked
Group
Language rules

Message

The part in color is filled in with the details of the problem.

A strategy cannot use future = true: it would trade on prices it could not have seen. Remove it (the default is the last closed bar)

The code is stable; the wording may change. Back to the index.