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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    70 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    143 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    76 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    47 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    51 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X