Strategy · Pine Script v6 · On the chart

Qullamaggie Breakout Strategy

by ycchew

This strategy draws on the price chart and is set up for daily ETF trading.

View on GitHub

GitHub stars4on the repository
Pine versionv6current
Lines of code457
Settings29inputs
LicenceNone stated
Last update7 months ago9 Mar 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

ycchew on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

Breakout, Trend, Volume, Oscillators & momentum

Markets

Stocks, Indices

Timeframes

H4 and above

Risk Notes

  • The strategy enters trades without a stop loss

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Fast EMA Periodint10i_emaFast
Mid EMA Periodint20i_emaMid
Slow EMA Periodint50i_emaSlow
ATR Periodint14i_atrPeriod
ATR Stop Multiplierfloat2.0i_atrStopMult
Min RVOL for Entryfloat1.2i_rvolThreshold
RVOL for Volume Surgefloat2.0i_rvolThresholdHigh
Volume Average Periodint20i_volAvgPeriod
Prior Surge Lookback (days)int63i_priorSurgeLookback
Min Prior Surge %float10i_priorSurgeMin
Max Prior Surge %float150i_priorSurgeMax
Min Consolidation Daysint5i_consolidationDays
Show all 29 settings
SettingTypeDefaultVariable
Enable Trend Pullbackbooltruei_pullbackEnabled
Max Pullback %float8i_maxPullbackPct
Enable Momentum Continuationbooltruei_momentumEnabled
Min Momentum % (10 days)float5i_minMomentumPct
Scale Out Day 1int3i_scaleOutDay1
Scale Out % (Day 1)float50i_scaleOutPct1
Scale Out Day 2int5i_scaleOutDay2
Scale Out % (Day 2)float25i_scaleOutPct2
Time-Based Exit (Days)int20i_timeExitDays
Max Open Positionsint4i_maxPositions
Max Risk per Trade %float1.5i_maxRiskPerTrade
Classic Breakoutbooltruei_useClassicBreakout
Trend Pullbackbooltruei_useTrendPullback
Volume Surgebooltruei_useVolumeSurge
Momentum Continuationbooltruei_useMomentum
Use Higher Timeframe Filterboolfalsei_useHTF
Higher Timeframe Symbol (e.g., SPY)symboli_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.

Similar Pine Scripts

VWAP Reclaim Strategy

by skipp-dev
1 stars

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

Strategy v6 TrendOscillators & momentum Repaints
Updated 2 days ago · None stated GitHub repository of VWAP Reclaim Strategy

Q-Trend + KVO Strategy

by TradersPost
218 stars

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

Strategy v6 TrendVolume
Updated 3 months ago · None stated GitHub repository of Q-Trend + KVO Strategy

Altered OBV On MACD

by hasnocool
106 stars

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

Strategy v5 Moving averagesVolume
Updated 2 years ago · GPL-3.0 GitHub repository of Altered OBV On MACD
53 stars

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

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · MPL-2.0 GitHub repository of BTCUSD 5M Optimized Strategy

ADA4H Optuna Strategy

by skywalker0803r
42 stars

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

Strategy v5 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of ADA4H Optuna Strategy
23 stars

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

Strategy v6 TrendVolume Repaints
Updated 3 weeks ago · Custom licence GitHub repository of TradingAlpha Point-Clip Strategy

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers