Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enable/Disable from code

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

    Enable/Disable from code

    is it possible to Enable from code?

    my code does a flatten on condition, which disables strat, and I would like to have it enable on condition

    of course how can it enable it the code is not running...duh?

    this is why I posted a thread re flatten vs closeposition

    #2
    Unfortunately there is no strategy code being processed once the strategy is disabled. As such, there is no reenabling via code.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      Unfortunately there is no strategy code being processed once the strategy is disabled. As such, there is no reenabling via code.
      Have you guys thought about making a kind of Macros manager or just a whole application manager classs that can control other windows of NT?
      For example , it can start strategies , open and fill a new market analizer, etc.
      All done from the code. This will allow us to write a very nice automation stuff.

      Basically, NT can become like a trading OS with utilising scripts as a higher level program control blocks.

      Get bigger , guys

      Comment


        #4
        To put things into right perspective:
        - this is the (non-public) beta phase for NT7
        - our focus is getting existing feature set stable
        - thus, we will reject most if not all feature requests for now
        - suggestions are noted for future considerations though

        Comment


          #5
          Originally posted by NinjaTrader_Dierk View Post
          To put things into right perspective:
          - this is the (non-public) beta phase for NT7
          - our focus is getting existing feature set stable
          - thus, we will reject most if not all feature requests for now
          - suggestions are noted for future considerations though
          Hi Dierk,

          You are right, lets first finish NT 7.
          Surely, it was just a suggestion.
          Sorry for offtopic.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          421 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          279 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          238 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          324 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          288 views
          0 likes
          Last Post CarlTrading  
          Working...
          X