Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy, Enabled = true

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

    Strategy, Enabled = true

    Hello,

    to not manually activate a strategy in NinjaTrader 7, can i add this text to the strategy code:

    Enabled = true;

    How to do this for Ninjatrader 8, I do not get anywhere.

    Thanks a lot​
    Attached Files

    #2
    Hello daxtrader,

    Thank you for your post.

    Setting the Enabled property to true programmatically from within the script was not supported or documented for NinjaTrader 7. I believe it was only meant to be used by toggling Enabled between true/false in the Strategy dialog UI window. Within NinjaTrader 8, there are no documented or supported ways to auto-enable a script and the Enabled property was not directly carried over from NinjaTrader 7.

    That said, we do have an open feature request tracking interest in such a property or a documented way to auto-enable a script. I have added your vote to SFT-392. Please reference this internal tracking number when contacting Platform Support if you have questions about this feature request.

    When a feature request is implemented, you'll find a description of the new feature in the release notes:​Thank you for using NinjaTrader.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    476 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    317 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    254 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    306 views
    0 likes
    Last Post CarlTrading  
    Working...
    X