Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MACrossOver using EntryLimit Orders, Targets and Stops

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

    #16
    kenb2004,

    There are many ways to skin this cat. Most simple location is OnBarUpdate(). OnOrderUpdate() would work too.
    Josh P.NinjaTrader Customer Service

    Comment


      #17
      OK thanks, simple is good. If it's possible, maybe you could do a sample so we could see how you would skin this cat.
      Thanks again.

      Comment


        #18
        Oh, by the way, what is the purpose for confirming the cancellation to the target and stop orders (post #12) when managed internal order handling already does this and ignores the entries if they are not cancelled properly? Isn't this redundant?

        Comment


          #19
          kenb2004,

          Thank you for the suggestion. The purpose of waiting for confirmation is that it is possible to get your entry order rejected due to the internal order handling rules if you do not wait for it. It is possible that the prior orders were still in place when the code reaches your entry order and that causes problems.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          60 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          148 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          97 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          284 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X