VWAP Sigma Pro Sessions and TWAPX
- Indicatori
-
Musa Khunarikov
📊 Trader professionista dal 2014 (oltre 10 anni di esperienza).
💱 Mercati: Forex, Azioni, MOEX, Metalli.
💻 Sviluppatore MQL4-MQL5. Specializzazione: analisi dei volumi, analisi dei cluster, footprints, delta, profilo dei volumi.
🧠 Esperienza e Approccio: - Versione: 1.0
- Attivazioni: 5
VWAP Sigma Pro Sessions and TWAP
An indicator for MetaTrader 5 that calculates Volume Weighted Average Price (VWAP) and Time Weighted Average Price (TWAP) with volume-weighted sigma channels. It supports 13 periods, including custom trading sessions, and features drag-and-drop anchors for custom periods.
Important: This indicator does not repaint. Closed bars and completed periods are permanently fixed.
What the Indicator Displays
-
VWAP: Volume-weighted average price for the selected period (M15, M30, Hour, H4, Day, Week, Month, All).
-
Session VWAPs: Asia (00:00-09:00), Europe (09:00-15:00), NYSE (15:00-24:00), CME (16:30-23:30). Session borders are configurable.
-
TWAP: Time-weighted average price, useful for instruments with noisy or low volume.
-
Sigma Channels: ±1, ±2, ±3 standard deviations based on volume-weighted variance (configurable up to ±8).
-
Directional Coloring: The VWAP line is green when rising and red when falling.
-
Custom Period: Two draggable vertical lines to anchor the VWAP calculation to any specific event.
-
Volume Types: Total, Bid, or Ask.
Key Capabilities
-
13 distinct periods plus a custom mode with draggable anchor lines.
-
Switch between VWAP and TWAP with one click on the panel.
-
Deviation presets: 1/2/3, 2/4/6, and 2/4/8 (via the DEV button).
-
History limitation by days and a calculation bar limit for optimized performance.
-
Calculation price options: Typical, Close, or OHLC4.
-
Draggable, collapsible panel with position memory and auto-theme.
Parameters
-
InpPeriod — Period selection: M15, M30, HOUR, H4, DAY, WEEK, MONTH, ALL, ASIA, EUROPE, NYSE, CME, CUSTOM.
-
InpMode — Mode: VWAP or TWAP.
-
InpVol — Volume type: TOTAL, BID, ASK.
-
InpDayStartHour — Day start hour in server time (default 1).
-
InpDev1...InpDev6 — Channel deviations (default 1, -1, 2, -2, 3, -3).
-
InpMaxDays — History limit in days (default 10).
-
InpCalcBars — Calculation bar limit (default 3000).
-
InpShowPanel — Show control panel.
Implementation Details
-
Sigma is calculated as volume-weighted standard deviation (not ATR), reflecting the true spread of traded volume.
-
MT5 uses real exchange volume if provided by the data feed, otherwise falls back to tick volume automatically.
-
Sessions and day starts are based on server time; borders are configurable to match your broker's time zone.
-
Panel is built on chart objects for instant switching without flickering.
Important Disclaimer
VWAP and TWAP are analysis tools, not trading systems. The channels are estimates, not guarantees. Bid/Ask in MetaTrader are estimates based on candle shapes, not actual exchange tick data. Always use a Stop Loss and proper risk management. Test on a demo account before live trading.
About the Developer
Musa Khunarikov — developer and practicing trader with 12 years of real market experience and 51 certificates from the Finam Training Center. Specialization: volume analysis, delta, volume profile, VWAP.
Support
30 days of free support after purchase. Bug fixes within 48 hours. Contact via product comments.
