Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Trailing stops not working

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

    Trailing stops not working

    Trailing stops not operating when strategy is enabled on live tape. please advise.

    #2
    Hello hdge4u,

    Thank you for your post.

    I see in the image you shared that you are using SetStopLoss() and SetTrailStop(). The SetStopLoss() method can NOT be used concurrently with the SetTrailStop() or SetParabolicStop() method for the same position, if any methods are called for the same position (fromEntrySignal) the SetStopLoss() will always take precedence. This is seen in the Notes section of the help guide link below.

    SetStopLoss() - https://ninjatrader.com/support/help...etstoploss.htm

    Please let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      made the change. running it, and it's still NOT showing on the Chart Trader.

      Comment


        #4
        i was using currency. it appears trailing stops need to use TICKS. Thanks for the look.

        Comment


          #5
          when using trail stops with ticks WHEN will the stop begin to trail if value is set to 20 ticks?

          Comment


            #6
            Hello hdge4u,

            Thank you for your notes.

            SetTrailStop() with a value of 20 with places the stop loss order 20 ticks from the entry price and will trail for each tick in your favor. For example, if you are long and the price moves 1 tick in your favor, the trailing stop will move up 1 tick.

            See the SetTrailStop() help guide documentation linked below for more information.
            SetTrailStop() - https://ninjatrader.com/support/help...ttrailstop.htm

            Please let us know if we may assist further.
            Brandon H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by arvidvanstaey, Today, 02:19 PM
            4 responses
            11 views
            0 likes
            Last Post arvidvanstaey  
            Started by samish18, 04-17-2024, 08:57 AM
            16 responses
            57 views
            0 likes
            Last Post samish18  
            Started by jordanq2, Today, 03:10 PM
            2 responses
            9 views
            0 likes
            Last Post jordanq2  
            Started by traderqz, Today, 12:06 AM
            10 responses
            18 views
            0 likes
            Last Post traderqz  
            Started by algospoke, 04-17-2024, 06:40 PM
            5 responses
            47 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X