Add support for the existing Session (TOptionType.SESSION) and Sessions Array (TOptionType.SESSIONS_ARRAY) option types in the strategy settings panel, mirroring what is already available in the indicator settings panel when you add the trading sessions indicator.
Current behavior
The strategy API already provides everything needed to build session options:
api.createTOptValue_Session(isEnabled, name, startTime, endTime, color) and api.createTOptValue_SessionsArray(...)
TOptionType.SESSION / TOptionType.SESSIONS_ARRAY accepted by RegOption(...)
Saved and loaded correctly β the strategy settings data layer already parses these types.
However, the strategy settings UI never displays them.
Expected behavior
A strategy that registers SESSION (or SESSIONS_ARRAY) options shows them in the strategy settings panel.
The session editor provides the per-session enable checkbox, start/end time pickers, and color, and writes changes back to the option so isEnabled, startTime, endTime, and color are updated for the strategy.
Why this matters
Trading strategies commonly need user-configurable market sessions (Asian / London / New York) with custom start and end times.
Today the only workaround is a combination of separate BOOLEAN toggles and TIME_ONLY pickers β clunkier, no per-session color, and a worse representation of overnight windows.
Native session options in the strategy panel would match the experience users already have with indicators like the trading sessions indicator.
Acceptance criteria
A strategy registering one or more SESSION options displays them in the strategy settings modal.
Editing times / enable / color in the UI updates the values returned to the strategy (isEnabled, startTime, endTime, color).
SESSIONS_ARRAY (adding/removing custom sessions) also works in the strategy panel.
No change to the existing API surface is required.
Share update with 0 linked conversations as well
In Review
π‘ Feature Request
19 days ago

Anthony Irwin
Get notified by email when there are changes.
In Review
π‘ Feature Request
19 days ago

Anthony Irwin
Get notified by email when there are changes.