A chart pattern scanner that confirms pivots after a set number of bars and then draws classic formations on the price chart, including head and shoulders, double and triple tops and bottoms, triangles, rectangles, wedges, megaphones and V reversals, plus golden and death crosses.
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
Breakouts can be filtered by volume and by a higher timeframe EMA trend, with sweep warnings and BOS or CHoCH structure marks. Labels, a statistics evaluation window and a table are included; the interface text is German.
Head and shoulders, double and triple tops and bottoms
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Pivot-Länge (Bestätigung nach N Kerzen)
int
5
pivLen
Toleranz gleiche Höhe nach ATR (aus = fix in %)
bool
true
useAtrTol
Toleranz gleiche Höhe (× ATR)
float
0.5
tolAtr
Toleranz gleiche Höhe (%), nur wenn ATR aus
float
1.5
tol
min. Abstand zwischen Pivots (Kerzen)
int
5
minSep
max. Länge eines Musters (Kerzen)
int
80
maxSpan
ATR-Länge
int
14
atrLen
Schulter-Kopf-Schulter (+ invers)
bool
true
showSKS
Doppelboden / Doppelspitze
bool
true
showDT
Dreifachboden / Dreifachtop
bool
true
showTR
Aufsteigendes / absteigendes Dreieck
bool
true
showTRI
Rechteck (bullisch / bärisch)
bool
true
showREC
Show all 32 settings
Setting
Type
Default
Variable
Symmetrisches Dreieck
bool
true
showSYM
Megaphon (Broadening Top / Bottom)
bool
true
showMEG
Keil (Falling / Rising Wedge)
bool
true
showWED
V-Top / V-Bottom
bool
true
showV
Golden Cross / Death Cross
bool
true
showCRS
V: min. Bewegung je Seite (%)
float
2.0
vMinMove
V: max. Länge (Kerzen)
int
25
vMaxSpan
Volumen-Mittel (Kerzen)
int
20
volLen
Ausbruch mit Volumen ab x × Ø (Mohid Filter)
float
1.3
volMinMult
Sweeps (Fehlausbruch / Fakeout-Warnung) anzeigen
bool
true
showSweep
Auswertung: Kerzen nach dem Ausbruch
int
10
evalBars
Treffer: Bewegung in Ausbruchsrichtung >= x × ATR
float
1.0
evalAtrMult
Trend-Zeitrahmen
timeframe
D
htfInput
Trend-EMA schnell
int
50
dailyFastLen
Trend-EMA langsam
int
200
dailySlowLen
Nur Ausbrüche mit Trend anzeigen und alarmieren
bool
true
onlyTrend
BOS / CHoCH anzeigen
bool
true
showStruct
Ausbruchs-Labels anzeigen
bool
true
showLab
Offene Muster als Linie mit Beschriftung zeichnen
bool
true
showOpen
Tabelle: max. Abstand zum Ausbruchsniveau (× Musterhöhe)
float
0.5
tblNear
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 tracks smart money market structure directly on the price chart. It calculates dual-period swing highs and swing lows to detect Changes of Character (CHoCH), Breaks of Structure (BOS), inducements, and liquidity sweeps. When structural levels ar
The CISD with Fib/Range Extensions and Stats indicator tracks Change in State of Delivery (CISD) level breakouts on the price chart. It detects pullback structures filtered by ATR and volume conditions, then projects future target levels using customizable Fib
This indicator maps Smart Money Concepts (SMC) market structure directly onto the price chart. It detects internal and swing structure breaks (BOS and CHoCH), tracks bullish and bearish order blocks, identifies fair value gaps (FVG), highlights equal highs and
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 implements a Wyckoff method state machine that tracks accumulation, distribution, markup, and markdown regimes across phases A through E. It identifies structural events including springs, UTADs, SOS, SOW, LPS, LPSY, and climactic bars using ATR
This multi-timeframe indicator detects and visualizes Smart Money Concepts (SMC) and ICT market structures on the price chart. It maps higher-timeframe dealing ranges, premium and discount zones, break of structure (BOS), change of character (CHoCH), order blo