peacefulLizard50262

Brown's Exponential Smoothing Tool (BEST)

Brown's Exponential Smoothing Tool (BEST) is a script for technical analysis in financial markets. It is designed to smooth out price fluctuations and identify trends in a given time series data.

The script begins by defining the "BEST" indicator, which will be overlaid on top of the chart. The user can then specify the source of the data (e.g. close price) and set the values for the smoothing factor (alpha) and the style of exponential smoothing (BES, DBES, or TBES).

The script then defines three functions for calculating the exponential smoothing: "bes", "tbes", and "dbes". The "bes" function applies a single iteration of exponential smoothing to the input data, using the specified alpha value. The "tbes" function applies three iterations of exponential smoothing, using the triple exponential moving average (TEMA) formula to smooth out the data even further. The "dbes" function applies two iterations of exponential smoothing, using the double exponential moving average (DEMA) formula to smooth out the data.

Finally, the script defines a "ma" function, which returns the exponential smoothing result based on the style selected by the user. The script plots the result of the "ma" function on the chart, using the color orange.

In summary, Brown's Exponential Smoothing Tool is a script for smoothing out financial time series data and identifying trends. It allows the user to choose from three different styles of exponential smoothing, each of which has its own strengths and weaknesses. By applying exponential smoothing to financial data, traders and analysts can better understand the underlying trends and make more informed decisions.

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 ?