Type/to search

Compound Trend Following Strategy

Cryptocurrency
Created: 2023-09-16 19:10:37
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

This article introduces a quantitative trading strategy that combines multiple indicators to determine trends. It tracks medium-to-long term price trends using moving averages, new highs/lows, yearly levels and more.

Strategy Logic

The strategy is based on:

  1. Using moving averages, new highs/lows index to determine price trend.

  2. Incorporating yearly levels to avoid short-term whipsaws.

  3. Entering on aligned indicator bundle signals to filter fakeouts.

  4. Trailing with supertrend to lock in trend profits.

  5. Stopping out on moving average breaches.

Advantage Analysis

Advantages of the strategy:

  1. Multiple indicators improve decision accuracy.

  2. Only trading clear trends avoids unnecessary trades.

  3. Supertrend trailing locks in profits and reduces drawdowns.

  4. Timely stop outs on breakouts improve win rate.

  5. Clear logic makes optimization intuitive.

Risk Analysis

Potential risks include:

  1. Multiple filters may cause missed trades.

  2. Supertrend trails could overly limit profits.

  3. Bad breakout stops cause unnecessary exits.

  4. Parameter tuning significantly impacts performance.

Conclusion

This strategy combines multiple technical indicators to determine trend. With proper optimization, it can achieve good returns. But traders should watch trend accuracy and adjust parameters accordingly.

Source
Pine
/*backtest
start: 2023-08-16 00:00:00
end: 2023-09-15 00:00:00
period: 1h
basePeriod: 15m
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/
// © HeWhoMustNotBeNamed

//@version=4
Strategy parameters
Strategy parameters
Moving Average Type
includePartiallyAligned
HighLowPeriod
LookbackPeriod
considerYearlyHighLow
dirTBars
dirRBars
Moving Average Type
PMALength
shift
supertrendMult
supertrendLength
riskReward
Trade Direction
backtestYears
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)