NexusFi: Find Your Edge


Home Menu

 





Order Handling to reduce Slippage


Discussion in NinjaTrader

Updated
    1. trending_up 3,533 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 sburtt 
London, UK
 
Experience: Advanced
Platform: NinjaTrader
Trading: EUR/USD
Posts: 58 since Jul 2012
Thanks Given: 3
Thanks Received: 4

Hi Guys,

I was wondering if anybody could advise on how to improve my strategy.

My strategy currently enters long via stop order, however I have an issue with slippage. Slippage is quite unpredictable (ranging between 0 and 2.5 pips on G10 FX), despite I trade FX (liquid market) in small ticket size (Notional of 50-100k). I am trying to think a way to reduce slippage whilst maintaining the use of stop orders (or market orders) to enter a new position.

What i currently do is the following:
 
Code
If(long condition == true) 
   EnterLongStop(1,true, 1, High[0],”long”); // enter long on the break of the high of last bar.
I am wondering if there a way to get the order executed at market if GetCurrentAsk() = High[0] or something similar?

I am curious to know what solutions other have found to reduce slippage when entering via stop order (or market order) once a specific level is triggered

Thanks!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,064 since Dec 2010
Thanks Given: 471
Thanks Received: 789



sburtt View Post
Hi Guys,

I was wondering if anybody could advise on how to improve my strategy.

My strategy currently enters long via stop order, however I have an issue with slippage. Slippage is quite unpredictable (ranging between 0 and 2.5 pips on G10 FX), despite I trade FX (liquid market) in small ticket size (Notional of 50-100k). I am trying to think a way to reduce slippage whilst maintaining the use of stop orders (or market orders) to enter a new position.

What i currently do is the following:
 
Code
If(long condition == true) 
   EnterLongStop(1,true, 1, High[0],”long”); // enter long on the break of the high of last bar.
I am wondering if there a way to get the order executed at market if GetCurrentAsk() = High[0] or something similar?

I am curious to know what solutions other have found to reduce slippage when entering via stop order (or market order) once a specific level is triggered

Thanks!

Hi,
a few things occur to me:

- is it worse when the last bar closes on its high?

- you might want to test out a stoplimit order

- do the profitable trades have more slippage? Might be a sign of a good trade.

- stops are executed according to the broker. With Interactive Brokers the default setting is that the price is attained rather than exceeded. Yours might be different.

- don't you ever get positive slippage?

i.e. I don't think you'll find a way to code for better slippage without altering when your strat wants to place an order.


You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on October 7, 2013


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts