FoundLux
Terminal HeatmapsRadarAlerts Bots Paper tradingBacktest App for your phoneHelp RiskMethodology FAQ Log inStart demo
← All eight bots Trading bot

Donchian Channel Trend following

The Donchian bot watches the highest high and the lowest low of the last N periods. As long as the price stays in between, nothing happens. When it breaks out, that counts as the start of a trend. A very old, very simple method.

How the bot thinksDiagram

How it works

The channel
High and low are formed from the last N candles. A short channel reacts quickly and produces many false breakouts; a long one reacts sluggishly and catches the big moves instead.
The entry
If a candle closes above the channel, it buys; below the channel, it sells. Filters on volume and the higher trend sort out weak breakouts.
The exit
An ATR stop limits the loss, a trailing target lets winners run. On higher timeframes a position therefore often stays open for days.

What you set

SettingMeaning
Channel lengthOver how many periods high and low are formed
Volume filterWhether a breakout also has to be confirmed by volume
Trend filterPrevents entries against the higher direction
Trailing targetLets winners run instead of closing at the target

Everything through forms — no code. Backtest and the Top 50 optimizer run at the push of a button.

What it is built for

  • 4h and 6h on the large coins — that is where it held up in our study
  • Markets that tend towards long moves
  • If you prefer few positions held for a long time

When it does not work

  • Sideways phases. There every short twitch produces a false breakout. That is exactly what the filters are for — they reduce the problem but do not remove it.
  • Short channels. The faster the channel reacts, the more often it triggers falsely.
  • Smaller coins. On the other coins, only 40 of 112 were in profit in our study.
  • Patience needed. Even on 4h and 6h, weeks can pass without a single entry.
No bot always wins. Each of the eight has market phases in which it loses — that is why the box on the right is on this page at all. That is exactly what the demo account is for: let it run until you have seen a bad phase, not just a good one.
Simulation

A fixed calculation example

Calculated by a fixed rule: the study’s preset, the same period and the same costs for all bots. The main figure is the whole basket, not a single coin. The rule was fixed before the calculation. After the first run, one correction was added: an empty account counts as a loss of the entire margin.

Backtest calculation example (simulation)

Donchian ★ 4h balanced

★ = best in the study

Basket
BTC & large altcoins
Coins in the basket
12
Period
01.01.2020 – 30.09.2026
Candles
4h
Margin per coin
10.000 $
Leverage
3
Position per coin (margin × leverage)
30.000 $
Total margin of the basket
120.000 $
Basket total+200.102 $in % of the total margin: +166,8 %
Just holding the coin, basket total+1.375.433 $Leverage 1, same margin, bought at the first candle, fee and slippage per side
Without the best coin+36.641 $Best coin: DOGE +163.462 $

⚠ Mixed in the test: 5 of 12 coins in profit

Simulated result with past prices and demo play money — it was never traded like this. Past results, including simulated ones, are not a reliable indicator of future results. Real results can be considerably worse, up to the loss of the money invested.

The bot, the preset and the coins were selected in our own studies over exactly these years. That tends to make the result too good.

Each year separately, basket total

2020+26.714 $
2021+118.160 $
2022+23.882 $
2023+2.167 $
2024+36.883 $
2025+14.612 $
2026−22.316 $Partial year 01.01.–30.09.

Largest drawdown per coin

With the bot
Median18.030 $
At most88.347 $
Without the coins with an empty account
Just holding the coin
Median243.632 $
At most1.662.109 $

Per coin

Median per coin
−10.000 $
Worst coin
SOL −10.000 $
Funding estimated (not in the result)
−39.726 $
Just holding the coin: funding estimated
−56.432 $
Account empty (entire margin lost)
SOL BNB LINK AVAX ATOM NEAR ADA

If a coin’s loss (realised and open) reaches the entire margin, its account is empty. It then counts as a loss of the entire margin and stops trading.

Example coin BTC

Result+23.453 $in % of the margin: +234,5 %
Just holding the coin+106.073 $Leverage 1, same margin
Without the best trade+14.443 $Best trade: +9.010 $

Deepest drawdown

With the bot12.279 $in % of the margin: 122,8 %
Just holding the coin93.063 $in % of the margin: 930,6 %
Trades
225
Funding estimated (not in the result)
−4.734 $
Just holding the coin: funding estimated
−4.930 $

Each year separately, example coin BTC

2020+16.674 $
2021−5.598 $
2022+5.491 $
2023+8.176 $
2024+3.509 $
2025−4.337 $
2026−462 $Partial year 01.01.–30.09.

Prices: Binance USDⓈ-M Futures Candles: 4h 01.01.2020 – 30.09.2026 assuming 0.08 % fee + 0.06 % slippage per side Funding: estimated, separate line

Baskets = coins that were still traded on 30 September 2026. Coins that disappeared from the market before then are missing — that tends to make the result better.

As of: period up to , calculated on

Test it yourself in the demo account
Step by step

How to set it up

Real recordings from the bot setup — beginner, demo account. Logged in, you see the detailed version with every field and tips.

  1. 1Choose a bot

    Donchian — breakout from the channel

    Click the robot button at the top, then pick this bot in the right panel.

  2. 2Question 1 · What to trade?

    Coin, timeframe, direction

    Coin, timeframe and direction: auto, long or short.

  3. 3Question 2 · How much?

    Margin, leverage, buffer

    Own margin, leverage, extra margin — below it the setup calculates volume, liquidation and committed money.

  4. 4Question 3 · How to trade?

    Channel and filters

    Four presets for the large coins: Calm (6h), Balanced, Active and Fast (4h).

  5. 5Question 4 · When to get out?

    Stop and target

    Stop by ATR, target ratio, trailing and break-even.

  6. 6Question 5 · Test first

    One click runs all the numbers

    Pick a period, then one button calculates fact sheet, backtest and basket — with costs as measured live.

  7. 7The verdict

    One sentence that tells you where things stand

    At the top one sentence: does the setting hold or not. Below it the fact sheet with all the numbers.

  8. 8The basket

    The same setting on twelve coins

    If it only works on one market, you will see it here — before real money is involved.

  9. 9Question 6 · Start

    You start exactly what was tested

    As a demo bot with play money — or, after approval, live through your own exchange keys, with confirmation, kill switch and limits.

Real recording of the setup · backtest simulation with past prices · demo play money

Hidden in the images: drawdown and starting capital of the setup. The deepest drawdown is calculated in the calculation example on the bot’s page, for all bots by the same rule.

Detailed guide

Try the Donchian Channel

Create an account, configure the bot, test it against the past, let it run in demo mode. No real money, no payment details.