Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why is this trailing stop getting rejected

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

    #16
    do you guys know what trailing stop means.



    it means follow the price with a certail threshold.
    excact price is not trailing stop. exact price is STOP. plus, i did not get the ORDER initiated that i can see in my control center

    Comment


      #17
      Originally posted by junkone View Post
      do you guys know what trailing stop means.



      it means follow the price with a certail threshold.
      excact price is not trailing stop. exact price is STOP. plus, i did not get the ORDER initiated that i can see in my control center
      So you set the trailing stop which follows by certain amount of ticks.
      You told in your previous post that it's working. Where is the problem?

      Comment


        #18
        if you set trail stop by certain price for eg if i want to trail stop by 1 ATR in price, it does not create the trail stop order. that is where the prob is.
        SetTrailStop("buying", CalculationMode.Price,.0005, false);
        does not work.

        Funny. all the stuff in NT docs does not work if you set calculationmode.price

        SetTrailStop()
        Definition
        Generates a trail stop order to exit a position. Trail stops are ammended on a tick by tick basis. Trail stop orders are real working orders (unless simulated is specified in which case the stop order is locally simulated and submitted as market once triggered) submitted immediately to the market upon receiving an execution from an entry order.
        Last edited by junkone; 05-03-2009, 04:16 AM.

        Comment


          #19
          junkone,

          As stated, if you want a trailing stop of a certain tick offset use CalculationMode.Ticks. You are NOT using CalculationMode.Price properly. CalculationMode.Price sets the trailing stop at an EXACT price value. This is the initial stop and after price starts moving up it will trail up from that initial start.
          Josh P.NinjaTrader Customer Service

          Comment


            #20
            This is not very clearly identified as you are stating in the docs.

            additionally pl explain why i dont see the stop order on my command console when i set this statement
            SetTrailStop("buying", CalculationMode.Price,.0005, false);= DOES NOT WORK.

            why did i dnot see the stop order @ .0005?

            Comment


              #21
              junkone,

              In the docs, the expanded definition exists on the SetStopLoss() page. http://www.ninjatrader-support.com/H...ml?SetStopLoss
              Thank you for bringing to light that it does not appear in the SetTrailStop().

              0.0005 is likely not a valid stop price because it is way too far from the currently traded price. That is one reason why you may have not seen it. You will need to use TraceOrders = true in your Initialize() method to fully understand what did/did not occur with your order.
              Josh P.NinjaTrader Customer Service

              Comment


                #22
                frankly, i dont see the trail stop order if i use price. i even tried the following line
                SetTrailStop(entry.FromEntrySignal, CalculationMode.Price,Close[0]-.0005, false);

                i am working on EURUSD. SO 5 pips should be a valid trail stop. i can see my output window getting
                23/04/2009 7:09:17 AM Entered internal SetStopTarget() method: Type=TrailStop FromEntrySignal='' Mode=Price Value=1.3047 Currency=0 Simulated=False
                Close1.3052profits in currency 7.99999999999912


                but it is not seen in the order in the control center. so you have a bug!!!!!

                Comment


                  #23
                  junkone,
                  We will look into it, but for your intents and purposes please use CalculationMode.Ticks.
                  Josh P.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

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