Type/to search

Patient Trend Following Strategy

Common strategy
Created: 2024-01-18 12:40:11
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

The Patient Trend Following Strategy is a trend following strategy. It uses a combination of moving averages to determine the trend direction and CCI oscillator to generate trading signals. This strategy pursues big trends and can effectively avoid whipsaws in ranging markets.

Strategy Logic

The strategy uses 21-period and 55-period EMA combination to define the trend direction. An uptrend is defined when the short EMA is above the long EMA. A downtrend is defined when the short EMA is below the long EMA.

The CCI indicator is used to detect overbought and oversold situations. CCI crossing above -100 signals bottom oversold condition and crossing below 100 signals top overbought condition. Different overbought and oversold levels of CCI produce trading signals with different confidence levels.

When an uptrend is determined, strong bottom oversold signals from CCI will trigger long entry orders. When a downtrend is determined, strong top overbought signals from CCI will trigger short entry orders.

The stop loss is set at SuperTrend lines. Take profit is fixed number of pips.

Advantage Analysis

The main advantages of this strategy are:

  1. Following big trends, avoiding whipsaws
  2. CCI effectively detects reversal points
  3. Reasonable stop loss setting with SuperTrend
  4. Fixed stop loss and take profit, controllable risk

Risk Analysis

The main risks of this strategy are:

  1. Probability of incorrect big trend determination
  2. Probability of false signals from CCI
  3. Probability of unnecessary stop loss with improper stop loss levels
  4. Probability of missing trend profits with fixed take profit

To cope with these risks, parameters like EMA periods, CCI periods and stop loss/take profit levels can be optimized. Introducing more indicators for signal verification is also necessary.

Optimization Directions

The main optimization directions are:

  1. Test more indicator combinations to find better trend and signal verification indicators.

  2. Utilize dynamic stop loss and take profit with ATR to better follow trends and control risk.

  3. Introduce machine learning models trained on historical data to judge trend probabilities.

  4. Optimize parameters for different trading instruments.

Conclusion

The Patient Trend Following Strategy is a very practical trend trading strategy overall. It defines big trend with moving averages and detects reversal signals with CCI oscillator, while setting reasonable stop loss levels using SuperTrend indicator. With further parameter tuning and more indicator combinations for signal verification, this strategy can be further optimized and is worth tracking in live trading.

Source
Pine
/*backtest
start: 2024-01-10 00:00:00
end: 2024-01-17 00:00:00
period: 1m
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/
// © greenmask9

//@version=4
Strategy parameters
Strategy parameters
Short EMA
Long EMA
Overbought/sold detector period
Overbought/sold detector source
Overbought level 1
Overbought level 2
Overbought level 3
Oversold level 1
Oversold level 2
Oversold level 3
ATR Period
ATR Multiplier
Take Wicks into Account ?
Illuminate Trend
Spread
Test longs
Test shorts
Test level 1 overbought/sold levels
Test level 2 overbought/sold levels
Test level 3 overbought/sold levels
Use static target
Static target in pips
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)