Indicator · Pine Script v5 · On the chart

v5 combination by yzz

by webcrack4

This indicator overlays a volume or market profile histogram on the price chart and also draws a MACD-style overlay.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code2,349
Settings40inputs
LicenceNone stated
Last update9 months ago10 Jan 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

v5 combination by yzz builds rows from lower-timeframe bars over the visible range, an anchored start, or all history, then marks the point of control and optional value-area high and low. Users change row count, width, delta colors, and MACD lengths and moving-average types. Visible-range mode updates as the chart is scrolled, so plotted levels can change.

Details

Published by

webcrack4 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Volume, Support & resistance, Oscillators & momentum

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
ModestringVOLUME_PROFILEMODE
Range ModestringVISIBLE_RANGERANGE_MODE
Anchor Timetimetimestamp('2023-01-01T12:00:00')ANCHORED_TIME
Number of Rowsint300NUM_ROWS
Max Lower Timeframe Barsint5000MAX_LTF_BARS
Use Second-Based TimeframesboolfalseUSE_SECOND_BASED_TIMEFRAMES
Horizontal Offsetint20HORIZONTAL_OFFSET
Max Widthint80MAX_WIDTH
Height % per Rowint40HEIGHT_PERCENTAGE_PER_ROW
Show Volume DeltaboolfalseSHOW_DELTA
Defaultcolor#5d606b77COLOR
Buy Volumecolor#00bcd480BUY_COLOR
Show all 40 settings
SettingTypeDefaultVariable
Sell Volumecolor#e91e6380SELL_COLOR
POC (Point of Control)colorcolor.yellowPOC_COLOR
VAH (Value Area High)colorcolor.blueVAH_COLOR
VAL (Value Area Low)colorcolor.blueVAL_COLOR
Value Area Percentint70VALUE_AREA_PERCENT
Display VAH/VALbooltrueDISPLAY_VA
Display POCbooltrueDISPLAY_POC
Extend Key Price Lines to the LeftbooltrueEXTEND_LEFT
MACD Calculation MethodstringMACD-SOURCEmacdType
Fast Lengthint12fast_length
Slow Lengthint26slow_length
Sourcesourceclosesource
Signal Smoothingint9signal_length
Oscillator MA TypestringEMAsma_source
Signal Line MA TypestringEMAsma_signal
Display MACD/Signal CorssesboolfalsemacdSigCross
Highlight MACD/Signal Areabooltruehighlight
Overlay Indicator Display Lengthint200lookbackLength
PlacementstringBottomoscPlacement
Hightint10Hight
Vertical Indicator Positionint4verticalAdj
ATR Lengthint10sslength
Factor Rangeint1minMult
maxMultint5maxMult
Stepfloat.5step
Performance Memoryfloat10perfAlpha
From ClusterstringBestfromCluster
Maximum Iteration Stepsint1000maxIter
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

11 stars

This overlay indicator marks volume-driven buying and selling pressure on the price chart. It compares volume with a simple moving average scaled by a volatility-based multiplier, and it uses a trend simple moving average plus RSI thresholds to color bars. Swi

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · Apache-2.0 GitHub repository of Institutional Insight Indicator

This overlay indicator builds a horizontal momentum profile over a chosen lookback. It splits price into rows and plots the average WaveTrend of each zone as a bar colored by direction, plus an optional MFI reference band that stays gray when real trade volume

Indicator v6 Oscillators & momentumVolume
Updated yesterday · MIT GitHub repository of Momentum Profile [WavesUnchained]
4 stars

This indicator overlays an order flow intelligence suite directly on the price chart. It renders a liquidity heatmap across configured price zones, alongside an on-chart information panel displaying volume delta, cumulative volume delta, a momentum compass bas

Indicator v6 VolumeScreeners & dashboards
Updated 2 weeks ago · MIT GitHub repository of GHOST — OrderFlow Intelligence
4 stars

An overlay indicator that calculates multi-timeframe market conditions and displays them in an information panel on the price chart. It evaluates timeframe metrics such as 15-minute and 1-hour periods to monitor RSI values, support and resistance levels, and r

Indicator v5 Screeners & dashboardsOscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of SnagProfit Logic 15M 1H

EzAlgo

by TamTH-Dev
2 stars

EzAlgo is a multi-purpose trading overlay that combines several technical analysis tools into one system. It calculates Ichimoku Cloud components, dynamic support and resistance zones, reversal bands, trend ribbons, and custom buy or sell signals adjusted by s

Indicator v5 TrendSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of EzAlgo

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers