Indicator · Pine Script v5 · On the chart

Combined Liquidity, Channels, RSI, and VWAP

by jawauntb

Combined Liquidity, Channels, RSI, and VWAP is an overlay indicator that plots multiple technical analysis metrics directly on the price chart.

View on GitHub

Repaints

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code74
Settings10inputs
LicenceGPL-3.0
Last update2 years ago22 May 2024

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  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

74 lines of Pine Script v5 from liquidity-channels-rsi-vwap-strat.pine, published under GPL-3.0. Keep the author's credit and licence lines when you reuse it.

liquidity-channels-rsi-vwap-strat.pine
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © jawauntb
//@version=5
indicator("Combined Liquidity, Channels, RSI, and VWAP", overlay=true)

// Inputs
rsiPeriod = input(14, "RSI Period")
emaPeriod = input(13, "EMA Period")
maPeriod = input(30, "MA Period")
vwapPeriod = input(14, "VWAP Period")
stdDevMult = input(1.0, "Standard Deviation Multiplier")

// CVD, Delta Volume, VRVP, Footprint
[cvdUp, cvdDown] = request.security(syminfo.tickerid, timeframe.period, expression=[high, low], lookahead=barmerge.lookahead_on)
cvd = cvdUp - cvdDown
delta = volume * (close > open ? 1 : close < open ? -1 : 0)
[poc, valueAreaHigh, valueAreaLow] = request.security(syminfo.tickerid, timeframe.period, expression=[close, high, low], lookahead=barmerge.lookahead_on)

// Keltner and Donchian Channels
kellPeriod = input(20, "Keltner Period")
kellMultiplier = input(2.0, "Keltner Multiplier")
kellBasis = ta.ema(close, kellPeriod)
kellDev = kellMultiplier * ta.atr(kellPeriod)
kellUpper = kellBasis + kellDev
kellLower = kellBasis - kellDev
donPeriod = input(20, "Donchian Period")
donUpper = ta.highest(high, donPeriod)
donLower = ta.lowest(low, donPeriod)

// Starc RSI and Composite Index RSI
rsiSrc = input(close, "RSI Source")
rsi = ta.rsi(rsiSrc, rsiPeriod)
compRsi = (rsi + ta.rsi(volume, rsiPeriod)) / 2
starcBandMultiplier = input(2.0, "Starc Band Multiplier")
starcBasis = ta.sma(rsi, rsiPeriod)
starcDev = starcBandMultiplier * ta.stdev(rsi, rsiPeriod)
starcUpper = starcBasis + starcDev
starcLower = starcBasis - starcDev
starcRsiUp = ta.crossover(rsi, starcUpper)
starcRsiDown = ta.crossunder(rsi, starcLower)

// VWAP and EMA/MA Cross
vwap = ta.vwap(hlc3, vwapPeriod)
vwapUpper = vwap + stdDevMult * ta.stdev(vwap, vwapPeriod)
vwapLower = vwap - stdDevMult * ta.stdev(vwap, vwapPeriod)
ema = ta.ema(close, emaPeriod)
ma = ta.sma(close, maPeriod)
emaMaCross = ta.crossover(ema, ma)

// Plotting
plot(cvd, "CVD", color=color.blue)
plot(delta, "Delta Volume", color=color.orange)
plot(poc, "POC", color=color.white, style=plot.style_circles)
plot(valueAreaHigh, "Value Area High", color=color.green)
plot(valueAreaLow, "Value Area Low", color=color.red)

plot(kellUpper, "Keltner Upper", color=color.purple)
plot(kellLower, "Keltner Lower", color=color.purple)
plot(donUpper, "Donchian Upper", color=color.blue)
plot(donLower, "Donchian Lower", color=color.blue)

plot(rsi, "RSI", color=color.orange)
plot(compRsi, "Composite RSI", color=color.yellow)
plot(starcUpper, "Starc Upper", color=color.red)
plot(starcLower, "Starc Lower", color=color.green)
plotshape(starcRsiUp, title="Starc RSI Up", location=location.top, style=shape.triangleup, size=size.tiny, color=color.green)
plotshape(starcRsiDown, title="Starc RSI Down", location=location.bottom, style=shape.triangledown, size=size.tiny, color=color.red)

plot(vwap, "VWAP", color=color.fuchsia)
plot(vwapUpper, "VWAP Upper", color=color.fuchsia, style=plot.style_circles)
plot(vwapLower, "VWAP Lower", color=color.fuchsia, style=plot.style_circles)
plot(ema, "EMA", color=color.blue)
plot(ma, "MA", color=color.red)
plotshape(emaMaCross, title="EMA/MA Cross", location=location.top, style=shape.circle, size=size.normal, color=color.blue)

Overview

Combined Liquidity, Channels, RSI, and VWAP calculates Keltner and Donchian Channels, volume-based metrics like cumulative volume delta (CVD), VWAP with standard deviation bands, and an EMA/MA moving average crossover. It also computes a Composite RSI paired with Starc Bands, displaying visual shapes on band breaches and EMA crosses. User inputs allow period adjustments across all included channel, moving average, and oscillator calculations. Note that historical data uses lookahead security requests.

Details

Published by

jawauntb on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Volatility & bands, Oscillators & momentum, Moving averages, Volume

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)
  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
RSI Periodint14rsiPeriod
EMA Periodint13emaPeriod
MA Periodint30maPeriod
VWAP Periodint14vwapPeriod
Standard Deviation Multiplierfloat1.0stdDevMult
Keltner Periodint20kellPeriod
Keltner Multiplierfloat2.0kellMultiplier
Donchian Periodint20donPeriod
RSI SourcesourceclosersiSrc
Starc Band Multiplierfloat2.0starcBandMultiplier
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

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
4 stars

This overlay indicator combines up to six optional signals and scores how many of them agree. It checks RSI-2 crosses of 30 and 70, MACD line crosses, Bollinger squeeze breakouts, volume spikes, triple EMA alignment, and price relative to the Ichimoku cloud. E

Indicator v5 Oscillators & momentumMoving averages

Boll-Ort Tarama

by gocaman
3 stars

This overlay indicator plots a 200-period simple moving average labeled EMA-1, a narrow Bollinger band set with a 2.0 multiplier, and a wider band set with a 3.0 multiplier, filling the gaps between the two upper and lower lines on the price chart. It recolors

Indicator v5 Volatility & bandsMoving averages
Updated today · None stated GitHub repository of Boll-Ort Tarama

PPO ATR Bands

by cryptorife
75 stars

PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l

Indicator v4 Oscillators & momentumMoving averages
Updated 3 years ago · GPL-3.0 GitHub repository of PPO ATR Bands

NFI v6

by koradiyakaushal
12 stars

This Pine v4 study ports early NostalgiaForInfinity V6 conditions onto the price chart. It computes two Bollinger setups, several EMAs and SMAs, RSI, MFI, a percent SMA spread labeled EWO, a 14-period choppiness value, and short and longer volume medians. Fixe

Indicator v4 Moving averagesVolatility & bands
Updated 5 years ago · MIT GitHub repository of NFI v6

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