peacefulLizard50262

Brown's Exponential Smoothing (BES)

peacefulLizard50262 Zaktualizowano   
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.
Informacje o Wersji:
bug fix
Informacje o Wersji:
minor fix

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?