Enhanced Moving Average Convergence Trend Strategy
Strategy Logic
This trend following strategy utilizes an enhanced MACD indicator. It calculates fast EMA, slow EMA, their difference, and EMA of that difference to generate signals.
The logic is:
-
Compute fast EMA period, e.g. 12-day
-
Compute slow EMA period, e.g. 26-day
-
Subtract fast from slow EMA to get MACD
-
Take EMA of MACD as signal line, e.g. 9-day
-
EMA of MACD minus signal gives enhanced signal
-
Go long when enhanced signal crosses above zero line
-
Close long when enhanced signal crosses below zero line
The strategy taps into MACD's trend following ability, and optimizes it further for quality mid- to long-term trend signals.
Advantages
-
Enhanced MACD reduces noise and improves signals
-
Fast/slow EMA combo gauges direction and strength
-
Slower parameters focus on mid- to long-term trends
Risks
-
Careful optimization of EMA periods needed
-
LONG only unable to use short opportunities
-
Less frequent signal occurrence
Summary
This strategy leverages enhanced MACD for improved mid- to long-term trend identification. But optimization and risk controls are key. Combining with other factors can improve performance.
/*backtest
start: 2022-09-07 00:00:00
end: 2023-09-13 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=3
//study("MACDAS")
// strategy("macdas",shorttitle="macdas",overlay=true,default_qty_value=10000,initial_capital=10000,currency=currency.USD)
- 1
