OPEN-SOURCE SCRIPT

EMA Crossover with RSI Divergence

38
How It Works:
The 21 EMA crosses over the 55 EMA (bullish signal).
The 21 EMA crosses under the 55 EMA (bearish signal).
RSI Divergence is checked:
Bullish divergence occurs when price forms a higher low, but RSI forms a lower low.
Bearish divergence occurs when price forms a lower high, but RSI forms a higher high.
When both conditions match, a Buy (green arrow) or Sell (red arrow) signal is generated.
Would you like any modifications, such as alerts or additional filters? 🚀

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.