I would like to perform some actions only when the strategy is enabled (e.g. sound alerts, I would like not to generate sounds as the strategy is loading, or when it's in the strategy analyzer.
How can I determine that the strategy is enabled? I can already determine it is live realtime by checking for State.Realtime in OnStateChange().
Ideally I would check that the strategy is both calculating realtime and enabled.
Many Thanks, Caesar.

Comment