Browse Indicators
Indicators MT5 Indicators MT4 Indicators ICT Indicators MT5 ICT Indicators MT4 ICT Indicators Add Indicators Download/Add MT5 Indicators Download/Add MT4 Indicators Blog Browse Indicators
Olymptrade – Start with $10. Get up to 100% more.
Product Post

Triple Top and Bottom MT4 Indicator

Last Update Nov 5, 2026 3 min read 2,787 views 0 comments Beginner
Indicator file
Triple Top and Bottom
Free licence

On MT4, marks three turns at almost one price as a blue TripleTop or a salmon TripleBottom, with a dotted neckline through the swings between them.

On MetaTrader 4, the Triple Top and Bottom indicator follows the swing points of its own zigzag and marks each place where price turned three times at almost the same level. A triple top is drawn in blue with the word TripleTop, a triple bottom in salmon with TripleBottom, and both get a dotted neckline through the two swings between the turns.

Triple Top and Bottom Specifications

All of it lives on the main price chart: there is no separate indicator window and no information panel.

SpecificationDetail
PlatformMetaTrader 4 (MT4); an MT5 version is available too
CategoriesPrice Action
Indicator typeChart patterns, reversal
Skill levelBeginner
TimeframesAny; shown here on M5
Trading styleIntraday, swing trading
MarketsForex, gold, indices, crypto, stocks
DisplayBlue TripleTop or salmon TripleBottom lines with a label and a dotted neckline; optional dash-dot zigzag
AlertsNone

What Is the Triple Top and Bottom Indicator?

A triple top is three highs at nearly one price with two pullbacks between them; a triple bottom turns that upside down, three lows with two rebounds. The indicator takes both from its zigzag. Every swing high and swing low the zigzag confirms becomes a candidate, and three neighbouring highs, or three neighbouring lows, are checked against each other.

How close counts as close is set by Proximity Factor, in units of the Average True Range. At the default of 0.5, each high may sit no more than half an ATR from the next one, and the two pullbacks between them have to pass the same test; a triple bottom is held to the same limit for its lows and rebounds. The default is deliberately tight, so it finds few shapes, and the ones it does find look like the textbook pattern.

A shape that passes is joined with solid lines, from the swing before the first turn to the candle that crosses back over the neckline. The tool writes TripleTop above the middle high or TripleBottom below the middle low and runs a thin dotted neckline through the two inner swings. The zigzag stays hidden by default; set Show Zig Zag Line to true and it appears as a turquoise dash-dot line, so the swings behind each pattern can be checked by eye. Removing the indicator takes every line, label and neckline off the chart with it.

Triple Top and Bottom MT4 on XAUUSD M30 with a TripleBottom, its salmon lines and dotted neckline
A TripleBottom on XAUUSD M30 on 6 Apr 2022, with its salmon lines and dotted neckline.

Bullish Pattern

The bullish shape is the triple bottom: price falls to roughly the same low three times and cannot get under it. The two rebounds between the lows set the neckline and its slope, and the salmon lines run from the swing high before the first drop until a candle lifts price above that neckline.

On 9 Apr, AUDUSD on M5 slid from about 0.66253 at 18:50 to a first low near 0.66162 around 20:15. A bounce to 0.66208 came next, then a second low near 0.66164 at 21:00, a lift to 0.66220 and a third low near 0.66160 at about 22:10. Less than half a pip separates the three lows, close enough for the default factor of 0.5. The neckline climbs through the two rebound highs; price was back at it near 0.66239 at 22:25 and traded around 0.66283 by 23:15.

For a long idea, the neckline is the level price has to clear, and the lowest of the three lows, about 0.66160 on this chart, is where the pattern would stop making sense.

Triple Top and Bottom MT4 triple bottom on AUDUSD M5 rising through the neckline
Three lows from 0.66160 to 0.66164 on 9 Apr, then price rises through the dotted neckline.

Bearish Pattern

A triple top is the same idea pointing down: three rallies stall at almost one price, and the neckline runs beneath the two pullbacks that separate them.

This example on 23 Apr was taken with Proximity Factor raised to 1.5. Highs came near 0.64625 at 04:00, 0.64652 at 05:50 and 0.64629 at 07:10, with pullbacks to 0.64541 and 0.64554 in between. The blue lines follow that path and stop near 08:00, where price slipped back under the dotted neckline around 0.64559; by about 10:05 a candle had dipped to about 0.64450.

The factor is the edge case on this side. At 1.5 the tool accepts turns up to one and a half ATR apart, so more tops and bottoms show up, and some of them only loosely resemble three equal turns. Raise it only as far as the shapes on your chart still look like the pattern. For a short idea, the neckline is the level price has to lose, and the highest of the three tops, 0.64652 here, marks where the shape is broken.

