Skip to content
All library documents

Comparing Recent and Earlier Volume Averages for Breakout Signals

Article MQL5 code base

Summary

This short note explains a way to compare recent trading volume with an earlier block of bars. For example, on a one-minute chart, one group can average the latest 20 bars while another covers bars 21 through 60. To include 60 earlier bars in the second group, its endpoint must be set farther back. The difference between the averages measures the change in volume; dividing the recent average by the earlier one expresses the change as a relative increase or decrease.

The author suggests using this comparison alongside price action when looking for breakouts or following trends. The text describes the calculation and intended use, but supplies no tested entry or exit rules, market, performance evidence, or risk controls. It is a conceptual explanation of a volume comparison indicator rather than a validated standalone strategy; the usefulness of any signal would depend on the instrument, timeframe, and how it is tested.

Key ideas

  • Compare the average volume of a recent bar group with an earlier, non-overlapping group.
  • Use the difference between averages or their ratio to describe how volume has changed.
  • The example uses a one-minute chart and explains how group endpoints determine the number of bars included.
  • The author suggests combining volume comparison with price action for breakout or trend-following analysis.
  • The note gives no performance evidence or complete trading rules.

Tags

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