Skip to content
All library documents

Using VHF to Adapt the ADXm Indicator’s Calculation Period

Article MQL5 code base

Summary

This note describes an adaptive version of ADXm that uses the vertical horizontal filter (VHF) to vary the indicator’s calculation period instead of relying on a fixed period. The intended effect is to adjust the indicator’s response to changing market conditions: it may react to a sudden volatility increase or continue following a trend, depending on the adaptive calculation.

The guidance recommends experimenting with longer periods because shorter periods are said to gain little from adaptation. The document offers a qualitative description rather than a formula, code, chart, or performance comparison, so it does not show when the adaptation improves signals or trading results. It also gives no detailed parameter settings or rules for entries, exits, and risk controls. The method is best understood here as an indicator adjustment to investigate, not as a complete trading strategy or evidence of profitability.

Key ideas

  • The indicator uses VHF to adapt its calculation period instead of keeping that period fixed.
  • The author suggests testing longer periods because shorter ones may benefit little from adaptation.
  • The adaptive behavior is intended to respond to sudden volatility or persist with an established trend.
  • The note offers no performance evidence or complete trading rules, so parameter testing remains necessary.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.