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
Qullamaggie Breakout Strategy can enter through a classic surge-and-consolidation breakout, a pullback toward stacked EMAs, a relative-volume spike with price momentum, or a pause inside a strong trend. EMA lengths, relative-volume thresholds, surge and consolidation windows, and pullback or momentum filters decide which setups qualify. Scale-out days, a time exit, position limits, and an ATR stop multiplier are configurable, but no stop-loss order is defined by default.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast EMA Period
int
10
i_emaFast
Mid EMA Period
int
20
i_emaMid
Slow EMA Period
int
50
i_emaSlow
ATR Period
int
14
i_atrPeriod
ATR Stop Multiplier
float
2.0
i_atrStopMult
Min RVOL for Entry
float
1.2
i_rvolThreshold
RVOL for Volume Surge
float
2.0
i_rvolThresholdHigh
Volume Average Period
int
20
i_volAvgPeriod
Prior Surge Lookback (days)
int
63
i_priorSurgeLookback
Min Prior Surge %
float
10
i_priorSurgeMin
Max Prior Surge %
float
150
i_priorSurgeMax
Min Consolidation Days
int
5
i_consolidationDays
Show all 29 settings
Setting
Type
Default
Variable
Enable Trend Pullback
bool
true
i_pullbackEnabled
Max Pullback %
float
8
i_maxPullbackPct
Enable Momentum Continuation
bool
true
i_momentumEnabled
Min Momentum % (10 days)
float
5
i_minMomentumPct
Scale Out Day 1
int
3
i_scaleOutDay1
Scale Out % (Day 1)
float
50
i_scaleOutPct1
Scale Out Day 2
int
5
i_scaleOutDay2
Scale Out % (Day 2)
float
25
i_scaleOutPct2
Time-Based Exit (Days)
int
20
i_timeExitDays
Max Open Positions
int
4
i_maxPositions
Max Risk per Trade %
float
1.5
i_maxRiskPerTrade
Classic Breakout
bool
true
i_useClassicBreakout
Trend Pullback
bool
true
i_useTrendPullback
Volume Surge
bool
true
i_useVolumeSurge
Momentum Continuation
bool
true
i_useMomentum
Use Higher Timeframe Filter
bool
false
i_useHTF
Higher Timeframe Symbol (e.g., SPY)
symbol
i_htfTicker
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 overlay strategy trades long and short when price reclaims an anchored VWAP and then breaks a recent pullback high or low. Optional modes enter on a simple VWAP cross instead. It filters with VWAP slope, a short price-bias EMA, a stacked RSI bias, and rel
This strategy combines the ATR-banded Q-Trend indicator with the Klinger Volume Oscillator (KVO) to execute confluence trades. It enters long when a Q-Trend buy trigger aligns with a positive KVO value and a bullish candle confirmation, taking short trades und
This strategy calculates and plots 9, 21, 50, 90, and 200-period Simple Moving Averages on the main price chart. It constructs a modified On-Balance Volume (OBV) metric and calculates a MACD oscillator based on this custom volume series rather than price. Long
This strategy enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim
This strategy trades longs and shorts on the price chart. Long entries require a close above the prior Donchian high, a close above a long-term SMA, and RSI above a threshold, with size set as a percentage of equity. Long exits use a stop at the prior Donchian
This strategy evaluates breakout and trend opportunities on the price chart using a weighted composite score of volume, trend, and candlestick structure. It tracks volume spikes, fast and slow EMAs, higher-timeframe EMA trend alignment, opening ranges, and ses