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.

Igor

Exit Tests

Recommended Posts

Exits for All Occasions

 

When most people think about trading systems, they probably think about how the system enters the market. In fact, trading systems are usually described in terms of their entry technique, such as breakout systems, moving average crossover systems, Fibonacci retracement systems, and myriad other methods for entering the market. Even the terms "counter-trend" and "trend-following" refer more to the entry than the exit.

Despite the common focus on entry techniques in trading, you may have come across the assertion that exits are more important than entries. In my experience, that's usually true. Why? One possible reason is that most market action is random. A good trading system finds at least some signal in all that noise. But with all the noise in the market, a substantial percentage of entry signals may be wrong.

 

A long-term trend following system, for example, may be right only 40% of the time. Despite the low percentage of winning trades, it can still be highly profitable if it keeps the losing trades smaller than the winners. The way it does that is by cutting the losses short and letting the winners run. In other words, it's profitable because of how it handles the exits.

 

Generally speaking, I think it's fair to say that exits are the principal method of controlling the intrinsic risk/reward characteristics of a trading system. Whether the system looks for a quick profit or holds the trade through the market's ups and downs depends on the exits. Likewise, whether a losing trade is cut off quickly or given more room to move is determined by the exits. Exits are truly the way to implement "cut your losses short and let the winners run."

 

Note that I use the word "intrinsic" when describing the risk/reward characteristics of a trading system to differentiate the rules and logic of a trading system from position sizing. Certainly, position sizing can be used to improve the overall risk/reward ratio of a trading system, but position sizing is an external factor, apart from the rules and logic of the system. The focus of this article is on the rules and logic of trading systems, rather than on position sizing.

 

Exit Types

 

The following list is not exhaustive but it includes some of the most common types of exits you may encounter or consider for your own trading systems:

 

Stop and Reverse. This is basically an "exit-less" exit. Stop and reverse systems reverse from long to short and back to long again. If you're long one contract, for example, you would sell two to close out the long trade and go short. You're never flat the market with this type of exit because each exit is also an entry in the opposite direction.

 

N Bars from Entry. Exit the trade at the market N bars from the bar of entry, where N can be any number greater than zero. For example, you might exit the trade 10 bars from the entry. The duration of the trade will depend on the bar size; e.g., 5 min bars or 60 min bars.

 

Time of Day. Rather than exiting relative to the entry, as with the previous method, you exit at a specific time of day, such as at 10:30 am. As a special case, this exit also includes exiting at the end of the trading session.

 

Money Management Stop. This is a commonly used exit type that uses stop orders to limit the risk of a trade. For a long trade, a sell stop order is placed below the entry price. For a short trade, a buy stop order is placed above the entry price. When the stop is hit, the loss is limited to the size of the stop plus slippage. Common methods on which to base the size of the stop are a fixed dollar amount, a fraction of the average true range, or as a percentage of price.

 

Trailing Stop. This type of exit uses stop orders to lock in a percentage of the open profit after a specified level of open profit -- the floor -- has been reached. For example, after an open profit of $500 has been reached on a long trade, you might place a stop order below the market so that 50% (or $250) of the open profit will be retained if the market reverses. The floor amount is typically computed based on either a fixed dollar amount or a fraction of the average true range. Note that a breakeven stop is a special case of the trailing stop where the percentage of profit to lock in is zero.

 

Profit Target. The profit target uses limit orders to exit when a specified price has been reached, representing a profit for the trade. For a long trade, the limit order is above the market; for a short trade, it's below the market. Like a trailing stop, a profit target can help avoid giving back open profits when the market reverses. However, profit targets also place a limit on the maximum profit that's possible from a trade.

 

Logical conditions/trading logic. In addition to the exit types listed above, just about any logical condition, such as those used for trade entries, can be used to exit a trade.

 

Price Patterns. For example, a series of consecutive lower closes might be used to exit a long trade.

Trend Indicators. For example, moving averages, momentum, and MACD could all be used to signal a trade exit.

Trend Strength. For example, when the ADX indicator, which measures trend strength, declines below a certain level, a trend-following trade might be exited.

Oscillators. Stochastic, %R, RSI, Bollinger bands, and other oscillators measure over-bought and over-sold conditions. A long trend trade might be exited when an oscillator crosses below the over-bought level, indicating the end of an up-trend. On the other hand, if the trade has been entered on weakness, such as a pull-back, a short-term trade might be exited when the oscillator crosses above the over-bought level.

Support/resistance. Support and resistance levels can be used either as money management stop prices or as target prices

EXITTESTS.ELD

exittest.txt

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.


  • Similar Content

    • By edakad
      Firebird is an indicator to identify the price spikes in the market. Firebird indicator first calculates a 10-period moving average, then shifts this moving average a certain percentage above and below the 10-period moving average. The shifted averages are drawn on chart as the red and green line. When price touches these lines, price spike is identified. Usually after a price spike, the trend reverses for some time. The indicator can be used to take advantage of this price behaviors. In daily chart usually the 10 period MA is shifted by 2 percent to form the price bands. On lower time frames like Hourly, Four Hour a smaller percentage price shift is used like 0.5% . The important consideration here is most of the price bars must be contained within the upper and lower bands.
      When price reaches above the upper red band, a sell position is opened. When price reaches the lower green band, buy position is opened. Trades can be managed with proper stop loss and take profit. In the picture, Firebird indicator is attached to daily chart of EUR/USD with 2% shift on MA. Note that almost all price bars are within the price bands. And when price extends beyond these bands, price trend reverses and comes back into the bands.

      FireBird.zip
    • By magesvh
      I'm currently using Ninjatrader for my trading. But I have a problem with the Tick Chart and when I use any Indicator. When e.g. the market is very fast or my internet is slow (for a moment), then the value of the candles and indicator is wrong. 
      So I refresh the chart after every finished candle. 
      Does anybody know a software without this problem?
    • By mirko994
      Hello guys,
      Anyone has the code of this indicator?  I am trying to find the logic behind it.
      Trend Magic Indicator FREE
       
      Kind regards,
       
      Mirko

  • Topics

  • Posts

    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
    • 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/       
×
×
  • Create New...

Important Information

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