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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X