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 DJ888, Today, 10:57 PM
      0 responses
      6 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Today, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Working...
      X