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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    71 views
    0 likes
    Last Post PaulMohn  
    Working...
    X