Indicator · Pine Script v6 · On the chart

Order Flow Overlay

by mrdungx2603

Order Flow Overlay is a chart-overlay indicator that analyzes volume delta and momentum structure.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code215
Settings17inputs
LicenceNone stated
Last update9 days ago15 Nov 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

Order Flow Overlay detects Cumulative Volume Delta (CVD) divergences and RSI divergences based on pivot high and low points, highlights Delta Peaks that exceed standard deviation thresholds, and marks imbalance signals directly on price bars. The indicator also displays a summary table of key metrics on the chart. Inputs allow customization of pivot lookback periods, RSI parameters, standard deviation multipliers, and lower timeframe fallback settings.

Details

Published by

mrdungx2603 on GitHub

Draws

On the price chart

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
Phân kỳ CVDbooltrueshow_cvd_div
Delta Peakbooltrueshow_delta_peak
RF mạnh (±2 trên nến)booltrueshow_rf_marks
Phân kỳ RSIbooltrueshow_rsi_div
Bảng số liệu góc phảibooltrueshow_table
Ticks mỗi dòng (ticks_per_row)int10ticks_per_row
Value Area (%)float70.0va_pct
Ngưỡng Imbalance (%)float300.0imb_pct
Khung Thời Gian Dự Phòng (Lower TF)string1Slower_tf_fallback
Số nến trái của pivotint5pv_left
Số nến phải của pivot (độ trễ xác nhận)int5pv_right
Chu kỳ độ lệch chuẩn Deltaint50peak_len
Show all 17 settings
SettingTypeDefaultVariable
Ngưỡng (x độ lệch chuẩn)float2.0peak_mult
Chu Kỳ RSIint14rsi_len
Nguồn RSIsourceclosersi_src
Màu tăngcolorcolor.rgb(0, 150, 110)col_bull
Màu giảmcolorcolor.rgb(200, 40, 40)col_bear
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

Oscillator Suite

by TamaraKGreen
47 stars

Oscillator Suite plots a normalised price oscillator in a separate pane and overlays a signal line that can use SMA, EMA, WMA, HMA, RMA, VWMA, T3, ZEMA, KAMA, or GKEMA. It marks bullish and bearish divergences, a smoothed money-flow series, confluence areas an

Indicator v5 Oscillators & momentumDivergence
Updated 2 months ago · None stated GitHub repository of Oscillator Suite
11 stars

This indicator plots a smoothed Z-score of cumulative volume delta in a separate pane, showing whether buying or selling pressure is dominant and when the reading enters extreme zones. It marks spot accumulation, climax or exhaustion, and pivot-based price-vol

Indicator v6 Oscillators & momentumVolume Repaints
Updated 2 months ago · MIT GitHub repository of CVD Z-Score [NeuNue]
9 stars

This indicator plots a heuristic volume-balance oscillator in a separate pane. It estimates signed volume from the close location inside each bar, multiplies that by volume, and sums the proxy over a rolling window. The sum is scaled between minus one and plus

Indicator v6 VolumeOscillators & momentum
Updated 4 weeks ago · MIT GitHub repository of CVD Bias [WavesUnchained]

Apex Vector

by app-builder-sketch
1 stars

Apex Vector is a separate-pane oscillator that plots a smoothed vector and classifies efficiency against superconductor and resistive thresholds, with a high-heat warning color. Optional volume flux uses a volume-normalization length. Users set vector length,

Indicator v6 Oscillators & momentumVolume
Updated 11 months ago · GPL-3.0 GitHub repository of Apex Vector
1 stars

DeltaPulse Wave [ChartPrime] measures standardized volume delta momentum as a separate pane oscillator. It calculates relative delta strength by taking the exponential moving averages of buying volume and selling volume normalized against total volume. The smo

Indicator v6 Oscillators & momentumVolume
Updated 2 weeks ago · MIT GitHub repository of DeltaPulse Wave [ChartPrime]

This overlay indicator screens a pasted list of up to forty symbols and draws a table on the price chart. It classifies bullish or bearish setups from the percent change between the current candle and the candle 250 bars back, then shows RSI with a simple movi

Indicator v5 Oscillators & momentumVolume
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers