OPEN-SOURCE SCRIPT

Triangular Moving Average

The TRIMA is simply the SMA of the SMA -- a double-smoothed simple moving average . The end effect of the double smoothing is that greater weight is placed on values near the middle of the lookback period. It therefore reacts relatively slowly to price changes compared to most moving averages .

But why would I want more lag?
One potential use of this moving average that I've found is that it can allow price to run for a bit after crossing the TRIMA before catching up and creating an opposing signal. It therefore creates the chance for the price to "run its course" so to speak, which can make whipsaw signals less common.
doublelagMoving AveragessmoothedTriangleweighting

開源腳本

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

想在圖表上使用此腳本?


更多:

免責聲明