Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to fade an entry by a few tics?

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

    How to fade an entry by a few tics?

    I currently have a strategy that enters a position based on the bar closing above a level.

    I am wanting to wait for the closing price, and fade that level by a number of tics.

    I have tried the following in place of the normal entry:

    EnterLongLimit(DefaultQuantity, Fade, "Long Entry");

    Where fade is a user input INT set to the number of ticks. But this doesn't work as I think that portion of the order is expecting a DOUBLE value of the actual price I want to enter at?

    #2
    forrestang,

    Please clarify what you mean by "fade". Thank you.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      forrestang,

      Please clarify what you mean by "fade". Thank you.
      Thanks Josh.

      Using ES(mini SP) for example:

      Let's say price closes above a level I have. And let's say the closing price of that bar is 1030.00.

      I have just been using an entry like this which executes like a market order:

      Code:
      EnterLong(DefaultQuantity, "Long Entry");
      So the entry might wind up being 1030.00 or close to it.

      BUt I want to take that closing price of 1030.00, and subtract say 2 ticks, and enter on a limit of 1029.50.

      Is this possible?

      Comment


        #4
        forrestang,

        Possible and very easy to do. Please try this:

        EnterLongLimit(DefaultQuantity, Close[0] - 2 * TickSize, "Long Entry");

        The 2 can be your Fade variable.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Josh View Post
          forrestang,

          Possible and very easy to do. Please try this:

          EnterLongLimit(DefaultQuantity, Close[0] - 2 * TickSize, "Long Entry");

          The 2 can be your Fade variable.
          Thank you so much!! This worked perfectly!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          63 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          35 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          54 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          61 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          48 views
          0 likes
          Last Post CarlTrading  
          Working...
          X