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

保護スクリプト

このスクリプトは保護スクリプトとして公開されており、個人利用として利用することは可能です。

チャートでこのスクリプトを利用したいですか?

免責事項