Type/to search

10EMA Double Cross Trend Tracking Strategy

Common strategy
Created: 2023-12-29 16:03:55
Last modified: 3 years ago
1
Follow
1801
Followers

img

Overview

This strategy is a trend tracking strategy based on the double cross of 10EMA and 50EMA. It incorporates the 10EMA on the hourly chart as an auxiliary judgement to dynamically find the trend direction in the alternating bull and bear market, and achieve automatic tracking stop loss.

Strategy Principle

The core logic of the strategy is based on the golden cross and death cross of 10EMA and 50EMA. Specifically, when the 10EMA crosses above the 50EMA to form a golden cross, it is judged that the market has entered an uptrend; when the 10EMA crosses below the 50EMA to form a death cross, it is judged that the market has entered a downtrend.

Open long or short positions within 1-5 bars after the golden cross or death cross. In addition, the strategy also introduces the 10EMA on the hourly chart as an auxiliary judgment. Long positions are opened only when the 10EMA on the hourly chart is in an upward trend after the golden cross, and short positions are opened only when the 10EMA on the hourly chart is in a downward trend after the death cross, thus filtering out some false signals.

After opening positions, the strategy adopts a profit-taking and stop loss method of tracking stop loss + limit order. Tracking stop loss can lock in profits and maximize profitability of transactions; limit orders ensure that positions are closed when prices reach the target to obtain profits.

Advantage Analysis

The biggest advantage of this strategy is that while using EMA crosses to judge the main trend direction, it also introduces auxiliary indicators to filter signals, which can effectively filter false crosses to improve signal reliability. In addition, the double EMA cross combined with trailing stop loss and limit profit taking can both maximize tracking trend gains and effectively control trading risks with good overall risk-reward ratio.

Compared with single indicator strategies, this strategy can more accurately judge trend direction and amplitudes. Compared with traditional stop loss, this strategy adopts more advanced tracking stop loss technology to better lock in profits.

Risk Analysis

The main risks this strategy faces are intermittent whipsaws and trend reversals. When consecutive false crossing signals occur, the strategy may be scraped. In addition, price reversals after opening positions can also lead to losses.

To reduce the risk of whipsaws, auxiliary indicators are added to filter the signals. To control the risk of trend reversal, a relatively tolerant stop loss range is adopted, and the limit profit setting also helps reduce this risk. When the stop loss is triggered, it is also possible to consider re-entering the trend direction.

Optimization Directions

There are several optimization directions for this strategy: first, different parameter combinations such as EMA periods and position delay bars can be tested to find the optimal parameters; secondly, more auxiliary indicators such as MACD and BOLL can be introduced for signal filtering to improve signal quality; thirdly, stop loss and take profit logic can be optimized, such as adopting other stop loss methods like time stop loss and oscillating stop loss; fourthly, more market conditions can be combined to trigger strategy trading signals, such as only triggering signals during certain time periods or fluctuation ranges.

Summary

This 10EMA double cross trend tracking strategy judges the current trend direction through EMA golden crosses and death crosses, sets up tracking stop loss and limit profit taking to lock in profits and control risks, while combining auxiliary indicators to filter signals and improve signal quality. Compared with single indicator and traditional stop loss strategies, this strategy has advantages like accurate judgement, optimized stop profit mechanism, etc. It can effectively capture trend gains while controlling risks, making it suitable for conventional trading accounts. Of course there is still room for improvement for this strategy, such as further enhancing strategy performance through parameter optimization and introducing more auxiliary indicators.

Source
Pine
/*backtest
start: 2022-12-22 00:00:00
end: 2023-12-28 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
strategy("10ema Strat 9", overlay=true, format=format.price)
//#region // inputs for candles
//time
Strategy parameters
Strategy parameters
short ema
long ema
hourly 10 ema
Source
Offset
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)