Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to set a trailing stop at 2 ticks below the low of the previous candle

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

    How to set a trailing stop at 2 ticks below the low of the previous candle

    Hi there,

    In the trailing stop section of the wizard, I would like to specify a TS that is 2 ticks below the previous bar.


    Would anyone be able to tell me how to do this?


    Thanks,


    TMNT.

    #2
    Hello,

    Thank you for the question.

    This would be the same process in relation to your other post about Profit Targets located here:



    Variables can be used to store temporary values used in the wizard but they need to be set in one of the Set1-10 areas in order to be used.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi again Jesse,

      So my objective for the trailing stop is a bit easier:


      If long> then trail two ticks below the Low of the current bar


      If Short> then trail two ticks above the High of the current bar




      -----------------------------
      Trailing Stop for long
      So I set a Var3 = Low[0] - 2*Ticksize


      then conversely short will be: High[0]+2*Ticksize (Var2)


      is this correct?








      Originally posted by NinjaTrader_Jesse View Post
      Hello,

      Thank you for the question.

      This would be the same process in relation to your other post about Profit Targets located here:



      Variables can be used to store temporary values used in the wizard but they need to be set in one of the Set1-10 areas in order to be used.

      Please let me know if I may be of additional assistance.

      Comment


        #4
        Hello,

        Yes if you wanted 2 ticks depending on the direction you would add or subtract from your base value.

        A positive amount of ticks from the price would be High[0] + 2 * TickSize or a negative would be High[0] - 2 * TickSize.

        Please let me know if i may be of additional assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rdtdale, Today, 01:02 PM
        0 responses
        1 view
        0 likes
        Last Post rdtdale
        by rdtdale
         
        Started by alifarahani, Today, 09:40 AM
        3 responses
        15 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by RookieTrader, Today, 09:37 AM
        4 responses
        18 views
        0 likes
        Last Post RookieTrader  
        Started by PaulMohn, Today, 12:36 PM
        0 responses
        6 views
        0 likes
        Last Post PaulMohn  
        Started by love2code2trade, 04-17-2024, 01:45 PM
        4 responses
        40 views
        0 likes
        Last Post love2code2trade  
        Working...
        X