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.
Notes de version:
bug fix
Notes de version:
minor fix

Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?