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, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Working...
    X