by hasnocool· code credited to HeWhoMustNotBeNamed
Band-Zigzag TrendFollower Strategy is a trend-following trading system that combines volatility bands, such as Bollinger Bands or Keltner Channels, with pivot-based trend structure.
Band-Zigzag - TrendFollower Strategy [Trendoscope] evaluates trend switches and invalidation levels using adaptive or sticky bands to trigger long or short positions. Users can select the moving average type, band multiplier, direction filters, and pivot settings. The strategy plots trend lines and band levels directly on the main chart, though stop-loss protection is turned off by default.
Volatility channel options including Bollinger Bands and Keltner Channels
Adaptive and sticky trend invalidation multiplier logic
Recent pivot override option for dynamic trend detection
Configurable trade direction filters and moving average types
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Trade Direction
string
strategy.direction.all
tradeDirection
Trade Type
string
Any
tradeType
Use Stop Loss
bool
false
useStopLoss
bandType
string
Bollinger Bands
bandType
maType
string
sma
maType
maLength
int
20
maLength
multiplier
float
2.0
multiplier
Use True Range (For KC only)
bool
true
useTrueRange
Sticky
bool
true
sticky
Adaptive
bool
true
useAdaptive
Display Bands
bool
true
showBands
Use Recent Pivot Override
bool
true
useLatestPivot
Show all 13 settings
Setting
Type
Default
Variable
currentTrendInvalidationMultiplier
float
1.618
currentTrendInvalidationMultiplier
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 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
This trend-following strategy adapts classic Donchian breakout channels according to market volatility regimes. It calculates an ATR percentile rank across a rolling lookback period, shifting dynamically between tighter breakout channels with smaller stops dur
This strategy executes breakout trades using two Donchian Channels alongside an optional 200-period EMA trend filter. Entries trigger when the price sets a new highest high or lowest low over the primary Donchian Channel period. Exits are managed via a shorter
This strategy implements a channel breakout system directly on the main price chart. It calculates highest highs and lowest lows over configurable entry and exit periods using historical candles. A long entry triggers when the close breaks above the entry chan
This strategy combines channel breakout concepts with an ATR-ADX volatility trailing framework and multi-timeframe moving averages. It evaluates trend conditions using configurable moving average types, including SMA, EMA, Hull MA, and Tilson T3, paired with d