OPEN-SOURCE SCRIPT

Pips Stepped VHF-Adaptive VMA w/ Expanded Source Types [Loxx]

By loxx
Updated
Pips Stepped VHF-Adaptive VMA w/ Expanded Source Types [Loxx] is a volatility adaptive Variable Moving Average (VMA) with stepping by pips.

What is Variable Moving Average (VMA)?
VMA (Variable Moving Average) is often mistakenly confused with the VIDYA (Volatility Index Dynamic Average) which is not strange since Tushar Chande took part in developing both. But the VMA was preceding the VIDYA and should not be mistaken for it.

What is Vertical Horizontal Filter (VHF)?
Vertical Horizontal Filter (VHF) was created by Adam White to identify trending and ranging markets. VHF measures the level of trend activity, similar to ADX in the Directional Movement System. Trend indicators can then be employed in trending markets and momentum indicators in ranging markets.

VMA, as is, is a "good candidate" for this type of filtering since it tends to produce prolonged periods of nearly horizontal values when the volatility of the market is low, so, when the step filtering is applied to it, the small slope changes that are happening as a results of the semi EMA calculation are filtered out, and signals are becoming more usable.

Included:
-Color bars
-Show signals
-Long/short alerts

Release Notes
Small error fix
Release Notes
Small fix.
Release Notes
Fixed errors
Release Notes
Fixed errors
adaptivepipspipssteppingsteppedsteppingTrend AnalysisvariablemovingaverageverticalhorizontalfilterVertical Horizontal Filter (VHF)vma
loxx
Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer