OPEN-SOURCE SCRIPT
EMA Rejection Counter

EMA Rejection Counter
EMA Rejection Counter is a simple yet powerful tool designed to measure how often price gets rejected from key exponential moving averages. Instead of guessing which EMA “respects price” the most, this indicator gives you actual data.
What It Does
This indicator tracks and counts rejection events on up to three customizable EMAs.
A rejection is defined as:
Price approaches the EMA
Touches the EMA during the candle
Then closes away from it
This helps identify which EMA is acting as the most reliable dynamic support/resistance.
Features
✅ Track 3 customizable EMAs (default: 25 / 50 / 100)
✅ Automatic detection of bullish & bearish rejections
✅ Live rejection counter for each EMA
✅ On-chart labels (R1, R2, R3) to visualize rejection points
✅ Clean table display showing total counts
✅ Highlights the most respected EMA in real-time
How to Use
Use this tool to identify which EMA price is reacting to most
Combine with your trend strategy (e.g., pullbacks, continuations)
The EMA with the highest rejection count often acts as the key level
Example Use Cases
Finding the best EMA for your strategy
Confirming dynamic support/resistance
Filtering entries based on EMA reactions
Enhancing trend-following systems
Notes
This is a statistical tool, not a standalone trading signal
Works best when combined with price action and market structure
Results may vary across timeframes and assets
EMA Rejection Counter is a simple yet powerful tool designed to measure how often price gets rejected from key exponential moving averages. Instead of guessing which EMA “respects price” the most, this indicator gives you actual data.
What It Does
This indicator tracks and counts rejection events on up to three customizable EMAs.
A rejection is defined as:
Price approaches the EMA
Touches the EMA during the candle
Then closes away from it
This helps identify which EMA is acting as the most reliable dynamic support/resistance.
Features
✅ Track 3 customizable EMAs (default: 25 / 50 / 100)
✅ Automatic detection of bullish & bearish rejections
✅ Live rejection counter for each EMA
✅ On-chart labels (R1, R2, R3) to visualize rejection points
✅ Clean table display showing total counts
✅ Highlights the most respected EMA in real-time
How to Use
Use this tool to identify which EMA price is reacting to most
Combine with your trend strategy (e.g., pullbacks, continuations)
The EMA with the highest rejection count often acts as the key level
Example Use Cases
Finding the best EMA for your strategy
Confirming dynamic support/resistance
Filtering entries based on EMA reactions
Enhancing trend-following systems
Notes
This is a statistical tool, not a standalone trading signal
Works best when combined with price action and market structure
Results may vary across timeframes and assets
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.