Gets the current UI state managed by this view model.
The current UI state.
Disposes all registered disposables and clears the disposables array.
Alt+L: toggles the comparison layer on or off using the remembered reference line. When no reference has been chosen yet, warns the user and opens the reference picker so they can pick one.
Ctrl+Shift+L: opens the reference picker so the user can choose (or change) the reference line. Returns false and announces why when the feature does not apply in the current context.
True when the picker was opened
Moves the listbox selection up one option, clamped at the top.
Moves the listbox selection down one option, clamped at the bottom.
Sets the listbox selection directly (mouse click on an option).
Confirms the highlighted reference line: remembers it and activates the comparison. Reselecting while active reconfigures the layer in place.
Closes the picker without changing the remembered reference.
ViewModel bridging the candlestick delta service and the reference picker. Owns the Alt+L toggle logic and the Ctrl+Shift+L reference listbox.