Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trailing stop moves with each bar

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

    Trailing stop moves with each bar

    Hi people, i would like to ask the following question.

    Based on the trailing stop model of the system that you offer called "Trail Builder Example", what kind of conditions should I introduce so that the trailing stop moves by always placing below/above the open of the last bar instead of moving at a fixed distance from the price?

    #2
    Hello Carlos19,

    Instead of setting the stop price to (Close[0] + (TrailStopDistance * TickSize)), set the stop price to Open[1] in a condition that ensures CurrentBar is greater than 1.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I have done is, but the only thing I have achieved is that the stop is placed at the open of the bar prior to the entry bar and remains there static until the price touches it. I must have misunderstood. Could you provide me with an example to see where I am going wrong?

      Thank you very much.

      Comment


        #4
        Hello Carlos19,

        Attached is a screenshot.
        Click image for larger version

Name:	2023-01-30_9-55-10.png
Views:	104
Size:	25.3 KB
ID:	1233298
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        79 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        63 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X