imzeeshan

Distance to MA

imzeeshan Mis à jour   
Summary:

Calculate the distance of the price to a moving average. Also be able to identify if the average distance is decreasing or increasing based on signal line.

Details
Length: The moving average length to measure against.
Source: The price input source use to measure the distance from.
Signal Length: The average of distance between Source and MA.

If the average is increasing the color of the signal line will be green and if it is decreasing then it will be red.
Notes de version:
The indicator now has the ability to show distance and signal as a percentage from the moving average.


Quadrant top left shows distance and signal line from the MA in terms of dollar amount.

Quadrant top left shows distance and signal line from the MA in terms of percentage.

Quadrant bottom left shows distance from MA in terms of dollar amount and signal line from the MA in terms of percentage. This is perhaps the most important measure of strength and also can be an indicator for overbought or oversold levels.

Quadrant bottom right shows distance from MA in terms of percentage and signal line from the MA in terms of dollar amount.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

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.

Vous voulez utiliser ce script sur un graphique ?