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