MetaTrader 5 ships with MarketProfile, but it does not segment volume by individual…

MQL5 Algo Trading, @mql5dev

Open in Telegram
#4231Photo

MetaTrader 5 ships with MarketProfile, but it does not segment volume by individual swing legs. A swing-based profile can be built from OHLC and platform tick volume to study volume concentration inside each completed high-to-low and low-to-high move. Core logic: confirm swing highs/lows using a configurable window and next-bar validation, then connect confirmed points with a ZigZag leg. For each finished leg, compute the swing range, create ATR(200)/2 adaptive price bins, and allocate each bar’s tick volume to a bin using the close. After aggregation, the highest-volume bin is marked as the POC and the full profile is rendered with chart rectangles scaled by relative volume. Results reflect tick volume, not exchange-level order flow. 👉 Read | AlgoBook | @mql5dev

Open in Telegram
Views8,168−10%vs avg
Forwards10
Reactions35
Comments—

Views growth

Hours after publication

Show as table
Hours after publicationViews
0 h0
26 h7,311
43 h8,168
  1. After 24 hours7,311
  2. Total to date8,168

More from MQL5 Algo Trading

  1. 01
    Views12.5K
    Forwards5
    Reactions34
    Comments—
  2. 02
    Views12K
    Forwards6
    Reactions40
    Comments—
  3. 03
    Views11.3K
    Forwards5
    Reactions31
    Comments—
  4. 04
    Views11.1K
    Forwards5
    Reactions29
    Comments—
  5. 05
    Views10.6K
    Forwards4
    Reactions27
    Comments—

All posts of MQL5 Algo Trading