mike_dominguez

Moving Average with Start Line

mike_dominguez Zaktualizowano   
This script paints a vertical line on the starting bar of a simple moving average to help anticipate directional changes. The line is the same color as the MA.
Informacje o Wersji:
This simple moving average paints a vertical line indicating the oldest data point of a moving average. For example, a 10-period moving average would have a vertical line 10 bars back. This helps anticipate directional changes in the moving average as taught by Brian Shannon of Alphatrends.

For those who wish, you can modify the code to change from a vertical line to a diamond label placed on the moving average.
Informacje o Wersji:
This simple moving average paints a vertical line on the oldest data point in the data set to help anticipate directional changes. For example, a 10-period moving average should have a line 10 bars back. This helps anticipate directional changes in a moving average as popularized by Brian Shannon of Alphatrends.
Informacje o Wersji:
This simple moving avearge prints a line on the oldest data point in the data set for the length of the MA. For example, a 10-period MA would have a line 10 bars back. When the next bar prints, that data point will fall off. This helps anticipate directional changes in a MA as popularized by Brian Shannon of Alphatrends.
Informacje o Wersji:
Updated line to indicate the actual start of the data set rather than the bar before.

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?