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 RookieTrader, Today, 09:37 AM
            3 responses
            15 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by kulwinder73, Today, 10:31 AM
            0 responses
            7 views
            0 likes
            Last Post kulwinder73  
            Started by terofs, Yesterday, 04:18 PM
            1 response
            24 views
            0 likes
            Last Post terofs
            by terofs
             
            Started by CommonWhale, Today, 09:55 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Gerik, Today, 09:40 AM
            2 responses
            8 views
            0 likes
            Last Post Gerik
            by Gerik
             
            Working...
            X