Skip to main content Skip to footer

User can track state of the strategy from setup, processing data, to termination the same way as for indicator. These states can be used for setting up or declaring various resources and properties. To do it user should use function OnStateChanged

protected override void OnStateChanged()
       {
             base.OnStateChanged();
              if (State == ScriptCalculationState.Configured)
              {
                     //Do something
              }
       }

Cookies Notice

We use cookies to improve your experience, personalize content, and analyze our traffic. By clicking "Accept All Cookies," you agree to the storing of cookies on your device. You can manage your cookie preferences at any time by visiting our Cookie Settings.