HLHB Trend-Catcher Strategy
Overview
The strategy aims to catch short-term forex trends by using EMA crossover and RSI as trading signals, with ADX filter to enter trades, and trailing stop loss to lock in profits. The strategy can be applied to all currency pairs, but is mainly used on 1-hour charts of major pairs.
Strategy Logic
The strategy is based on the following indicators and conditions to generate trading signals:
- 5-period fast EMA: blue line
- 10-period slow EMA: red line
- 10-period RSI applied to median price (H+L)/2
- 14-period ADX
Entry signals:
- Long: when fast EMA crosses above slow EMA from below and RSI crosses above 50 from bottom
- Short: when fast EMA crosses below slow EMA from top and RSI crosses below 50 from top
- Only take signals when ADX > 25
Exit signals:
- Use trailing stop loss, 150 pips trail distance and 400 pips take profit
- Close trade when new signal occurs
- Close all trades before end of week
The strategy combines EMA crossover, RSI overbought/oversold and ADX trend strength to create solid entry rules. It rides the trend after formation and uses trailing stop to maximize profits and control risk. Overall it aims to effectively catch short-term trends.
Advantage Analysis
The strategy has the following advantages:
-
EMA crossover for trend direction. Upward cross suggests uptrend while downward cross downtrend. Can identify trend changes.
-
Adding RSI filters out some false breakout signals. Oversold/overbought zones indicate short-term pullbacks and avoid unnecessary entries in range markets.
-
ADX for ensuring true trend existence. Only consider trading signals when ADX > 25, guaranteeing a solid trend.
-
Trailing stop loss and take profit let profits run while controlling risk. 150 pips trail distance and 400 pips profit target continuously ride the trend.
-
Closing all positions before week end avoids weekend risks and enforces trading regularity.
Risk Analysis
The strategy also has the following risks:
-
EMA crossover systems prone to false breakout signals, leading to losses. Fine tune EMA lengths or add other filters.
-
RSI only identifies overbought/oversold levels, not trend reversals. Could miss trends or reverse. Combine with other indicators.
-
ADX just judges trend existence, entry timing may be off. Add other rules or lower ADX threshold.
-
Fixed stop loss and take profit levels may not adapt to market changes. Test different parameters or manual intervention.
-
Forced weekly close could miss good trend opportunities. Consider daily close or conditional exits.
Optimization Directions
The strategy can be optimized in the following aspects:
-
Test different EMA combinations to find optimal lengths. Consider slope for added trend strength.
-
Try different RSI parameters or combine with KDJ for better overbought/oversold judgment.
-
Optimize ADX parameters for more suitable filtering and higher entry quality.
-
Test combination of fixed stops and ATR-based dynamic trailing.
-
Add intraday breakout pullback entries after trend confirmation, such as lower timeframes.
-
Introduce volatility-based position sizing for dynamic adjustment based on market volatility.
-
Explore machine learning techniques to auto-optimize parameters for adaptability.
Summary
In summary this is a simple trend following strategy, identifying trend direction with EMA crossover, filtering with RSI, requiring trend with ADX, and trailing stop for profit. Optimization mainly involves finding better indicator combos for flexibility, and adding dynamic position sizing. The logic has merit but still requires further testing and optimization for practical application.
/*backtest
start: 2022-09-21 00:00:00
end: 2023-09-27 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=3
strategy("Hucklekiwi Pip - HLHB Trend-Catcher System", shorttitle="HLHB TCS", overlay=true,
default_qty_type=strategy.percent_of_equity, default_qty_value=100)
- 1
