OPEN-SOURCE SCRIPT

Price strength around MA

This indicatorit takes the HMA and calculates the difference between close and HMA. Within a lookback period it adds all values together where price is above/below the HMA. However, it squares the values before adding them together, so that larger differences have a bigger impact (this is to detect breakouts). After that it subtracts all the negative values from the positive ones so that in the end we have one single number that represents price behavior in the lookback period. This number is then added to the difference between an EMA and a SMA to produce the final signal of this indicator.
Moving Averages

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明