Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

State changes for inactive strategies when I click "Strategies .."

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    State changes for inactive strategies when I click "Strategies .."

    Hello everyone!

    I came across a strange event.
    I open the chart, right-click on the chart, select "Strategies .." and before I select any strategy, I see that the strategies are changing states, such as DataLoaded, Terminated.

    Why is this happening?

    #2
    Hello webus,

    Thanks for your post.

    Thus is the NinjaScript lifecycle. Scripts will be cloned and pass various states when listing in the Strategies/Indicators dialog, when default values are added to the property grid, and then the script will pass into State.DataLoaded, State.Historical, and then State.Realtime.

    LifeCycle: https://ninjatrader.com/support/help...fecycle_of.htm

    OnStateChange (NinjaScript states) - https://ninjatrader.com/support/help...tatechange.htm

    We look forward to assisting.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    163 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    82 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    125 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    184 views
    0 likes
    Last Post CarlTrading  
    Working...
    X