✅ Identify trend strength with a dynamically smoothed MACD signal.
✅ Detect bullish and bearish divergences in real time.
✅Implement Crossover/Crossunder signals tied to ATR-based trailing stops for risk management
Bullish Divergence Setup:
- Look for MACD making a higher low, while price makes a lower low.
- Enter long when MACD confirms upward momentum.
Bearish Divergence Setup:
- Look for MACD making a lower high, while price makes a higher high.
- Enter short when MACD confirms downward momentum.
✅ MACD crosses above the Holt–Winters signal.
✅ A bullish trailing stop is placed using low - ATR × Multiplier.
✅ Exit if the price crosses below the stop.
✅ MACD crosses below the Holt–Winters signal.
✅ A bearish trailing stop is placed using high + ATR × Multiplier.
✅ Exit if the price crosses above the stop.