Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Set trailing stop floor amount?

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

    Set trailing stop floor amount?

    Is there an easy way to wait until I have a trade profit of a certain "floor" amount and then set a % trailing stop. For instance, in a strategy, can I monitor the trade P&L and when it gets to an unrealized profit of $100 then SetTrailStop.

    In TradeStation, when you set a % Trailing Stop, you also set a % Trailing Floor Amount to specify a level where the % trailing stop becomes active. How can I do this in NT?

    Thanks.

    #2
    higler, there's unfortunately no floor amount input for this in NinjaTrader, but for example you can set it to trial by 10 ticks, it would then be activated at this profit and trail by this amount from that point onward.

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      higler, there's unfortunately no floor amount input for this in NinjaTrader, but for example you can set it to trial by 10 ticks, it would then be activated at this profit and trail by this amount from that point onward.

      http://www.ninjatrader-support.com/H...TrailStop.html
      Quote From the NT 6.5 Help: "Should you call this method to dynamically change the trail stop price in the strategy OnBarUpdate() method, you should always reset the trail stop price/offset value when your strategy is flat otherwise, the last price/offset value set will be used to generate your trail stop order on your next open position "

      How do I reset the trail stop price/offset value as mentioned above? Do I assign it a value of zero or is there a "Reset" method or something else?

      Thanks.

      Comment


        #4
        You reset it to the base value you want it to take for the next trade. Please see this reference sample: http://www.ninjatrader-support2.com/...ead.php?t=3222
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Josh View Post
          You reset it to the base value you want it to take for the next trade. Please see this reference sample: http://www.ninjatrader-support2.com/...ead.php?t=3222
          Thank you. I think I understand now.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          50 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X