Triple Top and Bottom MT4 triple top on AUDUSD M5 falling through the neckline
Factor 1.5: three highs from 0.64625 to 0.64652 on 23 Apr, then a drop through the neckline.

Indicator Settings

MetaTrader 4 opens the tool in its Custom Indicator window, where the Inputs tab holds eleven rows, two of which are headers.

Triple Top and Bottom MT4 Inputs tab, Proximity Factor 0.5
Defaults: zigzag hidden, pivot period 3, Proximity Factor 0.5, both patterns on.

The first header opens the zigzag that supplies the swing points, the second the pattern search and its colours. Only Pivot Period Of Zig Zag Line and Proximity Factor change which patterns appear; every other row changes how they are drawn.

InputDefaultEffect
Zig Zag Line: the zigzag that supplies the swing points
Show Zig Zag LinefalseShows or hides the dash-dot zigzag
Pivot Period Of Zig Zag Line3Candles used to confirm a swing; larger values keep only bigger swings
Zig Zag Line StyleDashdotLine style of the zigzag
Zig Zag Line ColorMediumTurquoiseColour of the zigzag
Zig Zag Line Width1Thickness of the zigzag
TripleBottom & TripleTop: the pattern search and its drawing
Proximity Factor
(Max Distance Of TripleBottom
& TripleTop Pivot)
0.5Largest gap, in ATR units, between the three turns and between the two swings inside them; higher values find more, looser patterns
Show TripleBottom & TripleToptrueDraws or hides the pattern lines, labels and necklines
TripleTop ColorCornflowerBlueColour of triple top lines and label
TripleBottom ColorSalmonColour of triple bottom lines and label

On the M5 chart used here, a pivot period of 3 equals 15 minutes of candles. On H1 the same setting spans three hours, so each swing, and every pattern made from those swings, is built from larger moves.

Conclusion

The tool does one job: it finds three turns at nearly one price, joins them into a labelled triple top or triple bottom and draws the neckline the pattern rests on.

Proximity Factor decides the balance. At 0.5 the matches are tight and rare; at higher values more appear, some only rough copies of the shape, and one sideways stretch can then carry a top and a bottom on top of each other. The indicator draws no arrows, sends no alerts and has no panel, and its drawings leave the chart together with it.

Your rating

Rate this indicator

How useful was this indicator? Click a star.

FAQ

Frequently asked questions

It is the allowed gap between the three turns, and between the two swings that sit between them, counted in multiples of ATR. With 0.5 the shapes stay close to the textbook form and appear rarely; 1.5 lets through more, and some of those match only roughly.

That is the neckline. It passes through the two swings between the three turns and stretches across the pattern, and the solid pattern lines end on the candle that crosses it.

With a large Proximity Factor one sideways stretch can pass both checks: its highs are close enough for a top and its lows close enough for a bottom. At the default of 0.5 that seldom happens.

From the swing highs and lows of its own zigzag, set by Pivot Period Of Zig Zag Line (3 by default). Turning on Show Zig Zag Line draws that zigzag as a turquoise dash-dot line, so the points behind every pattern can be checked on the chart.

Discussion

Comments

Be the first to comment.

New releases

New MetaTrader 4&5 indicators

View all indicators
01 MT4 Beginner

Trend Continuation Oscillator MT4 Indicator

MT4 oscillator with Bull and Bear Continuation values; a Buy or Sell arrow marks the bar where either one turns positive.

2,907 views 11 downloads
02 MT4 Advanced

ICT Killzones MT4 Indicator

Marks the Asian, London, New York AM and New York PM killzones on MT4 as coloured boxes, with green high and red low lines to each session's end.

2,167 views 13 downloads
ICT Free
03 MT5 Advanced

ICT Killzones MT5 Indicator

Draws the Asian, London, New York AM and New York PM killzones of each day on MT5, with every box's high and low carried on as green and red lines.

2,970 views 14 downloads
ICT Free
04 MT4 Intermediate

RSI Color Candles MT4 Indicator

Paints each MT4 bar in one of four RSI(14) zones and marks with an arrow the bar where RSI first closes over 60 (Buy) or under 40 (Sell).

2,829 views 10 downloads
Useful trading articles

Build a sharper trading framework.

View all articles

Study market structure, liquidity, imbalance, and execution without scattered notes.

01 Beginner

How to Install an Indicator in MetaTrader 4

Install a custom .ex4 indicator in MetaTrader 4: download it, put it in MQL4 Indicators, refresh the Navigator and attach it to a chart.

2 min read
02 Beginner

How to Install an Indicator in MetaTrader 5

Add a custom .ex5 indicator to MetaTrader 5: copy it to MQL5 Indicators, reload the Navigator and attach it, plus fixes when it does not show up.

2 min read