Version 5.20.5

Prev Next


Release date: Oct 30, 2026


Improvements

  • Added expansion area for projections to indicators:

    The expansion area is the chart space beyond the last real candle, where indicators draw future projections using fake (unfilled) candles that transition to real candles as new market data arrives. Its purpose is to allow indicators to display plots, lines, bubbles, and other visual elements in the future area, with calculations accounting for both real and fake candles.

  • Added extended hour settings to candle projection calculation:

    Future projections for the candle timescale take into account extended hours settings. If extended hours are on, the next calculated future candle is placed at the post session start time. If extended hours are off, the next future candle will be placed at the regular session start time.

  • Added a config and API to intercept clicks on drawing settings (gear) on mobile:

    Previously, hosts could neither enable the drawings settings gear on mobile nor intercept its click to replace the built-in settings popup with their own UI. A config was added to show the gear on mobile with a callback allowing hosts to handle the click and explicitly suppress the built-in popup, while preserving existing defaults and drawing-type exclusions.

  • Improved the behavior of the indicator legend visibility button:
    The eye button hid or showed all study plots indiscriminately, and the visibility state of individual plots was not preserved. The behavior was improved to restore only the plots that were visible before the button was used to hide them.

  • Added the “varip” functionality:
    The data stored in context.state was lost on subsequent updates to the current candle, as the state was cloned from the previous tick. Now, data can be persisted across consecutive updates of the same candle, similar to “varip” functionality.

  • Added a config for prepending new candles during lazy loading:

    The requestHistoryData callback was triggered only after all chart interactions had finished, causing a noticeable delay when users scrolled to the last available candle. Now, additional data is loaded as soon as the last candle enters the viewport, while retaining appropriate debouncing to prevent excessive requests during continuous chart navigation.

  • Added Q&As to the developer documentation:

    Now, the Q&A section contains answers to over 450 technical questions.

Fixes

  • Fixed an issue where P&L was calculated incorrectly for short sell positions:

    P&L for short sell positions showed a positive value when the market moved against the open positions.

  • Fixed an issue where nodes of some drawings shifted when editing:

    Nodes (control points) of drawings such as ovals and arcs sometimes shifted to incorrect positions when selecting or editing them. Now, drawing nodes remain aligned with their corresponding drawing coordinates and are displayed in the correct positions during editing.

  • Fixed an issue where symbols added to Compare had different events than the main symbol:

    Historical data requests for symbols in Compare behaved inconsistently with requests for the main symbol, resulting in different event sequences and potential data display inaccuracies. Now, requests for Compare symbols are distinguished from those for the main instrument and are handled properly, including in Multi chart.

  • Fixed an issue with drawing settings display inconsistencies in adaptive mode:

    Drawing settings popup displayed incorrectly in adaptive mode. Now, drawing settings are displayed correctly, including coordinates and calendar.

  • Fixed an issue where the Compare menu could not be overriden by uiOverrides:

    The Compare context menu (opened by right-clicking a comparison series) was tied to the Data series context menu. Now, it can be customized independently through uiOverrides.