Type/to search

Trend Tracking Four Elements Strategy

Cryptocurrency
Created: 2023-10-17 14:47:00
Last modified: 3 years ago
1
Follow
1781
Followers

img

Overview

This strategy combines SAR, RSI, Vol and MA indicators to identify trends and adopts robust risk management measures to track trends and profit. The strategy mainly uses the SAR indicator to determine the trend direction, supplemented by the RSI to identify reversal signals at overbought and oversold thresholds, Vol indicator to judge volume characteristics, and MA to determine the primary and secondary trend directions. The combination of multiple indicators helps filter out false signals and identify real trend directions. The risk management sets stop loss and take profit to effectively control single loss and accumulate profits. This strategy is suitable for medium-long term coin holders to obtain steady gains following the mainstream trend.

Strategy Logic

This strategy uses 4 main technical indicators:

  1. Parabolic SAR: This indicator uses the relationship between dots and trends to determine trend direction and reversal points. Dots above price suggest uptrend while dots below suggest downtrend. When dots cross through price, it signals a trend reversal. The strategy uses SAR as the main indicator to determine trend direction.

  2. RSI: The Relative Strength Index. This indicator oscillates between 0-100 to judge overbought and oversold conditions. RSI above 70 is the overbought zone, below 30 is the oversold zone, and regressing to 50 is the neutral zone. The strategy uses RSI to identify reversal signals at overbought and oversold thresholds.

  3. VOL: The volume indicator. The strategy uses VOL to confirm trends and judge the quality of reversal signals by spotting volume expansion patterns.

  4. MA: Moving averages. The strategy adopts long and short moving averages to determine the primary and secondary trend directions. The crossover of the short MA above the long MA signifies an upside breakout while the crossover below signifies a downside breakout.

Trade signal rules:

Long condition: SAR dots flip below price bars and RSI turns up from oversold into the neutral zone, obvious VOL expansion, short MA crosses above long MA.

Short condition: SAR dots flip above price bars and RSI turns down from overbought into the neutral zone, obvious VOL expansion, short MA crosses below long MA.

The strategy also sets stop loss and take profit risk management rules. Take profit is set at 2x the entry price and stop loss is set at 0.8x the entry price to lock in profits and control risks.

Advantage Analysis

The advantages of this strategy include:

  1. The multi-indicator combo avoids false signals and truly captures trend reversals.

  2. Risk management with stop loss and take profit effectively controls risk.

  3. Position sizing with scaled entries and tiered take profits maximizes profits.

  4. Robust parameters obtained through repeated optimization and testing.

  5. Sufficient backtest data simulates real trading conditions.

  6. Simple and clear logic easy to understand and implement.

Risk Analysis

The risks of this strategy include:

  1. Extreme market volatility breaking stop loss. Wider stop loss is recommended.

  2. Illiquid trading products failing to fill stop loss. Products with good liquidity should be selected.

  3. Systemic risks causing gap moves. Leverage should be reduced and assets with strong fundamentals should be held.

  4. Overly optimized parameters leading to too perfect results. Parameters should be relaxed to improve robustness.

  5. High trading frequency incurring excessive slippage costs. Wider signal generation interval could be adopted.

  6. Deteriorating signal efficiency requiring timely updates. Regular backtests and parameter tuning is needed.

Improvement Directions

This strategy can be further enhanced in the following aspects:

  1. Test more indicator combos like MACD, KD to find better matches.

  2. Optimize MA periods to identify clearer primary and secondary trends.

  3. Optimize stop loss and take profit coefficients for optimal risk-reward ratio.

  4. Test parameter robustness across different products and find optimal parameter sets.

  5. Incorporate machine learning models to aid in trade signal generation.

  6. Adopt adaptive stop loss algorithms to make stop loss more dynamic.

  7. Test longer period parameters to expand profit potential.

Conclusion

This strategy combines multiple indicators to filter out false signals and determine trend direction, sets stop loss and take profit to control risks, and optimizes parameters and combinations to continuously improve strategy performance. Although no strategy can perfectly predict the future, systematic trading plans coupled with proper risk management will substantially increase profitability. This strategy provides a relatively robust trend tracking framework suitable for investors seeking long term steady gains in a rational manner.

Source
Pine
/*backtest
start: 2023-10-09 00:00:00
end: 2023-10-13 00:00:00
period: 3m
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/
// © myn

//@version=5
Strategy parameters
Strategy parameters
Trend Code (If Overriding Adaptive PSAR)
BB MultFactor
KC Length
KC MultFactor
Use TrueRange (KC)
divisor
Adaptive Parabolic Sar
Override Adaptive PSAR
Squeeze Momentum
BB Length
Multi Timeframe Moving Averages
boolplot_ma_1
MA 1
intma_1_val
ma1_tf (Optional)
colorma_1_colour
boolplot_ma_2
MA 2
intma_2_val
ma2_tf (Optional)
colorma_2_colour
boolplot_ma_3
MA 3
intma_3_val
ma3_tf (Optional)
colorma_3_colour
boolplot_ma_4
MA 4
intma_4_val
ma4_tf (Optional)
colorma_4_colour
boolplot_ma_5
MA 5
intma_5_val
ma5_tf (Optional)
colorma_5_colour
Normal Moving Averages
boolplot_ma_6
MA 6
intma_6_val
ma_6_src
colorma_6_colour
boolplot_ma_7
MA 7
intma_7_val
ma_7_src
colorma_7_colour
boolplot_ma_8
MA 8
intma_8_val
ma_8_src
colorma_8_colour
boolplot_ma_9
MA 9
intma_9_val
ma_9_src
colorma_9_colour
boolplot_ma_10
MA 10
intma_10_val
ma_10_src
colorma_10_colour
HawkEye Volume Indicator
lengthhvi
ADX
Average Directional Index (ADX)
ADX Smoothing
DI Length
ADX Threshold
Date Range
Start
startPeriodTime
End
endPeriodTime
Trade Direction
Trade Direction
Take Profit
Take Profit 1 - Target %
% Of Position
Take Profit 2 - Target %
% Of Position
Take Profit 3 - Target %
% Of Position
Take Profit 4 - Target %
Stop Loss
Stop Loss (%)
Leverage
Leverage
ProfitView Alert Syntax
Alert Syntax Prefix
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)