Indicator · Pine Script v5 · On the chart

V5 Combination by yzz

by webcrack4

V5 Combination by yzz is a composite chart indicator that integrates a Volume Profile and Market Profile (TPO) tool with a MACD oscillator overlay.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code1,949
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

The profile section calculates price distribution across configurable range modes, plotting the Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL) levels. The MACD calculation engine generates crossover markers and highlighted momentum zones using customizable moving average types. Traders can adjust profile row density, lower timeframe resolution limits, and display settings directly on the main price chart.

Details

Published by

webcrack4 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Volume, Support & resistance, Oscillators & momentum, Moving averages

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

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

Custom Oscillator

by danielbodnar
2 stars

This reference script provides practical Pine Script v6 code examples for creating custom indicators. It includes a smoothed Relative Strength Index oscillator plotted with overbought and oversold background zones, a multi-timeframe moving average overlay with

Indicator v6 Oscillators & momentumMoving averages
Updated 2 months ago · MIT GitHub repository of Custom Oscillator

PivotHighLow

by Alorse
330 stars

This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition

Indicator v4 Support & resistanceOscillators & momentum Repaints
Updated 2 months ago · None stated GitHub repository of PivotHighLow

Midnight VWAP

by TradersPost
218 stars

The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal

Indicator v6 Moving averagesSessions & time
Updated 3 months ago · None stated GitHub repository of Midnight VWAP

LiqSpikeBounceLong Feb2026

by agutinbaigo28
147 stars

LiqSpikeBounceLong Feb2026 is an indicator designed to identify long bounce entries following high-volume liquidation cascades in bearish market contexts. It checks if price is below an exponential moving average, then detects large single-bar drops exceeding

Indicator v5 Volatility & bandsVolume
Updated 6 weeks ago · MIT GitHub repository of LiqSpikeBounceLong Feb2026

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