OPEN-SOURCE SCRIPT
EMA/ATR/RSI

This indicator overlays three key technical measures—Exponential Moving Average (EMA), Average True Range (ATR), and a custom-scaled Relative Strength Index (RSI)—on your price chart, all using the same lookback period.
Features
• EMA (Exponential Moving Average): Smooths price action to highlight trend direction.
• ATR (Average True Range): Measures market volatility via an RMA-smoothed True Range.
• RSI (Modified): Scales the standard RSI by subtracting 35 and multiplying by 2, shifting the baseline for clearer momentum signals.
Inputs
• period (integer): Lookback length for EMA, ATR, and RSI calculations (default: 14).
How to Use
1. Adjust period to suit your preferred timeframe (e.g., 14 for daily charts, 7 for intraday).
2. Use the EMA line to identify trend direction and dynamic support/resistance.
3. Monitor ATR to gauge changing volatility—wider bands signal stronger moves.
4. Watch the modified RSI crossovers around zero:
• Above 0: Bullish momentum
• Below 0: Bearish momentum
Combine these three overlays to refine entries, exits, and stop-loss placement based on trend strength, volatility, and momentum all in one view.
Features
• EMA (Exponential Moving Average): Smooths price action to highlight trend direction.
• ATR (Average True Range): Measures market volatility via an RMA-smoothed True Range.
• RSI (Modified): Scales the standard RSI by subtracting 35 and multiplying by 2, shifting the baseline for clearer momentum signals.
Inputs
• period (integer): Lookback length for EMA, ATR, and RSI calculations (default: 14).
How to Use
1. Adjust period to suit your preferred timeframe (e.g., 14 for daily charts, 7 for intraday).
2. Use the EMA line to identify trend direction and dynamic support/resistance.
3. Monitor ATR to gauge changing volatility—wider bands signal stronger moves.
4. Watch the modified RSI crossovers around zero:
• Above 0: Bullish momentum
• Below 0: Bearish momentum
Combine these three overlays to refine entries, exits, and stop-loss placement based on trend strength, volatility, and momentum all in one view.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。