Skip to content
All library documents

Using a Volatility Distance Indicator in Trading Systems

Article MQL5 code base

Summary

The document presents KCI Volatility Distance as an indicator intended to measure directional strength and market conditions. It describes using its output to confirm momentum, supply a feature to a machine learning model, adjust grid spacing, scan multiple instruments, or inform stop and target management. It outlines two ways to connect the calculation to an expert advisor: embedding an object-oriented class or reading an indicator buffer through a platform function. The examples refer to price history, a calculation period, and a configurable signal threshold.

The document does not provide a complete, independently assessable calculation: the main class implementation is truncated, and no backtest, benchmark, or performance evidence is reported. Its claims about early breakout detection, noise filtering, and low resource use therefore cannot be verified from the material. Some suggested uses, such as widening stops during volatility anomalies or averaging into a grid, also require separate risk controls and validation before deployment.

Key ideas

  • The indicator is presented as a measure of directional strength derived from recent price data.
  • An expert advisor can access the calculation through an embedded class or an indicator buffer.
  • The proposed applications include signal confirmation, machine learning features, grid spacing, and multi-symbol scanning.
  • The supplied implementation is incomplete, and the document reports no empirical results.

Tags

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