PROTECTED SOURCE SCRIPT

EMA Deviation Divergence Indicator (EDDI)


Overview
This indicator analyzes price deviation from EMA200 and provides trading signals by detecting divergences using MACD and RSI.
Key Features
Deviation Analysis
• Calculates price deviation from 200-day EMA
• Color-coded histogram display:
• Positive: Red shades (>1%, 2%, 3%, 4%)
• Negative: Green shades (<-1%, -2%, -3%, -4%)
Dynamic Bands
• Upper/Lower bands based on 200-bar average deviation
• Adjustable deviation settings (extraDev parameter)
Divergence Detection
• Regular and Hidden divergence
• MACD histogram-based divergence
• RSI-based divergence
Parameter Settings
Basic Configuration
• EMA Period: 200 (default)
• Additional Deviation (%): 1.0 (default)
• Pivot Period: Customizable
• Maximum Bars to Check: Customizable
RSI Settings
• Length: 6 (default)
• Overbought: 80 (default)
• Oversold: 20 (default)
Display Options
• Customizable divergence line styles and colors
• Pivot point display options
• Divergence number display options
Trading Signals
Buy Signals
• Price breaks below lower band
• RSI enters oversold zone
• MACD histogram in negative zone
• Bullish divergence occurrence
Sell Signals
• Price breaks above upper band
• RSI enters overbought zone
• MACD histogram in positive zone
• Bearish divergence occurrence
Alert Settings
• Bullish/Bearish Regular divergence
• Bullish/Bearish Hidden divergence
• Band breakout alerts
• Combined signal alerts
Usage Tips
• Monitor histogram color changes
• Check band position during divergence
• Confirm RSI and MACD signals
• Higher reliability with multiple divergence signals
Important Notes
• Avoid excessive deviation settings
• Don't trade solely on divergence
• Consider overall market conditions
• Recommended backtesting for optimal parameters

Bands and ChannelsCandlestick analysisChart patterns

보호된 스크립트입니다

이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항