VP Indicator

Distribution of trades by price levels over a given time interval.

Parameters

  • Mode / Mode: Operating mode:
    • Period Mode: breakdown by periods
    • Range Mode: single range
  • PERIOD MODE: Parameters for Period Mode
    • Range Period / RangePeriod: period, only standard values from M1 to MN1
    • Range Count / RangeCount: number of ranges
    • Time Zone Shift / TimeShift: time zone shift from -12 to +12 hours with a step of 1 hour
    • Histogram Position / HgPosPeriod: histogram position/direction:
      • Left to Right: left to right
      • Right to Left: right to left
      • Left to Center: from left edge to center
      • Center to Left: from center to left edge
      • Center to Right: from center to right edge
      • Right to Center: from right edge to center
    • Zoom Type / ZoomType: zoom type:
      • Custom Zoom...: custom, one for all histograms
      • Automatic Zoom (global): automatic, one for all
      • Automatic Zoom (local): automatic, separately for each histogram
    • Custom Zoom / ZoomCustom: custom zoom value
  • RANGE MODE: Parameters for Range Mode
    • Range Selection / RangeSelection: method of specifying range boundaries:
      • Between lines: between two lines
      • Last minutes: last Range Size minutes
      • Minutes to line: Range Size minutes up to the right line
      • Last bars: last Range Size bars
      • Bars to line: Range Size bars up to the right line
    • Range Size (minutes or bars) / RangeSize: number of minutes or bars for Range Selection (except Between Lines)
    • Histogram Position / HgPosition: histogram position: – Window left: left edge of the window
        • Window right: right edge of the window

        • Left outside: from the left range boundary to the left

        • Right outside: from the right range boundary to the right

        • Left inside: from the left range boundary to the right

      • Right inside: from the right range boundary to the left
  • DATA / Data Source Parameters
    • Data Source / DataSource: Data Source:
      • Ticks (MT5 only): ticks from your broker’s server (if available)
      • M1..D1: interpolated ticks based on bars of the specified timeframe (see Bar Distribution)
      • Current Timeframe: current timeframe
    • Bar Distribution / BarTicks: distribution of ticks within a bar
    • Volume Type (MT5) / VolumeType (MT5 only): volume type, tick or real; real volume might be unavailable from the broker, in which case the indicator will show nothing
  • TICK (MT5): Tick parameters (MT5 only)
    • Type of Requested Ticks / TicksType: type of requested ticks (see MQL5 CopyTicks function help)
    • Price Type / TickPriceType: price type:
      • Bid Price: Bid price
      • Ask Price: Ask price
      • Last Price: Last price
      • Bid/Ask Average: Bid and Ask average
      • Last or Bid/Ask Average: Last, or Bid and Ask average if Last price is not specified
    • Bid Price Changed / TickBid: tick changed Bid price
    • Ask Price Changed / TickAsk: tick changed Ask price
    • Last Price Changed / TickLast: tick changed Last price
    • Volume Changed / TickVolume: tick changed volume
    • Buy Deal / TickBuy: tick resulted from a buy deal
    • Sell Deal / TickSell: tick resulted from a sell deal
  • CALCULATION: Calculation parameters
    • Mode Step (points) / ModeStep: minimum step between modes, chosen subjectively for each instrument
    • Price Step / HgPointScale: histogram price step, a larger value means faster operation but rougher display
    • Smooth Depth / Smooth: smoothing degree, 0 for off
  • HISTOGRAM: Histogram
    • Bar Style / HgBarStyle: Histogram Bar Style:
      • Lines: lines
      • Empty bar: empty rectangles
      • Filled bar: filled rectangles
      • Outline: outline
      • Color: color
    • Coloring / HgColoring: Histogram Coloring Method:
      • No histogram: do not show histogram
      • 1st color only: only first color
      • 2nd color only: only second color
      • Split by mean: split by mean (colors 1 and 2)
      • Split by Q1 (25%): split by first quartile (colors 1 and 2)
      • Split by Q2 (50%, median): split by second quartile – median (colors 1 and 2)
      • Split by Q3 (75%): split by third quartile (colors 1 and 2)
      • Quartile gradient: quartile gradient (4 colors from 1 to 2)
      • Gradient (10 levels): 10-level gradient (10 colors from 1 to 2)
      • Gradient (50 levels): 50-level gradient (50 colors from 1 to 2)
    • Color 1 / HgColor: histogram color 1, None to use chart background color
    • Color 2 / HgColor2: histogram color 2, None to use chart background color
    • Line Width / HgLineWidth: line width when drawing histogram
    • Histogram Width (% of normal) / HgWidthPct: Histogram Width (% of normal), when displayed within the range, normal width is 100%, in other cases – 15%
  • LEVELS: Levels
    • Mode Color / ModeColor: color of local maxima (distribution modes), None to disable
    • Maximum Color / MaxColor: maximum color, None to disable
    • Mode Line Width / ModeLineWidth: mode line width
    • VWAP Color / VwapColor: color of VWAP (Volume Weighted Average Price), None to disable
    • Quantiles / Quantiles: quantiles:
      • No quantiles or median: no quantiles or median
      • Median: median (Q2)
      • Quartiles: quartiles (Q1, Q2, Q3)
      • Deciles: deciles
      • 70%: 15% - 50%(Median) - 85%: 70% range between extreme quantiles
      • 95%: 2.5% - 50%(Median) - 97.5%: 95% range between extreme quantiles
      • 99%: 0.5% - 50%(Median) - 99.5%: 99% range between extreme quantiles
    • Quantile Color / QuantileColor: color of quantile lines
    • Quantile & VWAP Line Width / StatLineWidth: width of quantile and VWAP lines
    • Quantile & VWAP Line Style / StatLineStyle: style of quantile and VWAP lines
  • LEVEL LINES (range mode only): Level lines (range mode only)
    • Mode Level Line Color (None=disable) / ModeLevelColor: color of levels drawn through modes, None to disable
    • Mode Level Line Width / ModeLevelWidth: line width
    • Mode Level Line Style / ModeLevelStyle: style of mode level lines
  • SERVICE: Service / Utility
    • Show Data Horizon / ShowHorizon: show data horizon
    • Identifier / Id: indicator identifier, use different values for multiple copies of the indicator on one chart