This indicator marks swing highs and lows using an adjustable lookback and draws break of structure and change of character lines and labels on the price chart.
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
A volume filter labels some changes of character as weak or strong. It also plots a VWAP coloured bullish or bearish, with optional one, two and three standard deviation bands and fills. Colours, line widths and styles for active and broken swing lines are adjustable, and swing counts are capped.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Swing Lookback
int
2
lookback
Max Swing Highs
int
500
maxSwingsHigh
Max Swing Lows
int
500
maxSwingsLow
Enable Volume Filter
bool
true
enableVolumeFilter
Show WEAK CHoCH Labels
bool
true
showWeakChoch
Weak CHoCH Color
color
#FFA500
weakChochColor
Strong CHoCH Color
color
#00FF00
strongChochColor
Enable VWAP System
bool
true
enableVWAP
Bullish VWAP
color
#00ff00
vwapBullColor
Bearish VWAP
color
#ff0000
vwapBearColor
Width
int
2
vwapWidth
±1 StdDev
bool
true
showVwapStd1
Show all 40 settings
Setting
Type
Default
Variable
vwapStd1Color
color
color.new(#2196F3, 30)
vwapStd1Color
±2 StdDev
bool
true
showVwapStd2
vwapStd2Color
color
color.new(#9C27B0, 40)
vwapStd2Color
±3 StdDev
bool
false
showVwapStd3
vwapStd3Color
color
color.new(#FF5722, 50)
vwapStd3Color
Show Fills
bool
true
showVwapFill
Fill Transparency
int
94
vwapFillAlpha
Active Color
color
color.red
highColor
Width
int
2
highWidth
Style
string
solid
highStyleStr
Broken Color
color
color.gray
highFrozenColor
Width
int
1
highFrozenWidth
Style
string
solid
highFrozenStyleStr
Active Color
color
color.green
lowColor
Width
int
2
lowWidth
Style
string
solid
lowStyleStr
Broken Color
color
color.gray
lowFrozenColor
Width
int
1
lowFrozenWidth
Style
string
solid
lowFrozenStyleStr
BOS ↑ Color (Bullish Trend)
color
#00ff00
bosUpColor
BOS ↓ Color (Bearish Trend)
color
#ff0000
bosDownColor
Label Size
string
normal
bosLabelSize
Label Position
string
On Line
bosLabelPosition
Show BOS Info Labels
bool
true
showBosLabels
Label Position
string
Top Right
bosInfoPosition
Label Size
string
tiny
bosInfoSize
Show Bar Count
bool
true
showBosInfoBars
Show Total Volume
bool
true
showBosInfoVolume
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.
The indicator detects liquidity sweeps across key price levels and calculates a cumulative volume delta proxy. It uses pivot high and low lookbacks to identify swing points, marking sweeps when price breaks beyond a level and quickly closes back inside. Featur
Calculates higher-timeframe volume profiles to identify Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC) levels directly on the price chart. It flags potential reversal setups and Change in State of Delivery (CISD) patterns relative to v
Copilot is an order flow range-reversal indicator designed to overlay trading setups directly on the price chart. It evaluates four criteria: market context (sideways vs trending regime based on ATR height), structure (double top or double bottom retests), abs
Supply and Demand Visible Range identifies supply, demand, and equilibrium zones across the visible chart range. It accumulates high, low, and volume data starting from the leftmost visible bar, optionally requesting lower timeframe intrabar data for finer res
This script identifies and visualizes bullish and bearish order blocks on the price chart. It detects low-volatility consolidation ranges followed by breakout moves accompanied by high trading volume. Users can select between Simple, Relative, or Weighted volu
This indicator identifies and visualizes key support and resistance heatmap zones directly on the price chart. Using closed one-hour price data, it evaluates multi-scale pivots, liquidity clusters, relative volume, and round-number resonances to score structur