Get 40% Off
👀 👁 🧿 All eyes on Biogen, up +4,56% after posting earnings. Our AI picked it in March 2024.
Which stocks will surge next?
Unlock AI-picked Stocks

Trading With Probability Trailing Stops

Published 11/30/2012, 11:44 AM
Updated 07/09/2023, 06:31 AM

Generic trailing stops maintain a steady pip distance between the most favorable price seen and the stop loss. One thing that I don't like about this is that trailing stops ignore the take profit. My goal is to increase the information available by using a trailing stop in the context of a take profit.

The only information needed for doing so is the ratio between the stop loss and take profit. If I use a 50 pip take profit and a ratio of 1, for example, then the stop loss is also 50 pips. If I used a ratio of 2, then the stop loss is 100 pips.

As the price moves closer to the take profit, the stop loss should maintain the same ratio over the remaining distance. The original take profit was 50 pips. Say that the price increased 20. Only 30 pips remain to hit the profit target. The probability trailing stop adjusts the stop loss to 30 pips from the current price if the ratio is 1. If the ratio was 2, then the stop would adjust to 30 * 2 = 60 pips. The idea was that perhaps the stop loss should ratchet closer to the take profit as it becomes increasingly likely to occur.

An easier way to think about where to set the stop is to ask, "How many pips are left until the trade hits its take profit?" If the answer is 40, then the stop loss adjusts to 40 pips away from the current price and not the entry. If the answer is 25, the stop loss changes to 25 pips from the current price. The stop loss adjusts faster and faster as a trade nears its take profit.

Changing the stop ratio to something like 0.5 makes it more complicated. If 40 pips remain before a trade reaches its limit, then the stop loss adjusts to 40 * 0.5 = 20 pips away. If 25 pips remain, then the stop ratchets to only 12.5 pips away.

Test Results
I backtested the idea using a variety of forex pairs and DOW 30 stocks for the first quarter of 2009. The direction of a trade, whether long or short, was chosen using a random number. The date chosen was simply because I have M1 data for multiple instruments. The broad spectrum of results would reflect the same trend regardless of the time periods used.

All backtests were on M1 charts. The unit sizes of the trades don't matter much; I set the trade size to a standard lot on forex pairs and 1,000 shares for equities trades. All used a 50 tick take profit with an equidistant stop loss (the stop loss ratio was 1.0). The profit factors help keep the information consistent among the different instruments.

Instrument Profit Factor

3rd party Ad. Not an offer or recommendation by Investing.com. See disclosure here or remove ads .

All of these backtests involve a minimum of 300 trades. The EUR/USD backtest included more than 1,700 trades. The sample size for all tests are more than sufficient for drawing a conclusion. Using a probability stop with a ratio of 1.0 is a bad idea.

Although the equity curves naturally varies among instruments - and would differ using new random numbers - the equity curve below shows what it generally looks like.

The entry efficiency of the system appears solid. However, that is because the worst possible exit always shifts up. The idea trades exit efficiency for a hint of entry efficiency. Knowing that the trades pick their direction using random numbers, it is not worthwhile to get excited about this seemingly non-random metric.

The losses have to come from somewhere. Clearly, as the exit efficiency image demonstrates, it results from the terrible exit efficiency. Results typically ranged from 35-40%.

Although the tests for a stop ratio of 1.0 look terrible, all is not lost. I can flip this on its head and turn it into a profitable concept by blending it with the random trailing limit. Outcomes using a ratio of 3.0 also offer potential hope. We'll cover those outcomes in future posts.
The equity curve for a probability trailing stop on Exxon (XOM) for Q1 2009.
The equity curve for a probability trailing stop on Exxon (XOM) for Q1 2009.

Latest comments

Risk Disclosure: Trading in financial instruments and/or cryptocurrencies involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Prices of cryptocurrencies are extremely volatile and may be affected by external factors such as financial, regulatory or political events. Trading on margin increases the financial risks.
Before deciding to trade in financial instrument or cryptocurrencies you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.
Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. The data and prices on the website are not necessarily provided by any market or exchange, but may be provided by market makers, and so prices may not be accurate and may differ from the actual price at any given market, meaning prices are indicative and not appropriate for trading purposes. Fusion Media and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information contained within this website.
It is prohibited to use, store, reproduce, display, modify, transmit or distribute the data contained in this website without the explicit prior written permission of Fusion Media and/or the data provider. All intellectual property rights are reserved by the providers and/or the exchange providing the data contained in this website.
Fusion Media may be compensated by the advertisers that appear on the website, based on your interaction with the advertisements or advertisers.
© 2007-2024 - Fusion Media Limited. All Rights Reserved.