OPEN-SOURCE SCRIPT
Price Deviation from MA5 (%)

This Pine Script calculates and visualizes the percentage deviation of the current price from the 5-day simple moving average (SMA5).
The blue line represents the daily deviation (%) from the 5-day moving average.
The orange line shows the 10-day average of the deviation, providing a smoother trendline for volatility analysis.
A gray baseline at 0% helps identify whether the price is trading above or below the SMA5.
This indicator is helpful for identifying short-term overbought or oversold conditions and tracking intraday volatility behavior.
이 Pine Script는 현재 종가가 5일 이동평균선(MA5)으로부터 얼마나 떨어져 있는지(이격률, %)를 계산하고 시각화합니다.
파란색 선은 매일의 이격률(%)을 나타냅니다.
주황색 선은 이격률의 10일 평균값으로, 보다 부드러운 추세선을 제공합니다.
**0% 기준선(회색)**을 통해 현재 가격이 MA5 위에 있는지 아래에 있는지를 한눈에 파악할 수 있습니다.
이 지표는 단기 과열/과매도 구간을 파악하거나, 일중 변동성의 흐름을 분석할 때 유용합니다.
The blue line represents the daily deviation (%) from the 5-day moving average.
The orange line shows the 10-day average of the deviation, providing a smoother trendline for volatility analysis.
A gray baseline at 0% helps identify whether the price is trading above or below the SMA5.
This indicator is helpful for identifying short-term overbought or oversold conditions and tracking intraday volatility behavior.
이 Pine Script는 현재 종가가 5일 이동평균선(MA5)으로부터 얼마나 떨어져 있는지(이격률, %)를 계산하고 시각화합니다.
파란색 선은 매일의 이격률(%)을 나타냅니다.
주황색 선은 이격률의 10일 평균값으로, 보다 부드러운 추세선을 제공합니다.
**0% 기준선(회색)**을 통해 현재 가격이 MA5 위에 있는지 아래에 있는지를 한눈에 파악할 수 있습니다.
이 지표는 단기 과열/과매도 구간을 파악하거나, 일중 변동성의 흐름을 분석할 때 유용합니다.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。