peacefulLizard50262

Brown's Exponential Smoothing (BES)

The Brown's Exponential Smoothing indicator is a smoothing function that uses an exponentially weighted moving average to filter the input data. The "alpha" parameter controls the degree of smoothing, with a smaller value resulting in more smoothing and a larger value resulting in less smoothing.

The indicator is implemented as a function, bes, which takes two arguments: source and alpha. The source argument specifies the input data to be smoothed, and the alpha argument specifies the degree of smoothing. The default value for alpha is 0.7, but it can be modified by the user using an input field.

The bes function calculates a smoothed value using the current value of the input data and the previously calculated smoothed value, and updates the value of the smoothed data. This process is repeated for each data point in the input data, resulting in a smoothed version of the data.

The resulting smoothed data is then plotted on the chart using the plot function.

The "BES" indicator can be useful for smoothing noisy or volatile data and making trends in the data more discernible. It may be particularly useful in situations where the input data is highly variable or difficult to interpret due to noise. By adjusting the value of the alpha parameter, the user can control the degree of smoothing applied to the data, allowing them to tailor the indicator to their specific needs and preferences.
發布通知:
bug fix
發布通知:
minor fix

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?