Type/to search

MACD Multi-Indicator Trend Following Strategy

Cryptocurrency
Created: 2023-09-14 18:09:57
Last modified: 3 years ago
1
Follow
1781
Followers

Strategy Logic

This strategy integrates MACD, moving averages, alligator and more to identify trend direction for trend following.

The logic is:

  1. Compute MACD short, long and histogram lines

  2. Use histogram direction to determine short-term trend

  3. Plot multiple moving averages to gauge price position

  4. Alligator lines judge overall trend strength

  5. Combining above indicators, go long/short when aligned

  6. Stop loss when indicators flip for early reversal

By synthesizing multiple indicators, it aims to trade strong trends and cut losses early when reversals happen.

Advantages

  • MACD judges short-term trend and strength

  • MA positions determine mid- to long-term trends

  • Alligator shows overall trend strength

  • Multiple indicators improve accuracy

Risks

  • Extensive parameter optimization needed

  • Conflicting signals hard to interpret

  • Lagging issues with MAs etc

Summary

This strategy attempts to comprehensively determine trend direction using multiple indicators. But lagging issues and signal conflicts warrant caution despite optimization.

Source
Pine
/*backtest
start: 2023-09-06 00:00:00
end: 2023-09-13 00:00:00
period: 30m
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
strategy("5MSM VISHNU", overlay=true,process_orders_on_close=true)
//indicator(title="mahakaal", shorttitle="mahakaal", timeframe="", timeframe_gaps=true)
Strategy parameters
Strategy parameters
Fast Length
Slow Length
Source
Signal Smoothing
Oscillator MA Type
Signal Line MA Type
Length
Source
Offset
Jaw Length
Teeth Length
Lips Length
Jaw Offset
Teeth Offset
Lips Offset
Color Settings
MACD Line  
Signal Line  
Histogram
Above   Grow
Fall
Below Grow
Fall
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)