Skip to content
All library documents

Rounded High-Low Volatility Indicator with Step Levels

Article MQL5 code base

Summary

This document describes an indicator that measures an asset’s volatility from the distance between smoothed maximum and minimum prices. It uses a moving average over a configurable period, converts the resulting range into points, and rounds the value to levels set by a starting level and spacing. The indicator also exposes controls for the averaging method, period, horizontal shift, number of levels, and level color.

The document explains the calculation and lists its inputs, but provides no market examples, performance results, or guidance on how to interpret the readings or use them in a trading strategy. Its usefulness is therefore as a description of a configurable volatility measure. The calculation details are brief, and the text does not specify the exact rounding behavior or how the level grid should inform trading decisions.

Key ideas

  • The indicator estimates volatility from the difference between smoothed highs and lows.
  • It converts the range into points and rounds it to a configurable level grid.
  • The averaging method, period, shift, level count, starting level, and spacing are configurable.
  • The document does not provide trading rules or performance evidence.

Tags

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