Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trailing Stop not working via Strategy Wizard

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

    Trailing Stop not working via Strategy Wizard

    Hi, hope this is in the correct place. I am trying to get a trailing stop working via the strategy wizard but it will not work. Any ideas or tips

    #2
    Welcome to our forums Sorap - can you please share us with which exact settings you have it setup? If you wanted to trail by percent, please keep in mind 0.01 would mean 1 percent.

    Comment


      #3
      Thanks for reply,

      I'm trying to do a simple tick offset from the current price.

      Comment


        #4
        So you run this with CalculationMode.Ticks and your offset entered as tick value?

        Comment


          #5
          So I would like to have the stop follow the price up for instance so I have set Mode to Price and entering a tick value that I'd expect it to be offset by.

          Comment


            #6
            Price mode would not be useful for a trailing stop, as it's need to have a relative basis and not an absolute one to trail - best is then using the tick mode with the offset entered. It would act like a static stop until triggered by price action to trail.

            Comment


              #7
              I am completely confused. How do I achieve this: If I enter a buy trade at $1 with a stop at 80 cents when the price goes to $1.30 I would like the stop to now be at $1.10.

              Comment


                #8
                You would need to set this up with the trail stop tick amount of 20 ticks then, which is then always behind your highest point in profit in the trade.

                Comment


                  #9
                  Ok, cool, that makes sense, thanks a lot for the super prompt help, much appreciated.

                  Regards

                  Comment


                    #10
                    CalculationMode.Percent not working

                    I can get the TS to work with a mode of Ticks and an amount, but I can't get it to work with Percent...
                    For example:
                    SetTrailStop("", CalculationMode.Percent, 4, false);

                    With that I get the following error in the log:
                    Calculated trail stop price for strategy 'crossTS2/...581' was smaller/equal 0. No trail stop order placed.

                    Comment


                      #11
                      For a trail stop of 4 percent, please try using 0.04 as value input (and not 4).

                      Comment


                        #12
                        Setting for trailing stop

                        I have just started trying out writing some strategy, and is running into some trouble with trailing stop. I have tried both tick & percent, and tried both True & false, but it is apparently not functioning. I use some very obvious setting, like 5 ticks, 1% (0.01) for percent. Any idea where it could have been wrong?

                        Comment


                          #13
                          Tarry, welcome to our forums - which entry signal name have you tied the stop to? Could there be a type that would lead to getting this stop just ignored? Do you see the same behavior if you implement a regular stop loss with your logic?

                          Comment


                            #14
                            Thanks for your prompt reply.
                            Let me try to elaborate what I wanted to achieve. Say after I enter a long position, the price rise. I want to let my position to grow as price continue its rise; and if the price stop rising, and reverse by a fixed %, I would like to stop out. In the strategy analyser, I have tried use some value (like 1%, 5 ticks) that should sure trigger the stop for my initial trial, but it didn't trigger at all, which is very puzzling. I have been doing this while I trade stocks, so I feel it is logical. Hope to get some insight from you.

                            Comment


                              #15
                              It is for sure logical Tarry, my remark was more technical, as a stop could be ignored in NT's managed approach as well. How did you name your entry signal and to which entry signal name (FromEntrySignal) would your trailing stop 'listen' then?

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              22 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              19 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              14 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              10 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              41 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X