Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automation issue with TD

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

    #16
    Success! I added marketposition logic to the instruments and set the *simulated* parameter to false on the setstoploss(). I think the latter was causing more issues than anything, and it was not my intention to *hold* this order in the first place. When running live, it barely created any output (which is good) and when the buy hit, the order was created and then it created the limit and stop orders. I watched them go right into TD. Then when the strategy hit its .5% profit, the limit order fired in TD, cancelled the stop and updated Ninja immediatelly. Great and Fast!

    Looks like I'm in business!

    Comment


      #17
      Glad you got it resolved.
      Josh P.NinjaTrader Customer Service

      Comment


        #18
        A follow up. I have so many strategies I find that I sometimes miskey a param value in the strategy popup. Is there a way to compile all these into the strategy so I don't have to retype them?

        Comment


          #19
          What parameters are you talking about here. You can set user defined parameters' defaults in the Variables section of the code. The strategy parameters you can set are these: http://www.ninjatrader-support.com/v...06&postcount=5
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          44 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          135 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          189 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          99 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          141 views
          0 likes
          Last Post cmoran13  
          Working...
          X