Source: https://hamster-bot.com/en/algo/tv-ccs

[← All strategies](https://hamster-bot.com/en/algo)

# Channel Close Strategy

The simplest version of a Donchian channel breakout, with a single parameter. A good way to get started with trend strategies.

When a candle closes above the high of the previous N candles - buy. When it closes below the low - sell. The position is reversed.
All actions happen at the candle close with a market order, so the strategy works the same in the tester and on the live market.

**⚠️ Loses in a sideways market and on false breakouts.**

#### Parameters

- `len` - channel length in candles (default 10)
- If the price has moved beyond the opposite channel border by more than 1%, the position is closed with a market order

---

Backtest the strategy on historical data in the [tester](https://hamster-bot.com/en/tester) and run it in [hamster-bot](https://hamster-bot.com/en/download).
