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 Haiasi, 04-25-2024, 06:53 PM
      2 responses
      16 views
      0 likes
      Last Post Massinisa  
      Started by Creamers, Today, 05:32 AM
      0 responses
      4 views
      0 likes
      Last Post Creamers  
      Started by Segwin, 05-07-2018, 02:15 PM
      12 responses
      1,785 views
      0 likes
      Last Post Leafcutter  
      Started by poplagelu, Today, 05:00 AM
      0 responses
      3 views
      0 likes
      Last Post poplagelu  
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,407 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Working...
      X