This strategy identifies breakouts using Keltner Channels combined with volume spike filters, ADX trend strength, RSI thresholds, and an optional EMA trend direction filter.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Volume Breakout Strategy triggers long entries when price crosses above the upper channel and short entries when price crosses below the lower channel during matching trend conditions. Risk controls feature an ATR-based stop loss, breakeven triggers, and trailing stops. User settings allow adjusting leverage, position compounding, indicator filters, and configuring JSON webhook messages for external execution.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Long Entry JSON
text
{"action": "open_long", "ticker": "ETHUSD"}
msg_long_entry
Long Exit JSON
text
{"action": "close_long", "ticker": "ETHUSD"}
msg_long_exit
Short Entry JSON
text
{"action": "open_short", "ticker": "ETHUSD"}
msg_short_entry
Short Exit JSON
text
{"action": "close_short", "ticker": "ETHUSD"}
msg_short_exit
Use Compounding?
bool
true
use_compounding
Equity % per Trade
float
50.0
equity_pct
Fixed Margin (if Compounding OFF)
float
500
fixed_cash
Leverage (x)
int
2
leverage
Keltner Length
int
22
kc_len
Keltner Multiplier
float
2.0
kc_mult
Trade with 200 EMA Trend Only
bool
true
use_trend_ema
Trend EMA Length
int
220
ema_len
Show all 23 settings
Setting
Type
Default
Variable
Use ADX Filter
bool
true
use_adx
Min ADX Value
int
20
adx_thresh
Require Volume Spike
bool
true
use_vol_filter
Volume Average Length
int
18
vol_len
RSI Length
int
14
rsi_len
ATR Length
int
14
atr_len
Stop Loss (ATR Multiplier)
float
4.0
sl_multiplier
Breakeven Trigger (%)
float
1.5
bk_activation
Use Trailing Stop
bool
true
use_trail
Start Trailing after % Gain
float
3.0
trail_start
Trailing Offset %
float
1.0
trail_offset
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 trades Donchian channel breakouts on the price chart and exits on a shorter Donchian channel. It sizes each unit from a percentage of equity and an ATR-based initial stop, then adds units as price moves a set ATR distance, up to a maximum unit co
This breakout strategy identifies trade entries when price breaks above recent swing highs or below swing lows. Entries are verified through optional filters, including a 233 EMA trend filter, ATR volatility threshold, volume multiplier confirmation, RSI bound
Implements a rule-based momentum trading strategy that detects Bollinger Band challenges followed by synchronized trendline or range breakouts on the price chart. Entries trigger under configurable strictness modes using multi-timeframe Tide and Wave alignment
This strategy enters multi-order long positions during volatility expansions when price breaks above the upper Bollinger Band. Entries require price alignment above Parabolic SAR, a 100 EMA, and a 200 EMA trend filter, alongside mid-range RSI and elevated ATR.
This strategy evaluates multi-factor breakout confluence using a customized scoring system on the price chart. It checks Minervini-style Volatility Contraction Pattern trend templates, TTM squeeze volatility compression, volume dry-up with OBV accumulation, mo
This strategy identifies high-volatility expansion bars by comparing the high-low range to a moving average plus standard deviation threshold. When range expansion occurs, it checks momentum over a specified lookback period. It opens a long position if the cur