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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X