Type/to search

Solid Trend Following Strategy

Common strategy
Created: 2024-01-26 15:22:32
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy combines SSL Hybrid Channel, QQE MOD and Waddah Attar Explosion indicator to build a robust trend following strategy. It can achieve steady profit on major cryptocurrencies like BTC and ETH over medium to long term timeframes.

Strategy Logic

Entry Logic

Long Entry Conditions:

  1. Close price above SSL Hybrid Baseline
  2. QQE MOD turns blue
  3. Waddah Attar Explosion indicator green

Short Entry Conditions:

  1. Close price below SSL Hybrid Baseline
  2. QQE MOD turns red
  3. Waddah Attar Explosion indicator red

Exit Logic

Long Exit Condition:

  1. QQE MOD turns red

Short Exit Condition:

  1. QQE MOD turns blue

Advantage Analysis

The advantages of this strategy:

  1. Combination of 3 indicators ensures accuracy and reliability of trading signals

  2. SSL baseline and QQE MOD effectively capture trend direction

  3. Waddah Attar Explosion further validates signals to avoid false breakouts

  4. Clean code structure, easy to understand and modify

  5. Complete stop loss, take profit and risk management system to control risks

  6. Excellent backtest results over longer timeframes (e.g. 1H, 4H)

Risk Analysis

The risks of this strategy:

  1. Poor backtest results over short timeframes (e.g. 5m)

  2. Stop loss may trigger frequently during high volatility

  3. Results may vary across different cryptocurrencies

Possible solutions:

  1. Only use over medium to long term

  2. Widen stop loss to prevent too frequent triggering

  3. Test on more assets to find suitable ones

Optimization Directions

Potential improvements:

  1. Test different parameter sets to find optimum combination

  2. Incorporate machine learning for better adaptability

  3. Combine with sentiment and other factors to enhance stability

  4. Adjust for specific industries based on characteristics

  5. Add algorithmic trading module to boost returns

Conclusion

Overall this strategy is highly recommended. With sound logic, full risk control and stability across suitable assets and timeframes, it has great profit potential. Continuous enhancements will turn it into a highly efficient trading tool.

Source
Pine
/*backtest
start: 2023-12-01 00:00:00
end: 2023-12-31 23:59:59
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/
// © fpemehd
// Thanks to myncrypto, jason5480, kevinmck100
// @version=5
Strategy parameters
Strategy parameters
RSI Source
Time
Start Date
End Date
Long / Short
Long?
Short?
Filters
ATR Filter On?
Length for ATR Filter
SMA Length for ATR SMA
EMA Filter On?
EMA Length
ADX Filter On?
DMI Filter On?
ADX Length
ADX Threshold
Super Trend Filter On?
ATR Length
Factor
1: SSL Hybrid
use true range for Keltner Channel?
Baseline Type
Baseline Length
Base Channel Multiplier
Volatility lookback length(for VAMA)
2: QQE MOD
RSI Length
RSI Smoothing
Fast QQE Factor
Thresh-hold
Bollinger Length
BB Multiplier
RSI 2 Length
RSI Smoothing
Fast QQE2 Factor
Thresh-hold
RSI Source
3: Waddah Attar Explosion
Sensitivity
FastEMA Length
SlowEMA Length
BB Channel Length
BB Stdev Multiplier
Stop Loss
Enable SL & TP?
Enable Trailing SL?
Stop Loss Type
ATR Length
ATR Multiplier
Percent
Lowest Price Before Entry
Take Profit
Use Take Profit?
R:R Ratio
Take Profit Quantity %
Quantity
Use Risk Manangement?
Risk Per Trade (%)
Strategy: Drawings
Show Simple Label for Entry?
Show Trade Exit Labels
Show Dashboard
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)