OPEN-SOURCE SCRIPT

Price Deviation from MA5 (%)

34
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 위에 있는지 아래에 있는지를 한눈에 파악할 수 있습니다.
이 지표는 단기 과열/과매도 구간을 파악하거나, 일중 변동성의 흐름을 분석할 때 유용합니다.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.