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, 05-11-2026, 05:56 AM
    0 responses
    52 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    29 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    194 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    355 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    274 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X