Pinks

Pinks Moving Average Significance

This indicator is meant as a means to assess the significance ("strength") of a Moving Average , 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.
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?