mike_dominguez

Moving Average with Start Line

mike_dominguez 已更新   
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.
發布通知:
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.
發布通知:
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.
發布通知:
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.
發布通知:
Updated line to indicate the actual start of the data set rather than the bar before.

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?