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
The consolidation zone is the range over a lookback window that stays below a maximum percentage. Ichimoku uses 9, 26 and 52 bar settings with cloud displacement. Break 21 uses a 21-bar EMA band with RSI levels for bullish, breakout and take-profit warning conditions. Signal labels and a dashboard can be toggled. It places no orders.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Volume MA Length
int
20
vol_len
High Volume Threshold (x)
float
2.0
hi_vol_mult
Low Volume Threshold (x)
float
0.5
lo_vol_mult
Consolidation Lookback Bars
int
15
consol_len
Max Consolidation Range %
float
8.0
consol_pct
Tenkan-sen Length
int
9
tk_len
Kijun-sen Length
int
26
kj_len
Senkou B Length
int
52
sb_len
Cloud Displacement
int
26
disp
Show Break 21 Signals
bool
true
show_b21
Show EMA 21 Band
bool
true
show_ema21
RSI 21 Bullish Level
float
50.0
b21_rsi_bull
Show all 18 settings
Setting
Type
Default
Variable
RSI 21 Breakout Level
float
58.0
b21_rsi_breakout
RSI 7 TP Warning Level
float
75.0
b21_rsi_tp
Show Signal Labels
bool
true
show_labels
Show Dashboard
bool
true
show_dash
Highlight Consolidation Zone
bool
true
show_bg
Show Ichimoku Lines
bool
true
show_ichi
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.
This indicator analyzes volume character and market structure in a separate chart pane. It color-codes volume bars to identify institutional accumulation, distribution, climax volume, and volume dry-up conditions during volatility contraction patterns. The scr
Ghost Channels fits dynamic parallel trend channels over a configurable lookback window using linear regression or pivot swing methods. It layers confirmation signals onto the channel geometry, detecting candlestick pattern reactions at the rails, volume-confi
Equity Intraday Analyst is a comprehensive intraday overlay indicator for US equities and ETFs. It evaluates multi-EMA ribbons, session-anchored VWAP bands, OBV trends, momentum oscillators, TTM Squeeze, and optional market breadth indicators like NYSE TICK an
This overlay indicator calculates ADX, DI+ and DI- from directional movement and true range, and a Money Flow Index from typical price and volume. It classifies bias as long when DI+ exceeds 25 and DI- stays under 20, short under the opposite condition, and ne
Snagprofit WMA MA calculates and plots weighted moving averages across multiple timeframes (1-minute, 5-minute, 15-minute, and 1-hour) alongside a chart-period simple moving average. It evaluates directional alignment between these moving averages and checks f
CSW Breakout Signals plots breakout buy and sell labels on the price chart when price breaks support or resistance after a trend change. Each signal can show a numbered confirmation score built from a moving-average cross, momentum, opening-range alignment, re