Type/to search

Turtle Trading 3-Day Reversion Strategy

Cryptocurrency
Created: 2023-10-13 15:37:18
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

The Turtle Trading 3-Day Reversion Strategy is a modification of the "3-day Mean Reversion Strategy" from the book "High Probability ETF Trading" by Larry Connors and Cesar Alvarez. In the book, the authors discuss a high-probability ETF mean reversion strategy with these simple rules:

  • If yesterday's close is below the 5-day simple moving average, buy today.
  • If today's close is above the 5-day simple moving average, sell today.

Through practice and backtesting, I have found that the strategy consistently works better when using an EMA instead of an SMA for the trend line. So this script uses an EMA for the trend line. I have also made the length of the exit EMA adjustable.

Strategy Logic

The strategy works as follows:

  • Go long when the following buy conditions are true:
    • Close is above 200-day EMA
    • Close is below 5-day EMA
    • Today's high is lower than yesterday's high
    • Today's low is lower than yesterday's low
    • Yesterday's high is lower than the previous day's high
    • Yesterday's low is lower than the previous day's low
    • Previous day's high is lower than 2-day ago's high
    • Previous day's low is lower than 2-day ago's low
  • Exit when close crosses above the exit EMA

The exit EMA defaults to 5-day EMA, its length is adjustable.

The main idea of the strategy is to take advantage of short-term mean reversion. When prices decline continuously, they are likely to bounce back in the short-term. The strategy identifies mean reversion opportunities by checking if prices narrowed for 3 consecutive days below a short-term EMA. Once reversal happens, it exits promptly when price breaks above the exit EMA.

Advantage Analysis

Compared to traditional moving average crossover strategies, this strategy has the following advantages:

  1. Using 3-day consecutive narrowing to identify reversals improves signal quality.

  2. Filtering with long and short EMAs avoids trading in trending markets. It only trades mean reversions in range-bound zones.

  3. Using EMA instead of SMA for trend line is more sensitive in catching reversals.

  4. Adjustable exit EMA length allows customizing the stop loss strategy based on market conditions.

  5. Low trading frequency with 1-2 day holding periods avoids risks associated with long directional bets.

Risk Analysis

The strategy also has the following risks:

  1. Failed reversal risk. Price may fail to bounce and continue declining after the reversal signal.

  2. Frequent stop loss risk. Price could repeatedly hit stop loss in choppy markets.

  3. Parameter optimization risk. Exit EMA and other parameters need continual testing and tuning based on evolving markets. Performance could degrade without adjustment.

  4. Overfitting risk. Optimization should avoid overfitting. Parameters should be robust.

Risks can be reduced by:

  1. Strictly following stop loss rules to control single trade loss.

  2. Robust parameter tuning during optimization to balance risk and return.

  3. Adjusting position sizing to lower risk per trade.

Optimization Opportunities

The strategy can be improved in the following aspects:

  1. Test different EMA lengths for entry and exit to find optimal parameters.

  2. Add other filters like volume to ensure reversal signals are more reliable.

  3. Enhance stop loss with methods like ATR or trailing stops for more flexibility.

  4. Incorporate trend filter to avoid taking reversal signals in existing trends.

  5. Combine with other strategies for portfolio optimization and diversification.

  6. Employ machine learning for adaptive parameter tuning.

Summary

The Turtle Trading 3-day Reversion Strategy identifies short-term reversal opportunities by detecting 3-day narrowing patterns below a short EMA. Compared to traditional moving average strategies, it has more reliable entry signals and adjustable exit EMA for stop loss optimization. The strategy works well for range-bound choppy markets and catching short bounces. But there are further opportunities to improve parameters, stop loss, and trend filters. Combining with other strategies can further enhance performance.

Source
Pine
/*backtest
start: 2023-10-05 00:00:00
end: 2023-10-12 00:00:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// @version = 5
// Author = TradeAutomation
Strategy parameters
Strategy parameters
Start Time
End Time
EMA Length For Exit Strategy
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)