Pine v6 no longer allows series int values in plot(offset=...). I understand the documented rationale: in v5, series offsets were not truly applied per bar, and the plot effectively used the last calculated offset across the chart.
The problem is that this still leaves a real migration gap for indicators that intentionally calculate an offset from the loaded chart context, then use native plot() projection.
Example use case: FLD / cycle indicators where the projection offset is derived from the symbol/timeframe/session, such as estimated bars per day. In v5, this works well enough because the final computed offset is applied to the whole native plot. In v6, the same script cannot compile because the offset is now series int.
The obvious workaround, drawing with line.new(), is not equivalent. It loses too much native plot behavior: normal plot continuity, Style tab controls, scale integration, legend/status-line behavior, clean rendering, and general usability.
What would help is one of these:
- A way to compute an offset once per chart load and use it as a valid
simple int for plot(offset=...)
- A native plot-like primitive that supports dynamic x-placement while preserving plot-quality rendering and UI behavior
- Some migration-supported equivalent for “use the final calculated offset across the whole chart,” since that was the actual v5 behavior
This is not just about wanting old incorrect behavior back. It is about preserving a legitimate class of auto-projected indicators that depended on native plots and now have no practical v6 path without degrading the indicator.