McDonald's Pattern
By LuxAlgoFeb 3, 2022
McDonald's Pattern is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
The McDonald's Pattern is the LuxAlgo catalog's official joke, and it commits to the bit. Using detected tops and bottoms as control points, it fits cubic Bezier curves through price in search of the meme-famous golden-arches 'M': a crypto-community cousin of the double top distinguished by a deep retracement, generally beyond 50%. A live score keeps track of how close your chart gets to fast-food perfection.
How to Trade the McDonald's Pattern?
You don't. The indicator is upfront that it exists for entertainment, not live trades or market predictions. Reading it, however, goes like this:
- Score (top right): rates how closely the plotted curves resemble the logo; matches register best when tops and bottoms sit near each other in value.
- Red shaded area: the latest curves trace a standard 'M' (the newest point sits below the one before it). The area is drawn whether or not the curves resemble the logo, so its color shows orientation, not a confirmed match.
- Green shaded area: the latest curves trace the inverted version.
Detection runs on rolling maximums and minimums rather than pivot points, which keeps the curves fluid as new bars arrive.
McDonald's Pattern Settings
- Length: sensitivity of top and bottom detection via the rolling maximums and minimums.
- Use First Bar As Vertex: starts the pattern from the last bar's price and bar index, making it the vertex of the Bezier curves.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 strategy alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
Run it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





