Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

rsagi

NinjaTrader Stop Loss Bug - You May Looose $$$$

Recommended Posts

Hi All,

 

I'm using NinjaTrader 6.5.10008 (latest)

 

and I'm doing trade management using two target points and trailing the second target while using a stop loss that comes to break even+1 tick.

 

I ran into two issues today @ the FOMC day trading the ES:

 

1. I scalped the first few times in the heavy spikes of 2:22pm after the FOMC announcement and all was good (made money) - then a few times my target was hit (you hear the women voice ":target hit) so automatically I'm @ breakeven+1 tick - but then suddenly I see I lost $$$ !!! (this doesn't make sense - I went from +$720 to $120 and then -$120 -this problem occurred several times.

 

2. After the target was hit - there were some open orders - but I couldn't cancel them - so I figured they weren't active and disconnected from broker and connected again - and the problem was solved.

 

Needless to say I am angry with this problem - any1 else experience same thing?

:angry:

Share this post


Link to post
Share on other sites

Maybe you got slippage on the stop? Price can jump a bit round fomc. Don't stops need to be sent as stop limit to reside locally on Globex? Can't remember off the top of my head but I think that's correct.

Share this post


Link to post
Share on other sites

Hi Blowfish,

 

Well, I thought the do reside on the exchange - thats the whole idea of the stop isn't it... :)

 

If that is the case (slippage) that cannot be protected then I'll never trade FOMC days again.

 

Thanks fort he reply.

Steve

Share this post


Link to post
Share on other sites

price needs to trade through your target not just to it i had the same issue when i first started using auto break even so have it move to BE at 7 ticks instead of 2 pts or what ever your number. also you will get slippage during FOMC days if your not prepared for that better to sit those days out.

Share this post


Link to post
Share on other sites
Hi Blowfish,

 

Well, I thought the do reside on the exchange - thats the whole idea of the stop isn't it... :)

 

If that is the case (slippage) that cannot be protected then I'll never trade FOMC days again.

 

Thanks fort he reply.

Steve

 

No, it varies exchange to exchange you need to check with your broker to be sure. From memory and unless its changed a stop will be held at your brokers or client platform, not on Globex. Eurex is the other way round. Over time exchanges are adding more order types but it used to be quite sobering to see how few are handled natively.

 

You would probably be surprised to find some exchanges don't even support market orders, they are converted to limit orders with wide limits :).

 

Believe what you please but I would check personally :)

 

Edit: OK I checked for you (senility makes you question yourself sometimes) Globex does not support stops or market orders nativey, so there you go. (guess I should have trusted my memory)

Edited by BlowFish

Share this post


Link to post
Share on other sites
No, it varies exchange to exchange you need to check with your broker to be sure. From memory and unless its changed a stop will be held at your brokers or client platform, not on Globex. Eurex is the other way round. Over time exchanges are adding more order types but it used to be quite sobering to see how few are handled natively.

 

You would probably be surprised to find some exchanges don't even support market orders, they are converted to limit orders with wide limits :).

 

Believe what you please but I would check personally :)

 

Edit: OK I checked for you (senility makes you question yourself sometimes) Globex does not support stops or market orders nativey, so there you go. (guess I should have trusted my memory)

 

Globex supports "Stops with protection" & "Market orders with protection"

 

Stop orders at CME Group are implemented using a “Stop with Protection” approach. Unlike a conventional Stop order, where customers

are at risk of having their orders filled at extreme prices, Stop with Protection orders are filled within a predefined range of prices (the protected range). A Stop with Protection order is triggered when the designated price is traded on the market. The order then enters the order book as a Limit order with the limit price equal to the trigger price, plus or minus the predefined protected range.

 

Market orders at CME Group are implemented using a “Market with Protection” approach. Unlike a conventional Market order, where customers are at risk of having their orders filled at extreme prices, Market with Protection orders are filled within a predefined range of prices (the protected range)

 

http://www.cmegroup.com/globex/files/GlobexRefGd.pdf

