OPEN-SOURCE SCRIPT

Price/MA Deviation Angle

541
This indicator visualizes the angular deviation of price from a selected moving average (default: 21 EMA). It calculates the angle, in degrees, formed by the vertical distance between price and the moving average — assuming a one-bar horizontal distance.

Positive angles indicate upward deviation (bullish pressure).

Negative angles reflect downward deviation (bearish pressure).

0° represents perfect alignment between price and the MA.

±45° thresholds can be used as reference for strong momentum.

This tool offers a normalized, intuitive perspective on price momentum using geometric interpretation rather than price-to-price delta.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.