Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Print the current stop order

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

    #16
    It should not expire then, but might not get picked up as you have not tied to any entry name with the emtpy strings provided.

    Comment


      #17
      What would be the standard entry name used as I have not set one I don't think?

      Comment


        #18
        You would need to check in your Enter() method call what you have actually used as name then.

        Comment


          #19
          For the enter method I have used the following:

          EnterLongStop(DefaultQuantity, High[0]);

          The trace for this order is as follows
          30/03/2012 5:00:00 AM Entered internal PlaceOrder() method at 30/03/2012 5:00:00 AM: BarsInProgress=0 Action=Buy OrderType=Stop Quantity=100 LimitPrice=0 StopPrice=1.0404 SignalName='' FromEntrySignal=''

          Comment


            #20
            Yes, then you would not have spec'ed any entry name to use. The stop order placed reflects that in its message, that's the regular trace print you would get for a working order.

            Comment


              #21
              that is the EnterLongStop.
              I am having issues with the ExitLongStop

              Currently I have tried this which doesn't seem to be working. Apologies for the stupidity but I do not know where to find out what name has been used is in the Enter

              ExitLongStop(0,true,DefaultQuantity,Close[0] - (.5*StopDistance ),"FromEntrySignal","");

              Comment


                #22
                No worries, the call from post 15 should correct then, as you do not specify any name to use. Would you mind sending me your script to support at ninjatrader dot com so it could be given a run on our end?

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                601 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                347 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                103 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                559 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                558 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X