OPEN-SOURCE SCRIPT

Market Structure Patterns (Nephew_Sam_)

Updated
This market structure indicator plots HH/LL labels with a little twist - it can identify upto 14 custom patterns of your choice!

Indicator settings:
Pivot strength - highest or lowest point in a number of x left+right bars
Show - show zigzag lines, HHLL labels, Pattern Matches
Patterns - upto 14 patterns (7 bear, 7 bull) with custom label text
Styles - for labels and lines

Disclaimer
- Although 90% of this indicator is custom coded, I have to give credits to LonesomeTheBlue (tradingview.com/u/LonesomeTheBlue/) for his "Double Zig Zag with HHLL" indicator where I got the logic on how to plot the labels in real time.
- This indicator repaints labels in realtime (not historical candle)
Release Notes
Added BOS line
Release Notes
Bug fix
Release Notes
Watermark
Chart patternseducationalforecastingictmarketstructurepivot

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer