거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Periodic VWAP Bands - MetaTrader 5용 지표

조회수:
94
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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.