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 NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X