Diagnostic

E-PERIOD-TF

`prior()` / `current()` of a period that is not longer than the chart's own bar (`prior(day)` on a daily or weekly chart).

Kind
ERROR
Raised
While the script runs
Group
Language rules

Message

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

prior({period}) / current({period}) need a chart of bars shorter than a {period}; this chart is {chartPeriod}

Details the message can carry

chartPeriod, period

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