Documentation
14. v0.8.9 — Pine strategy fidelity: request.security & overlay plots
- Created
- Jul 11, 2026
- Updated
- Jul 11, 2026
Released 2026-07-11. Pine strategies and indicators now match TradingView more closely: request.security resolves from real market data on every timeframe, and a strategy's overlay plots (avg-entry / take-profit lines) render with the correct symbol, data, and line-break style. Follows v0.8.8.
Fixed
- Strategy backtests now feed
request.securityreal data. The strategy backtester never wired therequest.securitydata seam at all — cross-symbol and lower-timeframe requests silently resolved tona, and no mintick was passed. The backtester now discovers a strategy's security requests, fetches the required series, and injects them before the run. - Same-symbol requests to a non-chart timeframe now fetch that timeframe. Previously a finer timeframe (e.g. a 4h RSI on a 1D chart) silently degraded to the chart series, and a higher timeframe (e.g. 4h on a 1H chart) was resampled from the chart's own bars — surfacing a just-closed higher-timeframe bar one chart-bar late. Both made strategies like an RSI-DCA diverge from TradingView. The host now fetches the real series for any non-chart same-symbol timeframe and injects it, and piner resolves it close-time aligned.
- Strategy overlay plots break at
nagaps like TradingView. A Pine line plot withnagaps (e.g. a strategy's avg-entry line that'snabetween trades) rendered as long diagonals bridging the gaps, because lightweight-charts draws straight across whitespace. A new line primitive lifts the pen at each gap, drawing discrete segments exactly like TradingView's line-break style, while the host series keeps the price scale, crosshair value, and last-value label working. Plot line width is now honored too. - Overlay plots on a futures symbol fetch the futures endpoint. The indicator-path security fetcher wasn't threaded the asset class, so a futures symbol resolved against the spot endpoint and came back empty. The asset class is now threaded through.
- A strategy's self
request.security(syminfo.tickerid)sees the real symbol. The indicator compute context received an empty symbol, so a self-referential higher-timeframe request degraded to the chart timeframe instead of fetching its own HTF data. The chart symbol is now threaded into the context.
Changed
- Bumps piner to v0.8.0, which adds same-symbol injected-timeframe resolution (
computeInjectedSameSymbol).
Next steps
Back to the release list.
Next: Release Notes