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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X