Version 33.1.0
Welcome to Version 33.1.0.
This release adds a 24-hour session for symbols that trade overnight and makes drawing restrictions work in every chart language. The documentation gets a UI map that links each part of the interface to the settings that customize it. In Trading Platform, your Broker API can now release its resources when the widget is removed. The release also extends the indicator overrides types and includes several bug fixes. Let's dive into the highlights.
Key updates
24-hour session for overnight trading
Some stocks also trade overnight, between the post-market close and the next pre-market open. Until now, the session menus offered only regular and extended hours, so the overnight bars could not be displayed.
Add the 24h and night subsessions to the symbol's subsessions, and users can select 24 hours in every session menu.
The library shades the overnight bars and shows the Overnight market status during the night subsession.
"subsessions": [
// ...
{ "id": "24h", "description": "24 hours", "session": "2000-2000:23456" },
{ "id": "night", "description": "Overnight", "session": "2000-0400:23456" },
],
In Trading Platform, the price line can also show the overnight price while the chart displays regular or extended hours.
Provide it in the new ntc quote field.
For the complete setup, see Overnight session.
Drawing restrictions in every chart language
drawings_access identified drawings by the names shown in the UI.
These names are translated, so a list written in English stopped matching once the chart used another language.
Drawings can now be listed by their tool id from SupportedLineTools, such as trend_line or anchored_vwap, which is the same in every language.
drawings_access: {
type: 'black',
tools: [
{ name: 'anchored_vwap' },
],
},
UI names are still accepted, but they only match in the language they are written in.
A UI map that shows how to customize each element
To customize a part of the interface, you need to know which featureset, override, CSS custom property, or widget option controls it, and each of these has its own reference page.
The new UI map shows the chart, its context menus, the Symbol Search and Indicators dialogs, and the Settings tabs of both Advanced Charts and Trading Platform. Click an element to see the featuresets, overrides, CSS custom properties, widget options, and API methods that customize it, each linked to its documentation.

Below the map, the All elements list shows the same links for every element, grouped by the chart, its context menus, and its dialogs. The list and the map stay in sync: picking an element on the map opens its row in the list, and Show on map in a row selects the element on the map.
Broker resources released when the widget is removed
Calling remove on the widget did not tell your Broker API implementation that it was no longer needed.
Quote subscriptions and timers that the implementation had started kept running and kept the removed widget in memory, so memory grew each time you removed the widget and created a new one.
In Trading Platform, implement the new destroy method to release these resources.
The library calls it when it no longer uses the broker, for example after remove.
class MyBroker {
destroy() {
// Unsubscribe from quotes and clear timers
}
}
The broker sample implements the method.
Conclusion
This release also includes important bug fixes: study_count_limit now limits the number of indicators instead of always allowing 210, saving a chart template under a new name no longer asks to replace an existing one, and VWAP with the Session anchor period restarts on every trading day.
For the full list of updates, improvements, and fixes, see the Release notes.