Share this post


Link to post
Share on other sites

If you are using an ATM strategy in Ninja Trader it sets a Stop Limit order as folows: it places the stop side of the order at the price you asked for-in this case breakeven+1...it places the limit side of the order 20 ticks away in this case breakeven-19. This essentially makes this a market order that can be filled anywhere from your price to your price minus 20 ticks. In a fast moving market this can be disastrous, as you found out.

 

I have complained about this major flaw in NT for sometime and Ray has posted(in another forum) that this will be corrected in NT7. (it is important to remember that is the way NT handles ATM generated Stop/Limit orders on Globex, as some other exchanges do not allow Stop/Limit orders at all)

 

This only applies to a Stop/Limit generated by an ATM strategy, if you manually enter a Stop/Limit order you can select the offset you want in the preference window on the DOM.

Share this post


Link to post
Share on other sites

There are only really two options use a stop with no limit (or a wide limit on exchanges that don't natively support stop market) Then you risk slippage. Or use a stop with equal or tight limit and risk not being filled at all. Most people would prefer to be filled when there stops are hit unless perhaps stopping in to a position. There is no other way sadly. Knowing how your broker and the exchange handles various order types where they reside how they are elected etc. is pretty crucial imho.

Share this post


Link to post
Share on other sites

Ive been trading the ninja platform for a year using amp, I use stop market orders and have rarlely gotten any slippage occasionally i got a couple ticks. The biggest problems ive heard of from peolpe is usually that they get stoppped when placing orders if they're using a tight stop when theres a spike in activity and the screen freezes do to insufficiant computer.

Share this post


Link to post
Share on other sites
If you are using an ATM strategy in Ninja Trader it sets a Stop Limit order as folows: it places the stop side of the order at the price you asked for-in this case breakeven+1...it places the limit side of the order 20 ticks away in this case breakeven-19. This essentially makes this a market order that can be filled anywhere from your price to your price minus 20 ticks. In a fast moving market this can be disastrous, as you found out.

 

I have complained about this major flaw in NT for sometime and Ray has posted(in another forum) that this will be corrected in NT7. (it is important to remember that is the way NT handles ATM generated Stop/Limit orders on Globex, as some other exchanges do not allow Stop/Limit orders at all)

 

This only applies to a Stop/Limit generated by an ATM strategy, if you manually enter a Stop/Limit order you can select the offset you want in the preference window on the DOM.

 

Not only hasn't this bug been fixed, The other forum banned me and deleted the threads regarding this issue.

Share this post


Link to post
Share on other sites
Not only hasn't this bug been fixed, The other forum banned me and deleted the threads regarding this issue.

 

Thanks BeyondMP for enlightening us on this issue. I have been testing several such ATM strategies on NT with stop limit orders using various futures (crude, yen, euro, etc) to be executed at fast moving news times. They have worked out pretty well on SIM. I gather I shouldn't get my hopes up when it comes to live trading though, correct?

Share this post


Link to post
Share on other sites
Thanks BeyondMP for enlightening us on this issue. I have been testing several such ATM strategies on NT with stop limit orders using various futures (crude, yen, euro, etc) to be executed at fast moving news times. They have worked out pretty well on SIM. I gather I shouldn't get my hopes up when it comes to live trading though, correct?

 

This major flaw imposes a mandatory 20 tick offset for all Stop Limit orders submitted thru an ATM. Consequently, if your profit target is less than 20 ticks away from entry, it is possible for a winner to turn into a loser in highly volatile and thinly traded market.

 

This flaw has the effect of turning those Stop Limit orders into market orders. In normal trading this can cause the trader to lose a tick or two on a very regular basis. This creates a "hidden" cost for using NT that can be many times the monthly fees.

Share this post


Link to post
Share on other sites
This major flaw imposes a mandatory 20 tick offset for all Stop Limit orders submitted thru an ATM. Consequently, if your profit target is less than 20 ticks away from entry, it is possible for a winner to turn into a loser in highly volatile and thinly traded market.

 

This flaw has the effect of turning those Stop Limit orders into market orders. In normal trading this can cause the trader to lose a tick or two on a very regular basis. This creates a "hidden" cost for using NT that can be many times the monthly fees.

 

Might there be a difference between data feeds, eg zen-fire vs some other feed when it comes to this issue? Also, what futures platform have you found that is superior in getting fills? (You mentioned something on another forum).

Share this post


Link to post
Share on other sites
Might there be a difference between data feeds, eg zen-fire vs some other feed when it comes to this issue? Also, what futures platform have you found that is superior in getting fills? (You mentioned something on another forum).

 

This flaw is built in NT, it occurs regardless of data feed. Please understand, NT might be fine for some. If precise Stop Limit orders aren't important to you than NT might be ok. If precision is important than you will have to check with your broker, to find, which platform has the features you need.

 

As for me, I'll probably be switching to Sierra Charts when they can interface with my broker(which has an ETA of the end of the month).

 

I would not have even started this information campaign if Ray(the #1 guy at NT) hadn't lead me to believe this flaw would be fixed in NT7. I kept using NT for the past

1 1/2 years to show my support for his willingness to fix the flaw.

Share this post


Link to post
Share on other sites
This major flaw imposes a mandatory 20 tick offset for all Stop Limit orders submitted thru an ATM. Consequently, if your profit target is less than 20 ticks away from entry, it is possible for a winner to turn into a loser in highly volatile and thinly traded market.

 

 

Thats boggling. Are you sure it is not up to 20 ticks (a 20 tick cap)? Most people would want to set the stop and limit at the same price I would guess (zero offset).

 

One has to ask why Ninja is using synthetic orders (simulating them on the client)? They should be submitted to the brokers system (or exchange if a native order) and modified if necessary. (certainly for stops and exits, some people might want the option to hold entry orders on the client so infrastructure problems mean unmanaged orders aren't left at thr broker/exchange). Reported all that in the beta of version 1 let alone 7!

Share this post


Link to post
Share on other sites
Thats boggling. Are you sure it is not up to 20 ticks (a 20 tick cap)? Most people would want to set the stop and limit at the same price I would guess (zero offset).

 

I'm absolutely sure. as a matter of fact NT tries to explain this limitation(flaw) as a benefit to the trader. I suppose it is to some...but, they fail to explain the added it costs it can impose to the trader's profitability.

Share this post


Link to post
Share on other sites
I'm absolutely sure. as a matter of fact NT tries to explain this limitation(flaw) as a benefit to the trader. I suppose it is to some...but, they fail to explain the added it costs it can impose to the trader's profitability.

 

Wow so more like a Market if Touched order than a stop limit. Couple that with it being held on the client (presumably?) is a recipe for slippage.

Share this post


Link to post
Share on other sites

One of the major reasons traders use a trading platform like NT is it's ability to place bracket orders and to automate multi-step strategies. It is when using these strategies, the flaw comes into play.

 

Using the ES, which has a tick value of $12.50; a 20 tick stop equals $250. The problem comes into play on profit targets. These are sent out as Stop Limit orders. Because, the Stop side of the order is a mandatory 20 ticks away from the Limit side of the order....when the markets hits the Limit price, the 20 tick offset has the effect of turning the Limit order into a market order. This causes the Limit order to be filled at the best price available (within those 20 ticks).

 

This can cause a loss of a tick or two on a regular basis....Or, an extra $12.50-25.00 per contract traded. This can add substantially to the effective cost of using NT.

 

To be fair, you can change this offset after the order is submitted, but this is cumbersome and easy to forget to do in the "heat of trading." Remember, the reason you are paying NT is to automate these functions and make trading less stressful and reduce the steps of placing multiple orders.

 

You can take the position that slippage is inevitable. And, this is exactly the justification NT states...however, I know from my experience-and the way I trade- the market will come back and fill me at my Limit price, thus, achieving my full profit target.

 

There are traders that are happy to get filled at the "best price" but there others that trade with a greater precision and want the option to determine their own trading fate.

Share this post


Link to post
Share on other sites

beyondMP,

Are you sure you are not thinking about a stop market with protection? What you are saying does not make sense. An order sent out as a stop limit is a stop limit.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Thx for reminding us... I don't bang that drum often enough anymore Another part for consideration is who that money initially went to...
    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
    • How long does it take to receive HFM's withdrawal via Skrill? less than 24H?
    • My wife Robin just wanted some groceries.   Simple enough.   She parked the car for fifteen minutes, and returned to find a huge scratch on the side.   Someone keyed her car.   To be clear, this isn’t just any car.   It’s a Cybertruck—Elon Musk's stainless-steel spaceship on wheels. She bought it back in 2021, before Musk became everyone's favorite villain or savior.   Someone saw it parked in a grocery lot and felt compelled to carve their hatred directly into the metal.   That's what happens when you stand out.   Nobody keys a beige minivan.   When you're polarizing, you're impossible to ignore. But the irony is: the more attention something has, the harder it is to find the truth about it.   What’s Elon Musk really thinking? What are his plans? What will happen with DOGE? Is he deserving of all of this adoration and hate? Hard to say.   Ideas work the same way.   Take tariffs, for example.   Tariffs have become the Cybertrucks of economic policy. People either love them or hate them. Even if they don’t understand what they are and how they work. (Most don’t.)   That’s why, in my latest podcast (link below), I wanted to explore the “in-between” truth about tariffs.   And like Cybertrucks, I guess my thoughts on tariffs are polarizing.   Greg Gutfield mentioned me on Fox News. Harvard professors hate me now. (I wonder if they also key Cybertrucks?)   But before I show you what I think about tariffs… I have to mention something.   We’re Headed to Austin, Texas This weekend, my team and I are headed to Austin. By now, you should probably know why.   Yes, SXSW is happening. But my team and I are doing something I think is even better.   We’re putting on a FREE event on “Tech’s Turning Point.”   AI, quantum, biotech, crypto, and more—it’s all on the table.   Just now, we posted a special webpage with the agenda.   Click here to check it out and add it to your calendar.   The Truth About Tariffs People love to panic about tariffs causing inflation.   They wave around the ghost of the Smoot-Hawley Tariff from the Great Depression like it’s Exhibit A proving tariffs equal economic collapse.   But let me pop this myth:   Tariffs don’t cause inflation. And no, I'm not crazy (despite what angry professors from Harvard or Stanford might tweet at me).   Here's the deal.   Inflation isn’t when just a couple of things become pricier. It’s when your entire shopping basket—eggs, shirts, Netflix subscriptions, bananas, everything—starts costing more because your money’s worth less.   Inflation means your dollars aren’t stretching as far as they used to.   Take the 1800s.   For nearly a century, 97% of America’s revenue came from tariffs. Income tax? Didn’t exist. And guess what inflation was? Basically zero. Maybe 1% a year.   The economy was booming, and tariffs funded nearly everything. So, why do people suddenly think tariffs cause inflation today?   Tariffs are taxes on imports, yes, but prices are set by supply and demand—not tariffs.   Let me give you a simple example.   Imagine fancy potato chips from Canada cost $10, and a 20% tariff pushes that to $12. Everyone panics—prices rose! Inflation!   Nope.   If I only have $100 to spend and the price of my favorite chips goes up, I either stop buying chips or I buy, say, fewer newspapers.   If everyone stops buying newspapers because they’re overspending on chips, newspapers lower their prices or go out of business.   Overall spending stays the same, and inflation doesn’t budge.   Three quick scenarios:   We buy pricier chips, but fewer other things: Inflation unchanged. Manufacturers shift to the U.S. to avoid tariffs: Inflation unchanged (and more jobs here). We stop buying fancy chips: Prices drop again. Inflation? Still unchanged. The only thing that actually causes inflation is printing money.   Between 2020 and 2022 alone, 40% of all money ever created in history appeared overnight.   That’s why inflation shot up afterward—not because of tariffs.   Back to tariffs today.   Still No Inflation Unlike the infamous Smoot-Hawley blanket tariff (imagine Oprah handing out tariffs: "You get a tariff, and you get a tariff!"), today's tariffs are strategic.   Trump slapped tariffs on chips from Taiwan because we shouldn’t rely on a single foreign supplier for vital tech components—especially if that supplier might get invaded.   Now Taiwan Semiconductor is investing $100 billion in American manufacturing.   Strategic win, no inflation.   Then there’s Canada and Mexico—our friendly neighbors with weirdly huge tariffs on things like milk and butter (299% tariff on butter—really, Canada?).   Trump’s not blanketing everything with tariffs; he’s pressuring trade partners to lower theirs.   If they do, everybody wins. If they don’t, well, then we have a strategic trade chess game—but still no inflation.   In short, tariffs are about strategy, security, and fairness—not inflation.   Yes, blanket tariffs from the Great Depression era were dumb. Obviously. Today's targeted tariffs? Smart.   Listen to the whole podcast to hear why I think this.   And by the way, if you see a Cybertruck, don’t key it. Robin doesn’t care about your politics; she just likes her weird truck.   Maybe read a good book, relax, and leave cars alone.   (And yes, nobody keys Volkswagens, even though they were basically created by Hitler. Strange world we live in.) Source: https://altucherconfidential.com/posts/the-truth-about-tariffs-busting-the-inflation-myth    Profits from free accurate cryptos signals: https://www.predictmag.com/       
    • No, not if you are comparing apples to apples. What we call “poor” is obviously a pretty high bar but if you’re talking about like a total homeless shambling skexie in like San Fran then, no. The U.S.A. in not particularly kind to you. It is not an abuse so much as it is a sad relatively minor consequence of our optimism and industriousness.   What you consider rich changes with circumstances obviously. If you are genuinely poor in the U.S.A., you experience a quirky hodgepodge of unhelpful and/or abstract extreme lavishnesses while also being alienated from your social support network. It’s about the same as being a refugee. For a fraction of the ‘kindness’ available to you in non bio-available form, you could have simply stayed closer to your people and been MUCH better off.   It’s just a quirk of how we run the place and our values; we are more worried about interfering with people’s liberty and natural inclination to do for themselves than we are about no bums left behind. It is a slightly hurtful position and we know it; we are just scared to death of socialism cancer and we’re willing to put our money where our mouth is.   So, if you’re a bum; you got 5G, the ER will spend like $1,000,000 on you over a hangnail but then kick you out as soon as you’re “stabilized”, the logistics are surpremely efficient, you have total unchecked freedom of speech, real-estate, motels, and jobs are all natural healthy markets in perfect competition, you got compulsory three ‘R’’s, your military owns the sky, sea, space, night, information-space, and has the best hairdos, you can fill out paper and get all the stuff up to and including a Ph.D. Pretty much everything a very generous, eager, flawless go-getter with five minutes to spare would think you might need.   It’s worse. Our whole society is competitive and we do NOT value or make any kumbaya exception. The last kumbaya types we had werr the Shakers and they literally went extinct. Pueblo peoples are still around but they kind of don’t count since they were here before us. So basically, if you’re poor in the U.S.A., you are automatically a loser and a deadbeat too. You will be treated as such by anybody not specifically either paid to deal with you or shysters selling bejesus, Amway, and drugs. Plus, it ain’t safe out there. Not everybody uses muhfreedoms to lift their truck, people be thugging and bums are very vulnerable here. The history of a large mobile workforce means nobody has a village to go home to. Source: https://askdaddy.quora.com/Are-the-poor-people-in-the-United-States-the-richest-poor-people-in-the-world-6   Profits from free accurate cryptos signals: https://www.predictmag.com/ 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.