mike_dominguez

Moving Average with Start Line

mike_dominguez Telah dikemas kini   
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.
Nota Keluaran:
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.
Nota Keluaran:
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.
Nota Keluaran:
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.
Nota Keluaran:
Updated line to indicate the actual start of the data set rather than the bar before.

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?