Home › Guides › Forex Chart Patterns

WHY BOTS FAILFREENO ACCOUNTAUTOMATED TRADE BOTSForex Chart PatternsThe arithmetic of how bots failEDUCATION ONLY | NO SIGNALSEXAMPLE NUMBERS ARE LABELLEDAUTOMATED TRADE BOTSautomatedtradebots.com
A free page on forex chart patterns. Education only, with example numbers labelled.
WHY BOTS FAIL

Forex Chart Patterns

Short answer

Forex chart patterns are the usual shapes, such as double tops, triangles and head and shoulders, drawn on currency pair prices. The shapes themselves are not special to forex.

The shapes are the same as on any chart. What differs is how a currency pair trades around the clock, and what the spread does to an entry.

The page explains the idea in plain words, works through the arithmetic with a table, and shows how it hits grid, martingale and DCA bots, then tells you what to check before you run one.

  • A worked example with real arithmetic
  • How it hits grid, martingale and DCA bots
  • How to check for it before you run a bot
  • No advice, no signals, no profit promises

Last reviewed 28 October 2026. Education only, not advice.

Free, no account Runs in your browser Worked numbers shown Not advice Examples labelled

Ready to go further

Next: price a pip in your account currency

The pip value calculator turns the pips on this page into money for a given position size, so you can see what a spread costs.

Reading time8 minutes
Worked exampleExact arithmetic
Tools linked2 on this page
Reviewed28 Oct 2026

What is included

  • What it is, in plain words
  • The formula or mechanism, with exact arithmetic
  • How it hits grid, martingale and DCA bots
  • A check you can run before you switch a bot on

Who it is for

  • People who run or plan to run a trading bot
  • Anyone reading a backtest or a bot sales page
  • Readers who want the numbers, not the pitch
  • Not advice, and not a signal service
Made-up double top on a made-up currency pair (bid prices)1.09501.10001.1050181623peak 1peak 2Bar number (made-up hourly bars)Made-up prices. Dashed line: the neckline at 1.1000. Calculated by us on 31 Oct 2026, exact.
The picture for this page. Example numbers are made up unless the page says they were calculated.

Key facts

  • Forex chart patterns are the usual shapes, such as double tops, triangles and head and shoulders, drawn on currency pair prices. The shapes themselves are not special to forex.
  • What is different is the market: it trades 24 hours a day on weekdays, there is no single central volume figure, the spread changes through the day, and price gaps are rare except over the weekend.
  • In the made-up double top below, the move from the break to the target is 47.0 pips. A 3.0 pip spread takes 6.4 percent of that and a 1.2 pip spread takes 2.6 percent (calculated by us on 31 Oct 2026, exact).
  • A bot needs the pattern written as exact rules, then tested with the spread included. A test on mid prices with no spread flatters every pattern entry.
  • This page does not say how often any pattern works. That is a number to measure, with costs, on your own data.

The same shapes on a different market

A chart pattern is a shape in a series of prices. Examples are a double top, a triangle, a flag or a head and shoulders. The general ideas are on chart patterns, and one full example is on head and shoulders. This page asks a narrower question: what changes when the prices are a currency pair?

A currency pair is a price of one currency in terms of another. If you are new to the market itself, start with forex trading for beginners. A pip is the usual small unit of price for a pair: 0.0001 for most pairs and 0.01 for pairs that include the Japanese yen. To turn pips into money for a given position size, use the pip value calculator.

What is different about forex data

It trades around the clock

Currency trading follows the sun from one financial centre to the next. On weekdays there is almost always a market open somewhere. A chart of a stock has a clear open and close each day. A currency chart has neither. Where one daily bar ends is a choice made by the platform, so a daily pattern can look different on two platforms that cut the day at different hours.

Activity changes with the session

Trading is busier when large centres overlap and quieter when few are open. That changes how a pattern forms. A peak made during a quiet hour may be a few orders moving a thin market, not a level many people cared about. A swing made during a busy hour has more trades behind it. A chart does not show which was which.

There is no central volume

Stocks on one exchange have a volume figure for every bar. Currencies mostly trade between banks and brokers, with no single place that adds it all up. The volume shown on a forex chart is usually a count of price changes (ticks) from one data source, not the amount traded. Patterns that lean on volume, such as a breakout confirmed by a surge in volume, cannot be read the same way. Tick counts are a rough stand-in at best, and they differ between sources.

Gaps are rare, except over the weekend

Because the market runs continuously, one bar usually opens close to where the last one closed. The exception is the weekend. If news arrives while the market is shut, the first price on Monday can be well away from Friday's close. A made-up example: a buy stop sits at 1.1049, and after a weekend the first price available to buy is 1.1062. The order fills about 13.0 pips worse than the level it was placed at. That is slippage, and a pattern held over a weekend can meet it.

The price you see is not the price you get

A chart usually draws the bid price. You sell at the bid and buy at the ask, which is higher by the spread. The spread is not fixed. It is often tight in busy hours and wider in quiet ones and around news. Brokers differ, so check how yours quotes it.

A worked example with made-up numbers

Take a made-up pair on hourly bars, drawn at bid prices. Price rises to 1.1050 on bar 6, dips to 1.1000 on bar 11, and rises again to 1.1048 on bar 16. That is a double top with a neckline at 1.1000. The first close below the neckline is 1.0997 on bar 19. A short trade sells there at the bid. All the numbers are made up.

The common measured-move rule takes the pattern height, 50.0 pips, and projects it down from the neckline. That gives a target of 1.0950. A person might also treat a price above peak 2 as the point where the shape has failed. The table shows the trade with a tight spread and with a wide one. A short trade is closed by buying back at the ask, so the spread comes off the move at the exit.

