PROTECTED SOURCE SCRIPT
Pinks Moving Average Significance

This indicator is meant as a means to assess the significance ("strength") of a Moving Average [MA], in other words how likely it is that price action is going to find support or resistance at the MA.
How it works
When the high or low of a candle is within the band around the MA defined by the "fuzziness" parameter, the significance of the MA increases proportional to how close the wick is to center of the band. When the price crosses fully through the band, its significance decreases. The strength will slowly decrease based on the "Lag Length" parameter.
The significance of the MA can be seen from the strength of its bands color.
How to use
MA Length: The length of the Moving Average.
Fuzziness[%]: Width of the MA band, in percent.
Lag Length: How slowly the MA strength changes.
Source: Source data for Moving Average.
SMA Cross Penalty: How strongly the strength of the MA is reduced when price crosses it. Recommended to leave at default value.
Full color at [%]: When the MA is at this percentage of its full strength, the color of the band will be completely opaque.
How it works
When the high or low of a candle is within the band around the MA defined by the "fuzziness" parameter, the significance of the MA increases proportional to how close the wick is to center of the band. When the price crosses fully through the band, its significance decreases. The strength will slowly decrease based on the "Lag Length" parameter.
The significance of the MA can be seen from the strength of its bands color.
How to use
MA Length: The length of the Moving Average.
Fuzziness[%]: Width of the MA band, in percent.
Lag Length: How slowly the MA strength changes.
Source: Source data for Moving Average.
SMA Cross Penalty: How strongly the strength of the MA is reduced when price crosses it. Recommended to leave at default value.
Full color at [%]: When the MA is at this percentage of its full strength, the color of the band will be completely opaque.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.