OPEN-SOURCE SCRIPT

Gaussian Ribbon

已更新
The Gaussian Ribbon utilizes two "Arnaud Legoux" moving averages with the same length to identify changes in trend direction. The plotted channel consists of two lines, one based on the default offset and sigma values, and the other with slightly adjusted customizable parameters.

  • ALMA is a type of moving average that is related to the Gaussian function through its mathematical formula and the concept of weighted averages.


  • The ALMA is designed to reduce lag in moving averages and provide more timely responses to price changes. It achieves this by applying a Gaussian distribution (bell-shaped curve) as a weighting function to the price data.


  • The Gaussian function is used to calculate the weights in the ALMA formula. These weights give more importance to recent price data while gradually reducing the influence of older data points. This results in a smoother and more responsive moving average.


In summary, the Gaussian Ribbon uses the offset and power of the second ALMA to create a lag that still calculates using the same length.
發行說明
Updated default parameters due to a style setting issue, you can change the default colors and transparency from the pine editor for the time being
發行說明

  • Minor script reorganization and V6 update
Bands and ChannelsMoving Averages

開源腳本

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

想在圖表上使用此腳本?


KP

免責聲明