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.

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?