At a specified exchange hour, the strategy places a long buy stop order at the upper Donchian Channel level. Unfilled pending orders automatically expire after a configurable number of bars. Open long positions exit via a trailing stop order pegged to the lower Donchian Channel band.
Donchian Channel breakout buy stop entries
Time-based order placement and expiry rules
Trailing stop loss based on the lower Donchian band
Customizable channel lookback length and trade volume
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Longitud Canal Donchian
int
25
donchianLen
Hora de Colocación de Orden (Hora del Exchange)
int
17
targetHour
Horas de validez de la orden
int
60
validHours
Volumen de posición
int
900
lot_size
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This strategy plots VWMA-based Bollinger bands on the 1-minute ES futures price chart for volatility analysis and potential breakout identification. It calculates dynamic long and short stop loss and take profit levels using percentage inputs relative to entry
This strategy trades Donchian breakouts measured on weekly bars while orders execute on the chart timeframe. It allows long and short entries when price breaks the prior weekly channel and exits against the shorter weekly channel. Position size risks a set per
This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr
The Chained Linear Regression Reversal Strategy plots linear regression channels with upper and lower standard deviation bands directly on the price chart across a user-defined time window. When price breaks out of the static channel for a confirmed number of
This overlay strategy plots a two-timeframe Ichimoku setup on the price chart, with Tenkan, Kijun, Chikou, and Kumo from a base higher timeframe and an optional highest-timeframe cloud. It allows two entries in the same direction and uses ATR-based trailing st
This strategy trades long breakouts of a fast and a slow moving average on the price chart. It opens a long position when price crosses above either average, using a percentage of equity as size. It reduces the position by a set share when the high reaches the