E-MAIL 1: The problem: patterns everywhere
Subject: Most head and shoulders you see are not real
Other subjects: Three bumps and a neckline drawn where it looks good | Is that a head and shoulders or sideways noise?
Preview: Head and Shoulders Detector tests every candidate by fixed rules at four swing sizes.

Hi,

The head and shoulders is the chart pattern everybody recognises, and that is exactly the problem. Once you look for it, you find it everywhere: three bumps of any size, a neckline drawn wherever it looks good, and a pattern that is really just noise in a sideways market.

A real pattern needs a head that clearly stands out from both shoulders, shoulders at a similar height, two halves that take a similar time, and a trend before it to reverse. It also needs the right swing size: a structure that is obvious on 30-bar swings disappears on 5-bar swings and the other way round. Checking all that on every chart, every day, is slow work.

Head and Shoulders Detector by Kestutis Balciunas (AlgoFXStore) applies the same tests to every candidate on TradingView, at 5, 12, 20 and 30-bar swings and in mixed sizes, with every distance measured against ATR(200). Shapes that pass are drawn with their outline, a dashed neckline and a BULL or BEAR label; shapes that fail are not.

You start your analysis from a pattern that met fixed rules, not from three bumps that looked convincing.

See it on 12 real charts:
YOUR-PROMOLINK

It finds, draws and alerts; the entry, stop and orders are yours. Have a look: YOUR-PROMOLINK

Disclosure: I may earn a commission if you buy through my link, at no extra cost to you.
Risk: trading leveraged products can lose all your capital. The charts are examples, not trading results.

E-MAIL 2: How it works
Subject: Five swings, five tests, one drawing
Other subjects: How Head and Shoulders Detector checks a pattern | Why every rule is measured in ATR(200)
Preview: Swing sizes, five alternating points, head and symmetry tests, the prior trend.

Hi,

Here is what the Pine Script of Head and Shoulders Detector checks every time a new swing is confirmed.

Swings at four sizes. Swing highs and lows at 5, 12, 20 and 30 bars on each side, from closing prices by default, so a single long wick does not create a head. Mix mode also builds patterns from points of different swing sizes.

Five alternating points. A top needs high, low, high, low, high: left shoulder, neckline point, head, neckline point, right shoulder. An inverse bottom is the mirror.

Head, symmetry and timing. The head must stand out from both shoulders by at least 1.5 ATR on the small swings and 2.0 on the large ones. The shoulders may differ only within a set tolerance, and the longer half may take at most twice as many bars as the shorter.

A trend before it. A top must follow a rise of at least 2.0 times ATR; an inverse bottom a fall of the same size.

The drawing. By default the pattern appears on the candle that confirms the right-shoulder swing. With neckline mode on, it waits for a closed candle beyond the neckline and is dropped if none comes.

All 41 settings explained:
YOUR-PROMOLINK

See the drawn patterns: YOUR-PROMOLINK

Disclosure: I may earn a commission if you buy through my link, at no extra cost to you.
Risk: trading leveraged products can lose all your capital. The charts are examples, not trading results.

E-MAIL 3: Step-by-step workflow
Subject: Five steps to read a detected head and shoulders
Other subjects: Stop beyond the right shoulder, target by ruler | How to trade a pattern the detector found
Preview: The classic reading from the PDF guide: close, shape, stop, projection, news.

Hi,

The indicator finds and draws the pattern; it draws no entry, stop or target. This is the classic reading from the Head and Shoulders Detector guide. Test it on a demo account first.

Step 1. Wait for the closed candle. In the default mode a pattern can show on the forming candle and vanish if the candle turns. If you prefer to wait for the break itself, turn on neckline mode.

Step 2. Check the shape. Skip patterns whose neckline slopes steeply against them, patterns that are tiny compared with the ATR, patterns whose right shoulder only just passed the tolerance, and patterns against a strong higher-timeframe trend.

Step 3. Place the stop beyond the right shoulder: above it for a top, below it for an inverse. That is where the pattern is wrong. Size from that distance.

Step 4. Measure the classic projection yourself. Take the height from the head to the neckline and project it from the neckline in the direction of the break, with TradingView's ruler. Expect a retest of the neckline.

Step 5. Stay out of news spikes. A swing formed in a spike can turn one candle into a head. Stop for the day after two or three losses in a row.

The full routine:
YOUR-PROMOLINK

Start here: YOUR-PROMOLINK

Disclosure: I may earn a commission if you buy through my link, at no extra cost to you.
Risk: trading leveraged products can lose all your capital. The charts are examples, not trading results.

E-MAIL 4: The 12 real market examples
Subject: 12 real charts, from gold to WTI crude
Other subjects: Head and Shoulders Detector on 12 different markets | Forex, metals, indices, energy and crypto
Preview: Unedited TradingView screenshots at default settings on 12 markets, 1-hour charts.

Hi,

The Head and Shoulders Detector page shows 12 real charts, each a screenshot of TradingView itself with the shipped indicator attached at its default settings, unedited.

All are 1-hour charts, covering windows between 22 Oct and 24 Nov 2026, picked to show how it reads each kind of market:

Forex: EURUSD, GBPUSD, USDJPY and AUDUSD.
Metals: gold (XAUUSD) and silver (XAGUSD).
Indices: Nasdaq 100, Dow Jones 30 and Germany 40.
Energy: WTI crude oil.
Crypto: Bitcoin and Ethereum.

On the charts you can see the red outlines of tops and green outlines of inverse bottoms, the soft fill, the dashed grey neckline, the HEAD and R labels with the swing size, and the BULL or BEAR label on the completion candle.

The page says it plainly: they show what the indicator draws; they are not trading results.

There is also a 15-second video of the indicator on a real TradingView chart, and frames from a 96-frame recording on 1-hour XAUUSD, with nothing edited into the chart.

Open the gallery:
YOUR-PROMOLINK

Click any chart for full size: YOUR-PROMOLINK

Disclosure: I may earn a commission if you buy through my link, at no extra cost to you.
Risk: trading leveraged products can lose all your capital. The charts are examples, not trading results.

E-MAIL 5: Who it is for and who not
Subject: Head and Shoulders Detector: who it fits, who should pass
Other subjects: Want entries and targets drawn? Read this first | Five fits, four reasons to pass
Preview: Good for pattern traders who decide their own levels. Not for drawn trade plans.

Hi,

An honest fit check for Head and Shoulders Detector, straight from its page.

A good fit if you:
- Trade chart patterns and want the head and shoulders found by fixed rules instead of by eye.
- Look at several swing sizes and want small and large patterns on the same chart.
- Trade gold, forex, indices or crypto on 15-minute to daily charts and want one set of rules for all of them.
- Are happy to decide the entry, the stop beyond the right shoulder and the target yourself.
- Write your own Pine Script and would like the completions as data series to test.

Not for you if you:
- Want entries, stops and targets drawn for you. It draws the pattern and its neckline only.
- Need a pattern that is final the moment it appears on a live candle in the default mode. Wait for the close, or use neckline mode.
- Want a system that places trades. It draws and alerts; the orders are yours.
- Want a simple tool with two inputs. It has many settings, although the defaults work as delivered.

If you are in the first group:
YOUR-PROMOLINK

The details: YOUR-PROMOLINK

Disclosure: I may earn a commission if you buy through my link, at no extra cost to you.
Risk: trading leveraged products can lose all your capital. The charts are examples, not trading results.

E-MAIL 6: Objections: repainting, settings, platform
Subject: Does Head and Shoulders Detector repaint?
Other subjects: Why the pattern is drawn in the past | Too many small patterns? One switch
Preview: Closed-candle patterns stay. Here is what can change on the live candle.

Hi,

Three questions about Head and Shoulders Detector, answered from its page.

Does it repaint?
Patterns on closed candles stay; the script never deletes a drawing. Two things to know. Every pattern is drawn on its completion candle with its five points in the past, because a 12-bar swing is confirmed only 12 candles after its peak. And in the default mode the right-shoulder swing is checked against the live candle's close, so a pattern can appear and disappear before the candle closes. The alert() messages wait for the close, and neckline mode checks the break on closed candles only.

Too many patterns, or none?
Too many small ones: switch Pivot 1 off, or keep only Pivot 3 and 4 and switch mix mode off. None: load more history, since ATR(200) needs about 200 bars, or lower the trend minimum.

Which timeframe and platform?
Any from 15 minutes to daily; the tolerances are in ATR and the swing sizes in bars. It runs on TradingView's free plan and in the mobile app. You get the full Pine Script source code to paste into the Pine Editor.

The full FAQ:
YOUR-PROMOLINK

Or see the charts: YOUR-PROMOLINK

Disclosure: I may earn a commission if you buy through my link, at no extra cost to you.
Risk: trading leveraged products can lose all your capital. The charts are examples, not trading results.

E-MAIL 7: Last-call reminder
Subject: Last note on Head and Shoulders Detector
Other subjects: One more look at rule-based head and shoulders | Closing the loop on Head and Shoulders Detector
Preview: Every head and shoulders that meets fixed rules, with its neckline, on your chart.

Hi,

This is my last e-mail about Head and Shoulders Detector, so here is the short version.

It scans your TradingView chart for head and shoulders tops and inverse bottoms at 5, 12, 20 and 30-bar swings and in mixed sizes. Head size, shoulder symmetry, timing and the prior trend are all measured in ATR(200), so one set of rules works on gold, forex, indices and crypto. Every pattern that passes is drawn with its outline, a dashed neckline and a BULL or BEAR label, and an alert tells you when a new one appears.

You get the full Pine Script source code and a 13-page PDF manual. The entry, stop and target stay your decision.

If you trade chart patterns and want the search done by rules:
YOUR-PROMOLINK

Digistore24 runs the checkout and handles a 60-day money-back guarantee if it is not for you.

Here it is once more: YOUR-PROMOLINK

Disclosure: I may earn a commission if you buy through my link, at no extra cost to you.
Risk: trading leveraged products can lose all your capital. The charts are examples, not trading results.