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 Hwop38, 05-04-2026, 07:02 PM
          0 responses
          173 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          328 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          252 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          354 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          181 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X