OPEN-SOURCE SCRIPT

Anchored Moving Averages - Interactive

What is an Anchored Moving Average?

An anchored moving average (AMA) is created when you select a point on the chart and start calculating the moving average from there.
Thus the moving average’s denominator is not fixed but cumulative and dynamic. It is similar to an Anchored VWAP, but neglecting the volume data, which may be useful when this data is not reliable and you want to focus just on price.

Main Features

This interactive indicator allows you to select 3 different points in time to plot their respective moving averages. As soon as you add the indicator to your chart you will be asked to click on the 3 different points where you want to start the calculation for each moving average.

Each AMA (Anchored Moving Average) will be colored according to its slope, using a gradient defined by two user chosen colors in the indicator menu.

The default source for the calculation is the pivot price (HLC3) but can also be modified in the menu.

Examples:

https://www.tradingview.com/x/jmMYcz6P/

https://www.tradingview.com/x/ccNFNCL5/

https://www.tradingview.com/x/QOTnW2Ve/

Enjoy!
AMAanchoredmovingaveragedynamicMoving Averages

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?


@FractalTrade_
Również na:

Wyłączenie odpowiedzialności