OPEN-SOURCE SCRIPT

Master Pattern [LuxAlgo]

The Master Pattern indicator is derived from the framework proposed by Wyckoff and automatically displays major/minor patterns and their associated expansion lines on the chart.

Liquidity levels are also included and can be used as targets/stops. Note that the Liquidity levels are plotted retrospectively as they are based on pivots.

🔶 USAGE

snapshot

The Master Pattern indicator detects contraction phases in the markets (characterized by a lower high and higher low). The resulting average from the latest swing high/low is used as expansion line. Price breaking the contraction range upwards highlights a bullish master pattern, while a break downward highlights a bearish master pattern.

snapshot

During the expansion phase price can tend to be stationary around the expansion level. This phase is then often followed by the price significantly deviating from the expansion line, highlighting a markup phase.

snapshot

Expansion lines can also be used as support/resistance levels.

🔹 Major/Minor Patterns

The script can classify patterns as major or minor patterns.

snapshot

Major patterns occur when price breaks both the upper and lower extremity of a contraction range, with their contraction area highlighted with a border, while minor patterns have only a single extremity broken.

🔶 SETTINGS

  • Contraction Detection Lookback: Lookback used to detect the swing points used to detect the contraction range.
  • Liquidity Levels: Lookback for the swing points detection used as liquidity levels. Higher values return longer term liquidity levels.
  • Show Major Pattern: Display major patterns.
  • Show Minor Pattern: Display minor patterns.
Chart patternslevelsliquidityluxalgomasterpatternpatternPivot points and levelssmartmoneysupportandresitanceTrend Analysiswyckoff

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?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Also on:

Disclaimer