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 Stanfillirenfro, Today, 07:23 AM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cmtjoancolmenero, Yesterday, 03:58 PM
          2 responses
          21 views
          0 likes
          Last Post cmtjoancolmenero  
          Started by olisav57, Yesterday, 07:39 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by cocoescala, 10-12-2018, 11:02 PM
          7 responses
          944 views
          0 likes
          Last Post Jquiroz1975  
          Started by oviejo, Today, 12:28 AM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X