Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ExitOnClose and Slippage

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

    ExitOnClose and Slippage

    Hi!

    I think that ExitOnClose (NT7) orders don´t apply the slippage I set in the strategy analyzer... this is terrible, since half of the trades exit on close. Is this true? Can I expect to have the same price in real time? How do you calculate the exit price in ExitOnClose backtesting?

    Thanks.

    #2
    Hello,
    ExitOnClose submits a market order to close the position this means that when you are backtesting it will fill the order based around what the strategy analyzer would have as the market price. If you are wanting to have slippage applied you would need to disable ExitOnClose and use logic to close your order using your own order submission logic. You could achieve this by using a time filter. You can view a reference sample on time filters at the following link: http://ninjatrader.com/support/forum...ead.php?t=3226
    If we can be of any other assistance please let us know.
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      As you say... "ExitOnClose submits a market order". If I optimize a strategy with 2 ticks of slippage for market orders, I can´t understand why you don´t apply this slippage to ExitOnClose orders!

      Now I have 30 optimized strategies with false statistics, and I have to modify the code and optimize again all the portfolio... :-(

      P.D.: This afternoon in the strategies development meeting of our firm, the MultiCharts department were laughing about us... O_o

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by LawrenHom, Today, 10:45 PM
      0 responses
      2 views
      0 likes
      Last Post LawrenHom  
      Started by love2code2trade, Yesterday, 01:45 PM
      4 responses
      28 views
      0 likes
      Last Post love2code2trade  
      Started by funk10101, Today, 09:43 PM
      0 responses
      7 views
      0 likes
      Last Post funk10101  
      Started by pkefal, 04-11-2024, 07:39 AM
      11 responses
      37 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Yesterday, 08:51 AM
      8 responses
      44 views
      0 likes
      Last Post bill2023  
      Working...
      X