Skip to content
All library documents

Adaptive VWAP Sessions, Filtering, and State Persistence

Article MQL5 code base

Summary

This document describes a MetaTrader 5 VWAP indicator designed to adapt session resets to different asset classes. It lists automatic asset classification, timezone-aware session handling, and a 17:00 New York rollover for forex, gold, and energy. It also describes filtering based on median volume to reduce the influence of anomalous ticks or volume spikes, plus disk caching intended to preserve accumulated price-volume, volume, and statistics across terminal restarts or timeframe changes. A chart panel reports distance from VWAP, session volume and bar count, and timezone and server offset information.

The description presents implementation features but offers no calculation details sufficient to reproduce the indicator, no validation results, and no evidence for the claims of institutional accuracy, low latency, or suitability for high-frequency trading. It does not identify data sources, specify how asset classification is verified, or explain how the volume filter affects VWAP values. Treat it as a feature overview rather than an independently supported performance or reliability assessment.

Key ideas

  • The indicator adjusts VWAP session resets according to detected asset class and session conventions.
  • It describes timezone handling that accounts for daylight saving changes.
  • Median-volume filtering is intended to reduce distortion from anomalous volume observations.
  • Persistent caching is designed to retain session calculations across restarts and timeframe changes.
  • The document provides no independent validation, performance results, or full calculation specification.

Tags

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