1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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.
CVD and RSI divergence detection
Delta Peak detection via standard deviation thresholds
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Phân kỳ CVD
bool
true
show_cvd_div
Delta Peak
bool
true
show_delta_peak
RF mạnh (±2 trên nến)
bool
true
show_rf_marks
Phân kỳ RSI
bool
true
show_rsi_div
Bảng số liệu góc phải
bool
true
show_table
Ticks mỗi dòng (ticks_per_row)
int
10
ticks_per_row
Value Area (%)
float
70.0
va_pct
Ngưỡng Imbalance (%)
float
300.0
imb_pct
Khung Thời Gian Dự Phòng (Lower TF)
string
1S
lower_tf_fallback
Số nến trái của pivot
int
5
pv_left
Số nến phải của pivot (độ trễ xác nhận)
int
5
pv_right
Chu kỳ độ lệch chuẩn Delta
int
50
peak_len
Show all 17 settings
Setting
Type
Default
Variable
Ngưỡng (x độ lệch chuẩn)
float
2.0
peak_mult
Chu Kỳ RSI
int
14
rsi_len
Nguồn RSI
source
close
rsi_src
Màu tăng
color
color.rgb(0, 150, 110)
col_bull
Màu giảm
color
color.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.
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
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
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
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,
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
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