OPEN-SOURCE SCRIPT

Volatility Based Momentum (VBM)

The Volatility Based Momentum (VBM) indicator is a variation on the rate-of-change (ROC) indicator. Instead of expressing momentum in a percentage gain or loss, VBM normalizes momentum using the historical volatility of the underlying security.

The VBM indicator offers numerous benefits to traders who orient their trading around volatility. For these traders, VBM expresses momentum in a normalized, universally applicable ‘multiples of volatility’ (MoV) unit. Given the universal applicability of MoV, VBM is especially suited to traders whose trading incorporates numerous timeframes, different types of securities (e.g., stocks, Forex pairs), or the frequent comparison of momentum between multiple securities.

The calculation for a volatility based momentum (VBM) indicator is very similar to ROC, but divides by the security’s historical volatility instead. The average true range indicator (ATR) is used to compute historical volatility.

VBM(n,v) = (Close - Close n periods ago) / ATR(v periods)

For example, on a daily chart, VBM(22,65) calculates how many MoV price has increased or decreased over the last 22 trading days (approximately one calendar month). The second parameter is the number of periods to use with the ATR indicator to normalize the momentum in terms of volatility.

For more details, there is an article further describing VBM and its applicability versus ROC.
Average True Range (ATR)Momentum Indicator (MOM)swingtradingVolatility

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian