Double Top Bottom Pattern Scorer · TradingView indicator One payment · no subscription · 60-day money-back

Spot double tops and bottoms, see how clean each one is, and plan the neckline break

Double Top Bottom Pattern Scorer finds double top (M) and double bottom (W) patterns from confirmed swings on your TradingView chart, checks their shape in ATR and gives each one a quality score from 0 to 100.

  • Draws the M or W from confirmed swings, plus an orange dashed neckline that follows price until the break.
  • Scores every pattern out of 100 from peak match, RSI divergence, volume divergence and height; below 60 it is not drawn.
  • LONG or SHORT on a close through the neckline, with the stop 0.5 ATR beyond the pattern and targets at 1.0 and 1.618 pattern heights.
  • Five alertcondition alerts: pattern found, long break, short break, TP1 reached and stop reached.
  • The full Pine Script source code. Paste it into the Pine Editor, save, and add “Double Top Bottom Pattern Scorer [AlgoFXStore]” to your chart.
  • A 15-page PDF manual with installation, every setting and how to read the chart. One-time €47.
Double Top Bottom Pattern Scorer, shown on a real chart
Video

See Double Top Bottom Pattern Scorer on a real chart

Press play; use the full-screen button to see every detail.

Double Top Bottom Pattern Scorer running on a real TradingView chart, recorded from the shipped edition at its default settings (15 seconds, no sound). Press play.
The problem

Every two swings look like a double top once you want one

Double tops and bottoms are among the first patterns traders learn, and they are easy to see after the fact. The trouble is in real time: two peaks that are almost level, a neckline you pick by eye, and no clear line between a textbook pattern and two random swings. Once you are looking for an M, nearly every pullback starts to look like one.

The second gap is the plan. A pattern drawn by hand rarely comes with a fixed rule for where the neckline is, when the pattern has failed, where the stop goes and how far the move should run. So each trade is measured differently, and you cannot compare one pattern with the next or learn from your own results.

This indicator applies one set of rules to every candidate. The peaks must match within an ATR tolerance, the pattern must be tall enough, nothing may poke out above the peaks in between, and the score tells you how much of the classic picture is there: matching peaks, fading momentum, fading volume and a pattern of real size. The neckline, the stop and both targets follow the same arithmetic every time.

On the chart

Everything Double Top Bottom Pattern Scorer draws on your chart

Read from the shipped Pine Script code.

  • Double Top: two red lines peak 1 -> neckline low -> peak 2 (the M), width 2, colour 'Double Top (Bearish) Color'; at the breakout a third red leg peak 2 -> neckline price at the breakout bar
  • Double Bottom: the same W shape in green 'Double Bottom (Bullish) Color'
  • A score label on peak 2 / valley 2: 'Double Top' or 'Double Bottom' over '<score> pts', label colour = pattern colour at 20 % transparency, white text; tooltip with the 4-part score breakdown when 'Show Score Breakdown in Tooltip' is on
  • Neckline: orange dashed line from the neckline bar, extended to the current bar on every bar until the breakout, the invalidation or the expiry
  • LONG label (green, label up, below the bar) and SHORT label (red, label down, above the bar) on the breakout candle
  • On a breakout, with 'Show TP1, TP2 & SL Projections' on: dashed SL line (red), TP1 line (green) and TP2 line (green), width 2, from the breakout bar 15 bars to the right, each with a price label 'SL: <price>' / 'TP1: <price>' / 'TP2: <price>' at its right end; while the trade is tracked the lines and labels are pushed to 3 bars right of the current bar
  • Hit labels: 'TP1 HIT: <price>' and 'TP2 HIT: <price>' turn solid green, 'SL HIT: <price>' turns solid red
  • Optional orange 200 EMA line (plot titled '200 EMA Trend Filter') only when 'Enable 200 EMA Trend Filter' is on
  • AlgoFXStore watermark, bottom right, set on the first bar
How it works

How a pattern is found, scored and traded on the chart

The steps follow the shipped Pine Script code with its default settings. Everything comes from the chart's own candles; no other symbol or timeframe is requested.

  1. 1

    Confirmed swings

    Swing highs and lows are pivots with 5 bars on each side. A swing is only known once 5 more bars have printed, so the indicator finds the second peak of a pattern 5 bars after it formed and places its label back on that peak. Up to 40 swings are kept on each side as candidates for the first peak.

  2. 2

    Matching the two peaks

    When a new swing high is confirmed, the script looks back for an earlier swing high 5 to 60 bars before it whose price is within 0.5 ATR(14). The neckline is the lowest low between the two. The pair is rejected if any bar between them rose more than 0.25 ATR above the higher peak, or if the pattern is less than 1 ATR tall. Double bottoms mirror this.

  3. 3

    A score out of 100

    Four parts of up to 25 points each. Price match: 25 for identical peaks, falling to 0 at the tolerance. RSI divergence: 10 points plus up to 15 more when RSI(14) is lower at the second peak (higher at the second valley). Volume: 10 plus up to 15 when the second peak has less volume. Height: 10 at the minimum, 25 at three times it.

  4. 4

    Only patterns of 60 or more are drawn

    A pattern scoring at least the Minimum Score Threshold of 60 is drawn as a red M or green W with a label such as Double Top 68 pts, where pts are score points, not price. Shape and height alone give at most 50, so at 60 every drawn pattern has at least one divergence. Hover the label for the four parts.

  5. 5

    Waiting for the neckline

    The dashed orange neckline stretches to the current bar while the pattern waits. A double top breaks out on a close below the neckline, a double bottom on a close above it, and only then do SHORT or LONG labels print. The pattern is dropped if price first runs 0.5 ATR beyond the peaks or valleys, or if no break comes within 50 bars.

  6. 6

    Stop, targets and follow-up

    On the break a red dashed SL line is drawn 0.5 ATR beyond the higher peak or lower valley, a green TP1 one pattern height beyond the neckline and a green TP2 at 1.618 heights. A wick touching a level turns its label into TP1 HIT, TP2 HIT or SL HIT. Following ends at TP2, at the stop or 100 bars after the break.

12 markets, real charts

Double Top Bottom Pattern Scorer on 12 different markets

Every chart below is a screenshot of TradingView itself with the shipped Double Top Bottom Pattern Scorer [AlgoFXStore] attached at its default settings. Forex, metals, indices, energy and crypto, so you can see how it reads each kind of market. They show what the indicator draws; they are not trading results. Tap or click any chart to open it full size.

Double Top Bottom Pattern Scorer on Gold (XAUUSD), 15m, in TradingView
01Gold (XAUUSD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Euro / US dollar (EURUSD), 15m, in TradingView
02Euro / US dollar (EURUSD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Bitcoin (BTCUSD), 15m, in TradingView
03Bitcoin (BTCUSD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Nasdaq 100 (NAS100USD), 15m, in TradingView
04Nasdaq 100 (NAS100USD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on British pound / US dollar (GBPUSD), 15m, in TradingView
05British pound / US dollar (GBPUSD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on US dollar / Japanese yen (USDJPY), 15m, in TradingView
06US dollar / Japanese yen (USDJPY)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Australian dollar / US dollar (AUDUSD), 15m, in TradingView
07Australian dollar / US dollar (AUDUSD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Silver (XAGUSD), 15m, in TradingView
08Silver (XAGUSD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Dow Jones 30 (US30USD), 15m, in TradingView
09Dow Jones 30 (US30USD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Germany 40 (DE30EUR), 15m, in TradingView
10Germany 40 (DE30EUR)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on Ethereum (ETHUSD), 15m, in TradingView
11Ethereum (ETHUSD)15m · 23 Nov to 24 Nov 2026
Double Top Bottom Pattern Scorer on WTI crude oil (WTICOUSD), 15m, in TradingView
12WTI crude oil (WTICOUSD)15m · 23 Nov to 24 Nov 2026
Real chart frames

Double Top Bottom Pattern Scorer on a real TradingView chart, frame by frame

Frames of a screen recording of the shipped indicator at its default settings, as the chart updates. Nothing is edited into the chart.

Double Top Bottom Pattern Scorer on a real TradingView chart: Frame 1 of 96 of the chart recording (XAUUSD 15m)
Frame 1 of 96 of the chart recording (XAUUSD 15m)
Double Top Bottom Pattern Scorer on a real TradingView chart: Frame 33 of 96 of the chart recording (XAUUSD 15m)
Frame 33 of 96 of the chart recording (XAUUSD 15m)
Double Top Bottom Pattern Scorer on a real TradingView chart: Frame 65 of 96 of the chart recording (XAUUSD 15m)
Frame 65 of 96 of the chart recording (XAUUSD 15m)
Double Top Bottom Pattern Scorer on a real TradingView chart: Frame 96 of 96 of the chart recording (XAUUSD 15m)
Frame 96 of 96 of the chart recording (XAUUSD 15m)
How to use it

A step-by-step way to use it on your charts

The indicator finds, scores and plans the pattern. Whether the trade is worth taking, and with what size, stays your decision. A routine you can start from and practise on a demo account:

  1. 1

    Read the score before the shape

    When a pattern appears, hover its label. A high price-match part says the peaks are nearly level; RSI and volume parts above zero say momentum or participation faded into the second peak. If you only want patterns with both divergences, raise the Minimum Score Threshold to 80. The score sorts patterns, it does not say how likely one is to work.

  2. 2

    Wait for the closed break

    Do nothing while the neckline is only being approached. Act when a candle has closed through it and the LONG or SHORT label is still there after the close, or when a Once Per Bar Close alert arrives. A break seen during the forming candle can still disappear if the candle closes back on the other side.

  3. 3

    Measure the trade in R first

    Use the breakout candle's close as the entry. The stop sits beyond the whole pattern while the targets are measured from the neckline, so the stop distance is often larger than the distance to TP1. Work out TP1 and TP2 in multiples of your risk. If TP2 is less than about 1R away, consider skipping, sizing down or planning a part exit at TP1.

  4. 4

    Size from the drawn stop

    Place your stop at the SL line or further away, never closer just to trade a bigger size. Size the position from the distance between your entry and that stop and your own risk per trade, rounded down to your broker's lot step. Decide before entry what you will do at TP1: take part, move the stop to break-even, or hold for TP2.

  5. 5

    Skip the weak breaks

    Skip a break when it comes 40 to 50 bars after the second peak after a long drift at the neckline, when one huge candle closes far beyond the neckline and shrinks the targets in R, right before scheduled high-impact news, or against the bigger trend. The optional 200 EMA trend filter removes breaks on the wrong side of that average.

  6. 6

    Let the chart close the books

    As price moves, the levels turn solid with TP1 HIT, TP2 HIT or SL HIT when a wick touches them, and the TP1 and stop alerts can tell you away from the screen. Keep a short journal of market, score, R at entry and result, so you learn which scores and settings suit your markets.

What you get

Everything Double Top Bottom Pattern Scorer does for you

One rulebook for every pattern

Peaks 5 to 60 bars apart, within 0.5 ATR of each other, at least 1 ATR tall and with nothing breaking above the peaks in between. The same tests run on every symbol and timeframe because each distance is measured in ATR.

A score you can open up

Each pattern carries a score out of 100 on its label. With Show Score Breakdown on, the tooltip lists Price Match, RSI Divergence, Volume Divergence and Pattern Height, each out of 25, so you see why a pattern scored what it did.

Weak patterns stay off the chart

Anything below the Minimum Score Threshold, 60 by default and adjustable in steps of 5, is never drawn and gives no signal. Raise it for fewer, cleaner patterns, lower it to see more candidates.

Patterns that expire or fail are dropped

A pattern that waits more than 50 bars for its neckline break, or where price runs 0.5 ATR beyond the peaks first, is closed without a signal. You are not left with old necklines that still trigger weeks later.

The measured move drawn for you

On every break the red SL, green TP1 at one pattern height and green TP2 at 1.618 heights appear as dashed lines with their prices, formatted to the symbol's tick size. The lines start 15 bars long and then stay 3 bars ahead of the current candle.

Hits marked where they happen

When a candle's high or low reaches a level, its label changes to TP1 HIT, TP2 HIT or SL HIT and turns solid. Several patterns can be followed at the same time, each with its own lines.

Optional trend filter

Switch on the 200 EMA trend filter and LONG breaks need a close above the EMA, SHORT breaks a close below it. The EMA length is an input and the line is drawn on the chart when the filter is on.

Five alert conditions

Pattern Forming, Neckline Break (Long), Neckline Break (Short), TP1 Hit and Stop Loss Hit, each created from TradingView's Create alert dialog with the trigger you choose, such as Once Per Bar Close.

Visual tour

Double Top Bottom Pattern Scorer, feature by feature

Each picture is built from real platform screenshots of the shipped indicator at its default settings, labelled so you can see what every part does. Tap any picture to open it full size.

Double Top Bottom Pattern Scorer: What it draws on your chart
What it draws on your chart
Double Top Bottom Pattern Scorer: Eur
Eur
Double Top Bottom Pattern Scorer: Btc
Btc
Double Top Bottom Pattern Scorer: Nas
Nas
Double Top Bottom Pattern Scorer: Closeup
Closeup
Double Top Bottom Pattern Scorer: Alerts
Alerts
Double Top Bottom Pattern Scorer: Works on every market
Works on every market
Double Top Bottom Pattern Scorer: Watch it update live
Watch it update live
Double Top Bottom Pattern Scorer: Every setting adjustable
Every setting adjustable
Where it fits

How traders put it to work

Gold on 15 minutes and 1 hour

Fifteen minutes suits day trading and one hour suits swings. On 1 to 5 minute gold charts the patterns are tiny and frequent. The cleanest patterns tend to form in the London session and the New York morning; avoid fresh breaks in the half hour around major US data and Fed decisions.

Forex from 15 minutes to 4 hours

The 1 hour chart is a good start on pairs such as EURUSD, GBPUSD and USDJPY. Asian-session patterns on EURUSD are often too small and get filtered by the 1 ATR minimum height. Many forex feeds carry no real exchange volume, so check whether the volume part of the score is scoring at all.

Crypto that trades all week

On BTCUSD or ETHUSD use 15 minutes to 4 hours. Weekend patterns form on thinner volume, which also lowers the volume part of the score. Exchange feeds carry real volume, so all four score parts can count there.

Indices and stocks

Fifteen minutes works for index day trading, 1 hour to daily for stocks. Around the US cash open, let the first 15 to 30 minutes pass before trusting a neckline break. Stocks gap overnight, and a gap through the neckline only counts once that candle has closed.

Settings

Every setting, with its default

The names are the ones in the script's Settings dialog in TradingView (Inputs tab); the defaults are what every chart on this page uses.

Pivot Detection Settings (2)
SettingDefaultWhat it does
Pivot Left Bars5Bars on the left that a swing high/low must exceed (min 1).
Pivot Right Bars5Bars on the right that confirm the swing; patterns appear this many bars after peak 2 (min 1).
ATR & Tolerance Settings (2)
SettingDefaultWhat it does
ATR Length14ATR period used for the peak tolerance, the minimum height, the stop buffer and the height score.
Peak Matching Tolerance (ATR Mult)0.5Largest allowed price gap between the two peaks/valleys, in ATR; a closer match scores more (min 0.05).
Pattern Distance & Dimensions (3)
SettingDefaultWhat it does
Min Bars Between Peaks5Fewest bars between peak 1 and peak 2 (min 2).
Max Bars Between Peaks60Most bars between peak 1 and peak 2 (3-400).
Min Pattern Height (ATR Mult)1Smallest peak-to-neckline height, in ATR (min 0.1).
Quality Scoring System (0 - 100) (3)
SettingDefaultWhat it does
Minimum Score Threshold60Patterns scoring below this are not drawn and give no signal (0-100, step 5).
RSI Length for Divergence14RSI period for the divergence part of the score.
Show Score Breakdown in TooltiponHovering a pattern label shows the four score parts.
Trend Filter (2)
SettingDefaultWhat it does
Enable 200 EMA Trend FilteroffWhen on, LONG breakouts need a close above the EMA and SHORT breakouts a close below it; the EMA is drawn.
EMA Filter Length200EMA period of the trend filter.
Risk & Targets (4)
SettingDefaultWhat it does
Stop Loss ATR Buffer0.5ATR added beyond the extreme peak/valley for the stop; also the invalidation distance before a breakout (min 0).
Max Bars Waiting for Breakout50Bars after peak 2 the pattern waits for a neckline close before it expires (min 5).
Show TP1, TP2 & SL ProjectionsonDraws the SL, TP1 and TP2 lines and price labels on a breakout.
Target Projections Default Span15Starting length of the SL/TP lines in bars (3-500).
Visual Styling (6)
SettingDefaultWhat it does
Double Top (Bearish) Color#ef5350M-shape lines and Double Top labels.
Double Bottom (Bullish) Color#26a69aW-shape lines and Double Bottom labels.
Neckline Color#ff9800Dashed neckline.
Take Profit 1 Color#00c853TP1 line and label (green).
Take Profit 2 Color#4caf50TP2 line and label (green).
Stop Loss Color#f23645SL line and label (red).
TradingViewSettings
Double Top Bottom Pattern Scorer settings in TradingView
Alerts

The alert events, one by one

In TradingView: Create alert, choose “Double Top Bottom Pattern Scorer [AlgoFXStore]” as the condition and pick the event. TradingView then notifies you the way you set in that dialog: a pop-up in TradingView, a sound, the TradingView app on your phone or an e-mail.

  • Pattern Forming
  • Neckline Break (Long)
  • Neckline Break (Short)
  • TP1 Hit
  • Stop Loss Hit
An honest comparison

Double Top Bottom Pattern Scorer next to the usual options

Where it wins, and where it does not.

 Double Top Bottom Pattern ScorerTypical free double top / bottom indicatorReading it by hand
Finding the patternConfirmed swings, peaks within 0.5 ATR, 5 to 60 bars apart, at least 1 ATR tallOften fixed percentages or loose matchingYour eye, which tends to see the pattern you want
Quality of each patternA 0 to 100 score with a four-part breakdown on hoverUsually none: every match looks the sameYour own checklist, if you apply it every time
Trade planLONG or SHORT on a closed neckline break, SL beyond the pattern, TP1 and TP2 as measured movesOften just the shapeYou draw and measure each level yourself
Failed patternsDropped after 50 bars or a run beyond the peaksOld patterns can lingerEasy to keep hoping
Finality on the live candleA pattern or break can still appear and vanish until the candle closesVaries and is rarely statedYou decide when you look
Simplicity22 inputs and a score to understandOften a couple of inputsNo software to learn at all
CostA one-time paymentFreeFree, paid for in screen time
Is it for you

Honest about who this fits

A good fit if you

  • You trade reversal patterns and want the same objective rules applied to every double top and bottom.
  • You like to rank setups and will use a score breakdown to decide which patterns deserve your attention.
  • You are happy to wait for a closed neckline break instead of anticipating it.
  • You measure every trade in R before you take it and are fine skipping breaks where the targets sit too close.
  • You trade gold, forex, crypto, indices or stocks on TradingView, mostly from 15 minutes to 4 hours.
  • You want the stop and both targets drawn on the chart the moment the break happens.

Not for you if you

  • Traders who want software to place or manage trades: it draws and alerts, it never sends an order.
  • Anyone who reads a high score as a high chance of success: it measures how textbook the pattern is, not how the trade will end.
  • Traders who need every mark to be final the instant it appears: on the forming candle a pattern or break can still disappear.
  • Scalpers on 1 to 5 minute charts who want many signals: there the patterns are small and frequent, and the indicator is built around larger swings.
What's included

The full code, one manual, installed in two minutes

  • 1Pine Script source codeDouble_Top_Bottom_Pattern_Scorer_TradingView_Code.txt (28 KB): the full code. Paste it into the Pine Editor and it appears as “Double Top Bottom Pattern Scorer [AlgoFXStore]”.
  • 15Page PDF manualInstallation, every setting with its default and how to read the chart.
  • 22SettingsEvery one explained above, with the defaults the charts use.
  • ✓Alert eventsYou choose which ones are on in the settings.
  • 60Day money-back guaranteeIf it is not for you, request a full refund within 60 days through your Digistore24 order e-mail.

Install in five steps

  1. Download the zip from the page Digistore24 sends you to after checkout and unzip it.
  2. Open Double_Top_Bottom_Pattern_Scorer_TradingView_Code.txt in a text editor, select all and copy the whole code.
  3. In TradingView, open the Pine Editor, paste the code over everything that is there and click Save.
  4. Click Add to chart: “Double Top Bottom Pattern Scorer [AlgoFXStore]” appears on your chart.
  5. Read the PDF manual; the defaults are the settings shown on this page.
AlgoFXStore logo
Who makes this

Kestutis Balciunas

AlgoFXStore · chart indicators

Kestutis Balciunas builds and publishes chart indicators under the AlgoFXStore name. Every product page shows what the indicator draws on real charts, and every number on it comes from the shipped build.

The charts on this page were captured in TradingView from the shipped Double Top Bottom Pattern Scorer [AlgoFXStore] at its default settings and are shown unedited.

No get-rich claims and no quoted win rates. Every trade is uncertain, and no indicator changes that. If you want to know whether it suits the way you trade before you buy, e-mail [email protected] and you will get a straight answer.

Get Double Top Bottom Pattern Scorer

One price, one payment

One payment · no subscription
€47One-time · TradingView · free updates to the current version
  • The full Pine Script source code of Double Top Bottom Pattern Scorer and the 15-page PDF manual
  • Delivered as a digital download: one zip with the code file and the PDF manual on your download page
  • Return period: 60 days, with a full refund if it is not for you
  • Free updates to the current version on the same download page
Secure checkout by Digistore24 · instant delivery

60-day money-back guarantee. Install it, run it on your own charts and read the manual. If Double Top Bottom Pattern Scorer is not for you within 60 days of purchase, request a full refund from Digistore24, no questions asked: use the refund link in your Digistore24 order e-mail or Digistore24's order page digistore24.com/en/cancel-revoke-contract. Digistore24 refunds to your original payment method. It is a digital download: right after checkout you land on your download page, and the link to it is also in your Digistore24 order e-mail.

Questions

Answered straight

If yours is not here, ask before you buy at [email protected].

About the patterns and signals

Does it repaint?

On closed candles nothing changes afterwards. On the candle that is still forming, a new swing, a pattern, or a LONG or SHORT label can appear and disappear again, because the indicator uses that candle's current high, low and close. Also, a pattern is only found 5 bars after its second peak, and its label is placed back on that peak. Act on closed candles and set alerts to Once Per Bar Close.

What does the number of pts on the label mean?

It is the quality score out of 100, the sum of four parts of up to 25: price match, RSI divergence, volume divergence and pattern height. It is not a price distance and not a probability. A high-scoring pattern can fail and a lower one can run, so use it to sort patterns, not to predict them.

Why is TP1 sometimes closer than my stop?

The stop sits beyond the whole pattern, 0.5 ATR past the higher peak or lower valley, while the targets are measured from the neckline. From a breakout-close entry that often puts TP1 at less than 1R. That is the classic measured-move method; check the trade in R before you take it and skip or size down when the targets are too close.

I see a pattern but no LONG or SHORT. Why?

Either the break has not happened yet, or the pattern expired after 50 bars, or price ran more than 0.5 ATR beyond the peaks or valleys before breaking the neckline. With the 200 EMA trend filter on, breaks on the wrong side of the EMA are also skipped.

What do the colours and marks mean?

Red M and red labels: double top. Green W and green labels: double bottom. Orange dashed line: the neckline. Green LONG under a candle and red SHORT above it: the closed neckline break. Red dashed SL and green dashed TP1 and TP2: the plan. A solid label reading TP1 HIT, TP2 HIT or SL HIT: a wick reached that level.

Settings and markets

Which timeframes and symbols work?

Any TradingView symbol and timeframe, because every distance is in ATR. The defaults suit 15 minutes to 4 hours: pivots need 5 bars each side and peaks 5 to 60 bars apart, so on 1 to 5 minute charts patterns are small and frequent, and on daily charts they are rare.

Should I keep the defaults or tune them?

Start with the defaults. To see more candidates, lower the Minimum Score Threshold to 50 or raise Peak Matching Tolerance to 0.7. For fewer, stricter patterns, raise the threshold to 80, which requires both divergences. Larger Pivot Left and Right Bars find bigger swings but report them later. Keep Pivot Right Bars at 100 or less.

Why is the volume part of the score always zero?

The symbol has no volume data on that feed, so the volume divergence cannot score. The other three parts still work. If you want the volume part, choose a feed for that market that carries volume, such as an exchange feed for crypto.

Can several patterns be active at once?

Yes. Each pattern is followed separately with its own neckline, stop and targets, and up to 30 recent patterns are tracked. When the chart reaches 500 lines or labels, TradingView removes the oldest drawings automatically.

Alerts and running it

Which alerts are there and how do I set them?

Five alertcondition alerts: Pattern Forming, Neckline Break (Long), Neckline Break (Short), TP1 Hit and Stop Loss Hit. In TradingView choose Create alert, pick the indicator as the condition, then one of the five, and set the trigger to Once Per Bar Close. Create one alert per condition you want. There is no separate TP2 alert.

Do the alert messages include the price?

No. They are fixed texts such as a neckline broken upwards, without prices or the pattern's score. TradingView shows the symbol in the notification, so give each alert a name with its symbol and timeframe. With several patterns tracked, the TP1 and stop alerts do not say which pattern they belong to.

An alert fired but no label is on the chart. Why?

The alert was created with the Once Per Bar trigger and fired on a forming candle that later closed without the condition. Re-create it with Once Per Bar Close so it waits for the candle to close.

Does it work on the free TradingView plan?

Yes. It uses only the chart's own bars, with no other symbols and no lower-timeframe data, and its alerts are ordinary alertcondition alerts that any plan can create within its own limit of active alerts.

How it works

Will it place trades for me?

No. Double Top Bottom Pattern Scorer is an indicator: it draws on the chart and can alert you. It never sends an order.

Do I need a paid TradingView plan?

No. It reads only the chart's own bars, so the free TradingView plan runs it. Alerts count against your plan's alert limit.

After you buy

How do I get it after paying?

Digistore24 runs the checkout. Right after payment it takes you to your download page with one zip holding the Pine Script source code file and the PDF guide; the link to that page is also in your Digistore24 order e-mail, so you can download again at any time.

How do I install it?

Open the code file, open the Pine Editor in TradingView, paste the whole code, click Save and then Add to chart: “Double Top Bottom Pattern Scorer [AlgoFXStore]” appears on your chart. The guide walks through it step by step.

Who is Digistore24?

Digistore24 is the reseller that sells Double Top Bottom Pattern Scorer for Kestutis Balciunas (AlgoFXStore): it runs the checkout, charges your card or PayPal, collects the VAT for your country and delivers the download. Its name is the one on your statement, and its order e-mail holds your download link and the refund link.

What is the refund policy?

A 60-day money-back guarantee, handled by Digistore24. If Double Top Bottom Pattern Scorer is not for you within 60 days of purchase, use the refund link in your Digistore24 order e-mail or Digistore24's order page (digistore24.com/en/cancel-revoke-contract) for a full refund, no questions asked. Digistore24 makes the refund to your original payment method.

Do I get the source code?

Yes. You get the full Pine Script source code as a text file for your own use; the licence line at the top of the code does not allow resale, sharing or republishing.

Double Top Bottom Pattern Scorer for TradingView.

Put scored double tops and bottoms with a planned neckline break on your TradingView chart today. The full code, the manual and every setting explained. Instant download for €47, one payment.

Get instant access