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.

    BertrandNinjaTrader Customer Service

    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 algospoke, Yesterday, 06:40 PM
          2 responses
          24 views
          0 likes
          Last Post algospoke  
          Started by ghoul, Today, 06:02 PM
          3 responses
          15 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by jeronymite, 04-12-2024, 04:26 PM
          3 responses
          46 views
          0 likes
          Last Post jeronymite  
          Started by Barry Milan, Yesterday, 10:35 PM
          7 responses
          23 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by AttiM, 02-14-2024, 05:20 PM
          10 responses
          181 views
          0 likes
          Last Post jeronymite  
          Working...
          X