Type/to search

Fast and Slow EMA Golden Cross Breakthrough Strategy

Cryptocurrency
Created: 2023-12-01 18:02:24
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

The fast and slow EMA golden cross breakthrough strategy is a simple and effective strategy to track market trends. It uses crossovers of EMAs of different cycles to generate buy and sell signals. The basic idea is: when the short cycle EMA crosses above the longer cycle EMA, a buy signal is generated; when the short cycle EMA crosses below the longer cycle EMA, a sell signal is generated.

Strategy Principle

The strategy mainly relies on the comparison of 5-cycle, 8-cycle and 13-cycle EMAs to generate trading signals. Including:

  1. Calculate 5-cycle EMA, 8-cycle EMA and 13-cycle EMA.
  2. When the 5-cycle EMA crosses above the 8-cycle and 13-cycle EMAs, a buy signal is generated.
  3. When the 5-cycle EMA crosses below the 8-cycle and 13-cycle EMAs, a sell signal is generated.
  4. At the same time, combine the ADX indicator to determine the trend strength, only when the trend is strong enough to generate signals.

This realizes the effect of tracking medium and long term trends. When the short cycle moving average crosses above the long cycle moving average, it means that the short-term trend has turned bullish and can be bought; when the short cycle moving average crosses below the long cycle moving average, it means that the short-term trend has turned bearish and should be sold.

Advantage Analysis

The main advantages of this strategy are:

  1. Simple operation, easy to implement.
  2. Make full use of the smoothing effect of EMA to effectively track trends.
  3. Multiple EMA combinations implement crossover to avoid false signals.
  4. Combined with ADX indicator, the signal is more reliable.
  5. Relatively low drawdown and maximum decline.

Risk Analysis

There are also some risks in this strategy:

  1. Stop loss may be greater when trend reverses sharply. The stop loss range can be appropriately relaxed.
  2. High trading frequency may increase transaction costs. EMA parameters can be adjusted appropriately to reduce trading frequency.

Optimization Direction

The strategy can be optimized in the following aspects:

  1. Optimize EMA parameters to find the best parameter combination.
  2. Add other indicators for filtering, such as KDJ, BOLL, etc., to improve signal quality.
  3. Adjust position management to optimize risk control.
  4. Use machine learning methods to find better entry and exit rules.

Summary

In summary, the operation of the fast and slow EMA golden cross breakthrough strategy is smooth, the signals are more reliable, the drawdown is not high, and it is suitable for tracking medium and long term trends. Better strategy results can be obtained through parameter optimization and improved rules.

Source
Pine
/*backtest
start: 2023-11-23 00:00:00
end: 2023-11-30 00:00:00
period: 2h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
// 
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © gregoirejohnb
Strategy parameters
Strategy parameters
Backtest Start Year
Length
Length
Length
Length
Long Only
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)