Diagnostic
W-FUTURE-READ
A read of another timeframe asks for the future (`future = true`) on a value that is not shifted: a warning with the line and the fix; an info note when the check cannot follow the value.
- Kind
- WARNING
- Raised
- While the script is read and checked
- Group
- Language rules
Message
The message has several forms. The parts in color are filled in with the details of the problem.
This read of another timeframe looks ahead (future = true) on a value that is not shifted: on the bars of a day it shows the day's final figure, which the bar did not have{unshifted}, and a strategy would trade on it{strategy}, and an alert would ring on it{alert}Could not tell whether this read looks ahead: it asks for the future (future = true) on a value the check cannot follow{unknown}. The replay found nothing that changed, so what it reads is known at the time{replayed}Details the message can carry
alert, replayed, strategy, unknown, unshifted
The code is stable; the wording may change. Back to the index.