Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Göstergeler

Periodic VWAP Bands - MetaTrader 5 için gösterge

Görüntülemeler:
94
Derecelendirme:
(1)
Yayınlandı:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

Periodic VWAP Bands plots the volume-weighted average price (VWAP) of the current day, week or month on the main chart, with two pairs of standard-deviation bands around it. VWAP is the average price weighted by how much trading happened at each level, so it is often used as the "fair value" of the session. The bands show how stretched price is from that value.

How it works

  • Each bar's typical price (High + Low + Close) / 3 is weighted by its tick volume (or real volume, if you choose it and the symbol provides it; otherwise it falls back to tick volume).
  • VWAP = sum(typical price x volume) / sum(volume) since the start of the period.
  • The bands are VWAP +/- k x the volume-weighted standard deviation of the typical price over the same period (defaults k = 1.0 and 2.0).
  • Everything resets at the start of each Day, Week (Sunday, server time) or Month. An optional session start hour moves the reset, for example to 08:00 server time for a London-session VWAP.
  • Each period is drawn separately: there is a gap at each reset, so one period's lines never join the next.
  • An optional dotted line carries the previous period's final VWAP across the current period, a level that price often reacts to.

Panel

  • Reset period (Daily / Weekly / Monthly, plus the session hour if set).
  • Current VWAP.
  • Distance of price from VWAP in price and in points (for example on XAUUSD with 3-digit pricing, 17.010 = 17010 points).
  • Sigma: the distance in band units, for example +1.11 sigma, with the size of one standard deviation.
  • Zone: where price is, for example "VWAP to +1.0 band", "Between +1.0 and +2.0" or "Below -2.0 band".
  • Previous period VWAP and the number of bars in the current period.

Ideas for use

  • Use VWAP as a reference for the day's fair value: intraday buyers are in profit above it, sellers below it.
  • Treat moves to the +/-2 sigma bands as stretched; watch for mean reversion, or for a breakout if price keeps closing outside.
  • Use the weekly or monthly VWAP on H1/H4 for swing context, and the daily VWAP on M5-M30 for intraday work.
  • Watch the previous period's VWAP as a support/resistance reference.

Alerts

Optional alerts when a closed bar crosses VWAP or closes beyond an outer band (one alert per bar, no alerts across a reset).

Notes

  • Works on any symbol and timeframe below the reset period (for example M1-H4 for the daily VWAP). Forex and CFD symbols usually have only tick volume, which is the default.
  • Calculation is incremental: each new bar only extends the running sums of the bar before it, so it stays light even on long histories.
  • Information only. It does not open, close or modify trades, and it does not predict price direction.

Inputs

  • Reset period (Day): Day, Week (starts Sunday, server time) or Month
  • Session start hour offset (0): server hour (0-23) at which each period starts; 0 = midnight
  • Volume used as weight (Tick volume): tick volume, or real volume (falls back to tick volume if the symbol has none)
  • Inner band multiplier (1.0): standard deviations for the inner bands
  • Outer band multiplier (2.0): standard deviations for the outer bands
  • Show previous period's final VWAP (true): dotted line of the previous period's last VWAP
  • Show info panel (true): shows the panel on the chart
  • Panel corner (Left upper): chart corner for the panel
  • Panel text colour (WhiteSmoke): colour of the panel text
  • Panel background colour (Dark grey): background of the panel
  • Panel font size (9): font size of the panel
  • Alert when a closed bar crosses VWAP (false): pop-up alert on a VWAP cross
  • Alert when a closed bar crosses an outer band (false): pop-up alert on a close beyond the outer band
Solfeo - the market as a score (candles to MIDI) Solfeo - the market as a score (candles to MIDI)

A script that turns candles into a MIDI file: one instrument per symbol, meter detected from the data, pitch from the move, duration from the candle body.

Export candles and indicators data to external csv file Export candles and indicators data to external csv file

Dynamically export customizable historical bar data (OHLC, Tick Volume) and selected technical indicators (RSI, MACD, ATR, ADX, Stochastic, CCI, MFI, Momentum) directly to a clean .csv file with automatic header generation.

Currency Strength Meter Currency Strength Meter

Shows the relative strength of USD, EUR, GBP, JPY, CHF, CAD, AUD and NZD, plus an optional gold (XAU) line, built from the 28 major pairs, with a strongest-to-weakest ranking panel.

Prior Levels and Pivots Prior Levels and Pivots

Draws the previous day, week or month high, low and close, the current period open and Classic, Fibonacci, Camarilla or Woodie pivots for each period, with a panel showing the nearest level above and below price.