OPEN-SOURCE SCRIPT

Bart Pattern [LuxAlgo]

As a sequel to our 'meme indicator' series... The Bart Pattern Detector identifies confirmed regular and inverted Bart patterns using edge detection.

Settings

  • Median Lookback: Lookback period of the median filter used for the edge detection, with a shorter period allowing to detect shorter-term and less spaced patterns.
  • Edge Detection Sensitivity: Sensitivity of the edge detection method, with higher values making the method less sensible to edges of low magnitude.
  • Range To Edges Threshold: Threshold for the range to edges ratio, with lower values detecting Bart patterns with flatter ranges between the edges.
  • Show Inverted Barts: Show inverted Bart patterns.
  • Mode: Determines how detected Bart patterns are displayed.


Usage

This indicator can be used to study past Bart patterns and how the market responded to them. Their detection is not done in real-time. Additionally detected edges are used to indicate the current market sentiment.

snapshot

If you don't want a meme on your chart, you can also use the simple mode - but don't worry, we won't judge you if you don't...

snapshot

Details

snapshot

The origins of Bart patterns can be hard to pinpoint but most likely originate from social media around 2018. This pattern has been mostly covered in the cryptocurrency market similarly to how the McDonald's Pattern became a popular meme within the community. See our McDonald's Pattern Indicator that was created by us as our first 'meme indicator' in the series https://www.tradingview.com/script/BbHc0nIt-McDonald-s-Pattern-LUX/

snapshot

The Bart pattern as its name suggests occurs when price forms a structure resembling the head of the Simpson character "Bart Simpson". This is characterized by a rectangular structure, which is a sideways market delimited by sharp volatile edges.

The Bart pattern is sometimes traded before completion, waiting for a breakout of a support/resistance located within the sideway part of the pattern.

The cause of this pattern is still discussed by traders, with some attributing it to over-leveraged market participants and while others attributing it to exchanges themselves through spoofing.

Notes

Barts patterns are very volatile structures, characterized by sudden price jumps, be careful when trading them.

Shout to the famous alien @lilmayo and our good pal @scheplick for the suggestion to create this work of art.

And don't forget to eat your shorts.
Release Notes
Minor changes.
bartbartheadbartpatternbartsbartsimpsonChart patternsLUXluxalgoMEMETrend Analysis

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