1nTest · strategy backtester and trading bot builder

Price channel

A price channel is a sloped range: two parallel lines that contain price as it trends up or down. Traders buy at the lower line of a rising channel and sell at the upper line of a falling one.

What it means

Like a horizontal range, a channel is traded either from its boundaries or on a false break beyond them (a deviation).

A channel drawn after the fact always looks clean; the question for a backtest is what the channel looked like at the moment of each trade.

How 1nTest computes it

1nTest builds channels online: the channel is recalculated on every bar, and a trade takes the geometry known at the moment the setup is armed.

This is checked by a causality test that changes future bars and verifies that past entry decisions do not change.

Related concepts

← All concepts