Type/to search

Dual EMA Golden Cross Long Line Strategy

Cryptocurrency
Created: 2024-02-23 12:17:40
Last modified: 2 years ago
1
Follow
1778
Followers

img

Overview

The Dual EMA Golden Cross Long Line strategy is a trend tracking strategy that only opens long positions. The strategy uses three moving averages, short-term EMA, medium-term EMA and long-term EMA. The specific entry rule is: open long when the price is above the long-term EMA and the short-term EMA crosses above the medium-term EMA to form a golden cross.

Strategy Logic

  1. Calculate short-term EMA, medium-term EMA and long-term EMA using three EMA periods that are configurable.

  2. If the price is above the long-term EMA, it proves that it is currently in a bullish trend.

  3. If the short-term EMA crosses above the medium-term EMA from below to form a golden cross, it further proves that the bullish trend is strengthening.

  4. When both conditions above are met at the same time, open long.

Advantage Analysis

The biggest advantage of this strategy is that it can effectively identify trends by using multi-period EMAs combined judgment to avoid being misled by short-term market noise. At the same time, stop loss is configured as a risk control means to keep losses within a certain range.

Risk Analysis

The main risk of this strategy is the long position. When the market reverses, it is unable to close positions in time, leading to the risk of expanding losses. In addition, improper EMAs period setting can also lead to frequent trading and increase transaction costs.

Optimization Direction

  1. Increase position sizing management to reduce positions when drawdowns reach a certain percentage.

  2. Increase stop loss settings when breaking new highs.

  3. Optimize EMAs period parameters to reduce trading frequency.

Summary

This strategy is overall a stable high-quality long-term holding strategy. It has strong ability to identify trends with proper risk control. With further optimization, it is expected to obtain better stable returns.

Source
Pine
/*backtest
start: 2024-01-01 00:00:00
end: 2024-01-31 23:59:59
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
strategy("Strategia EMA Long con Opzioni di Uscita Avanzate e Periodi EMA Personalizzabili", overlay=true)

// Parametri di input generali
Strategy parameters
Strategy parameters
Usa Filtro di Volatilità
Periodi ATR
Moltiplicatore ATR
Usa Trailing Stop
Percentuale Trailing Stop
Usa Uscita EMA Corta incrocia EMA Media al Ribasso
Periodo EMA Lungo Termine
Periodo EMA Breve Termine
Periodo EMA Medio Termine
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)