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精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明