mike_dominguez

Moving Average with Start Line

mike_dominguez Atualizado   
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.
Notas de Lançamento:
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.
Notas de Lançamento:
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.
Notas de Lançamento:
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.
Notas de Lançamento:
Updated line to indicate the actual start of the data set rather than the bar before.

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?