ItemBarValueNote
Peak 161.1050First high
Neckline (dip)111.1000Low between the peaks
Peak 2161.1048Slightly lower than peak 1
Pattern height-50.0 pips1.1050 minus 1.1000
Break: first close below191.0997Entry, selling at the bid
Measured target-1.09501.1000 minus 50.0 pips
Move to target, no spread-47.0 pips1.0997 minus 1.0950
Distance to the stop level-51.0 pipsAt peak 2, 1.1048
Net to target, 1.2 pip spread-45.8 pipsBuy back at the ask
Net to target, 3.0 pip spread-44.0 pipsSame trade, wider spread
Loss at the stop, 1.2 pip spread-52.2 pips51.0 plus spread
Loss at the stop, 3.0 pip spread-54.0 pips51.0 plus spread

With no spread the move from the entry to the target is 47.0 pips. With a 1.2 pip spread, 45.8 pips are left. With a 3.0 pip spread, 44.0 pips are left. The stop works the other way: a loss at the stop is 52.2 pips with the tight spread and 54.0 with the wide one. The ratio of the net move to the loss goes from 0.88 to 0.81. Same chart, same pattern, a different result, with nothing changed but the spread. Calculated by us on 31 Oct 2026, exact. Slippage is left out to keep the count clear.

Made-up example: pips left after the spread, by spread width47.0Before spreadpips to target45.8Tight spread1.2 pips44.0Wide spread3.0 pipsMade-up numbers from the table on this page. Calculated by us on 31 Oct 2026, exact.
Pips left on the same made-up trade after a tight and a wide spread. The pattern did not change.

How sessions and spread change entries

Patterns are usually taken from closes, and the close of an hour is the same kind of number wherever the hour falls. What it means is not the same. Three effects matter most.

  • A thin-hour break can be a spike. In a quiet hour a few orders can push price through a neckline for a bar or two, and then it returns. A rule that enters on the first close below the line will enter on these. See false breakout.
  • The spread can be widest when patterns break. News often breaks a level, and the spread often widens at the same time. The entry then pays more than the same entry in a calm hour, and a stop placed just beyond a peak can be touched by the ask price while the bid chart shows nothing.
  • Small patterns cost more. The smaller the target, the larger the share the spread takes. In the example the wide spread takes 6.4 percent of a 47.0 pip move. On a pattern with a 10 pip move, the same spread would take 30.0 percent. Short time frames make small patterns, so costs weigh most there.

A rule can allow for these. It can skip entries when the spread is above a limit, skip certain hours, or wait for a second close. Each of those is a setting, and each setting is another thing to test, not a fix.

How a bot tests forex chart patterns

A bot, or a forex robot, cannot use a drawing. It needs a definition that gives the same answer every time. The full steps are in how to backtest. For patterns on currency pairs, these points matter most.

  • Write the definition first. How many bars either side make a swing, how close the two peaks must be, what counts as the break, how long the pattern may take. Fix these before looking at results.
  • Confirm swings late. A swing high over 5 bars either side is only known 5 bars after it happens. A test that marks it on the bar it happened has looked ahead. See look-ahead bias.
  • Use bid and ask. Test with real spread data if the data source has it, or with a deliberately wide fixed spread if not. Run it twice, tight and wide, and see how much of the result survives. In the example the ratio fell from 0.88 to 0.81.
  • Add swap and weekend holds. A trade held over the rollover time can pay or earn a swap charge, and a trade held over the weekend can meet a gap. Check how your broker handles both.
  • Test across sessions and pairs. Split the results by the hour the trade opened. A rule that works only in one session, on one pair, in one year, is more likely a fit to that sample. See overfitting.
  • Count the trades. A strict pattern definition may match only a handful of chart segments. Too few trades say little about anything.
  • Keep data back. Tune on one part of the data and test once on the part you kept back.

What this does not tell you

None of this says a pattern works. A pattern is a way to describe a chart, and a test only says how a fixed rule behaved on a past sample, after costs. A good past result can fail later. This page is education, not a signal.

FAQ

Frequently Asked Questions

What are forex chart patterns?

They are shapes in currency pair prices, such as double tops, triangles and head and shoulders. The shapes match those on other markets. The market underneath is what differs.

Do chart patterns work the same on forex as on stocks?

The drawing is the same, but forex has no closing bell, no central volume figure, and a spread that changes through the day. These change how entries behave, so a rule should be tested on currency data itself.

Why does the spread matter for pattern entries?

You sell at the bid and buy at the ask, so each round trip pays the spread. On a small pattern the spread takes a larger share of the target. In the made-up example here, a wider spread cut the pips left from 45.8 to 44.0.

Is there volume on forex charts?

Not one central figure. Forex charts usually show tick volume, a count of price changes from one data source. It is not the amount traded, so volume rules do not carry over cleanly.

How does a bot test a forex chart pattern?

It turns the pattern into exact rules, confirms swings only after they form, includes the spread and swap, and tests on data it was not tuned on. See how to backtest for the steps.

Are the numbers on this page real?

Example numbers are made up to show how the maths works, and the page says so. A figure only counts as exact when the page says it was calculated on a stated date. Nothing you enter in a calculator leaves your browser.

Can I use this to decide whether to run a bot?

It can show whether a bot's numbers hold together and how much an account can lose. It cannot say what the market will do, and it is not advice. Use it to ask better questions, then read the terms of your own broker or exchange.

Is this financial advice?

No. It is general education. The prices are made up and nothing here is a signal or a forecast.

Know the Risk Before You Run It

Free calculators and guides, added every week. Leave your details and we will email you when new ones go up.

Trading carries a risk of loss