Pine Library · 966 open-source scripts

Free Breakout Pine Scripts (page 14)

Open-source Pine scripts that trade or mark breakouts: opening ranges, session and Asian-range breakouts, Donchian channels and squeeze breaks.

Pine scripts966
Code shown here484open licence
Updated in a year720
No repaint flag816

Breakout: Indicators, Strategies and Libraries

16 stars

This strategy enters long or short on Donchian channel breakouts and can add units when price moves in the trade direction and RSI confirms momentum. It sizes each unit from a risk percent of equity and exits with an ATR initial stop, a chandelier trail that t

Strategy v6 TrendOscillators & momentum
Updated 12 months ago · None stated GitHub repository of Seykota Alt 32: Momentum + Time

MACD Breakout

by jerryinyang
5 stars

MACD Breakout builds a higher-timeframe MACD from preset fast and slow lengths using SMA or EMA, and marks support and resistance zones from histogram sensitivity. Optional filters require zero-line agreement, higher-timeframe direction, and linear-regression

Indicator v4 Oscillators & momentumMoving averages
Updated 2 years ago · None stated GitHub repository of MACD Breakout

Momentum Breakout

by knectardev
1 stars

Momentum Breakout is an overlay strategy that identifies trading opportunities using Bollinger Bands breakout logic. It enters trades when price breaks out of the volatility bands without applying additional volume filtering. Risk management is handled through

Strategy v5 BreakoutVolatility & bands
Updated 9 months ago · None stated GitHub repository of Momentum Breakout
106 stars

Adaptive Price Channel Strategy combines Donchian-style high/low channels with Average Directional Index (ADX) and ATR-based volatility offsets. It evaluates trend strength and directional movement to trigger entries when price crosses ATR-adjusted upper or lo

Strategy v5 TrendVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of Adaptive Price Channel Strategy
16 stars

A Donchian channel trend-following strategy featuring progressive breakeven stop-loss levels based on ATR (N). It enters on a 55-period Donchian breakout with an initial risk set at 2.0 N. As profit reaches key ATR milestones, the stop advances through progres

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 33: Progressive BE
1 stars

Tn Adaptive Risk Regime v6 is a strategy that switches between mean reversion and breakout modes based on volatility regime. It compares ATR to its SMA over a lookback to classify high or low volatility. Low volatility triggers mean reversion by fading range e

Strategy v6 Volatility & bandsMean reversion
Updated 2 months ago · None stated GitHub repository of Tn Adaptive Risk Regime v6

VAMA Bands(BreakOut)+!

by ymlee1104
1 stars

This strategy trades breakouts using VAMA Bands on the price chart. It supports long and short entries with filters from VAMA, MACD, DI, ADX, OBV and optional entry limits. Positions exit on opposite trend, force close periods or flip signals. Main settings ad

Strategy v5 BreakoutMoving averages
Updated 7 months ago · None stated GitHub repository of VAMA Bands(BreakOut)+!

Range Scalper

by knectardev
1 stars

Range Scalper is a price-chart overlay indicator. Archived notes describe an ATR-based dynamic range threshold meant to adapt range detection to volatility, plus breakout shape markers. The file is labeled simplified for the archive and shows no parsed inputs.

Indicator v5 ScalpingVolatility & bands
Updated 9 months ago · None stated GitHub repository of Range Scalper

Greedy Strategy

by ivansoft
1 stars

A strategy that places stop entry orders around price gaps and recent candles. It buys on a stop above the previous high after an upward gap, sells on a stop below the previous low after a downward gap, and adds same-direction entries when the open position's

Strategy v6 Breakout
Updated 1 year ago · None stated GitHub repository of Greedy Strategy
106 stars

Calculates multi-period logarithmic regression trend channels and deviation bands across up to twenty selectable lookback lengths directly on the price chart. It evaluates channel slopes and Pearson's correlation coefficient to detect market trends and generat

Strategy v5 TrendSupport & resistance Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Advanced Trend Detection Strategy
16 stars

This strategy trades Donchian channel breakouts and can go long or short. It sizes the first unit from a percent of equity and an ATR stop, then adds smaller fractional units only when RSI confirms momentum. It exits with an ATR initial stop, a chandelier trai

Strategy v6 TrendOscillators & momentum
Updated 12 months ago · None stated GitHub repository of Seykota Alt 34: Fract + Momentum

Range Scalper

by knectardev
1 stars

Range Scalper marks support and resistance from the latest confirmed pivot low and pivot high. It treats price as range-bound when the distance between those levels, divided by the close, is at or below the range threshold. While that condition holds, it plots

Indicator v5 Support & resistanceBreakout
Updated 9 months ago · None stated GitHub repository of Range Scalper
1 stars

A strategy built on Keltner Channels. The middle line is a simple or exponential moving average and the bands sit a multiple of the average true range, true range or high-low range away. When the source crosses above the upper band it places a long stop order

Strategy v6 Volatility & bandsBreakout
Updated 1 year ago · None stated GitHub repository of Keltner Channels Strategy
16 stars

This price-chart strategy enters long when close breaks the prior Donchian high and short when it breaks the prior low, after a volume check and an optional moving-average regime filter. The first unit risks a percent of price against an ATR stop. Later units

Strategy v6 TrendBreakout Repaints
Updated 12 months ago · None stated GitHub repository of Seykota Alt 35: Fract + Time

Custom Strategy with DSMA

by wynnforthework
2 stars

This strategy calculates short and long-period Deviation Scaled Moving Averages (DSMA) powered by a SuperSmoother filter to adapt to price volatility. It combines breakout bands, RSI momentum levels, and long-term EMA trend filters to signal entries. Position

Strategy v5 Moving averagesBreakout
Updated 1 year ago · None stated GitHub repository of Custom Strategy with DSMA
1 stars

A strategy for MNQ futures built on the 09:30 to 10:00 New York opening range. It looks for one qualified 15-minute breakout candle, checks body size, close location, wick and ATR limits, then waits for a one or two bar pullback on the 5-minute chart. Entry fo

Strategy v6 BreakoutSessions & time Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of MNQ One-and-Done Confirmed Expansion

Anish TB Foster Fix

by nishpa800
1 stars

Overlay indicator for stock-style charts that flags pocket pivot candles: a large percentage body whose volume beats the highest opposite-colour volume over a lookback. It also tests trend stages using 50, 150 and 200 period EMAs plus distance from the 52-week

Indicator v5 TrendVolume
Updated 2 months ago · None stated GitHub repository of Anish TB Foster Fix
1 stars

This strategy draws on the price chart and combines optional long and short signals from a 9/21 EMA crossover, a breakout of the prior 20-bar high or low, RSI momentum, and a MACD histogram flip. A toggleable 200-period simple moving average allows longs only

Strategy v6 TrendOscillators & momentum Repaints
Updated 2 months ago · None stated GitHub repository of TN Asymmetric Swing Sovereign
16 stars

This trend-following strategy initiates long or short trades on Donchian channel breakouts. Position sizing is calculated from an Average True Range (ATR) volatility model. The script scales into winning trades up to a user-defined unit limit only when RSI con

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 36: BE + Momentum

Bollinger Bands

by Web3Degenerate
2 stars

This overlay indicator plots customized asymmetrical Bollinger Bands on the price chart to detect breakout trade signals. It calculates a middle simple moving average and standard deviation bands using separate standard deviation multipliers for upper and lowe

Indicator v5 Volatility & bandsBreakout
Updated 2 years ago · None stated GitHub repository of Bollinger Bands

B2B PUP Combined 4.32

by nishpa800
1 stars

An earlier version of a combined detection indicator that unifies pocket pivot, displacement, VWMA with ATR Supertrend, relative volume, fair value gap and TNT zone engines into numbered signals drawn on the price chart. This release fixes the charge ladder so

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of B2B PUP Combined 4.32
1 stars

A Pine v4 strategy that plots VWAP in blue and green and red lines for the previous highest high and lowest low over a fast and a slow lookback. It checks for new single or double highs and lows alongside MACD and RSI bottoming patterns. Inputs set the two loo

Strategy v4 Oscillators & momentumBreakout
Updated 4 years ago · None stated GitHub repository of MACD Please (High-Low Lines)
16 stars

This trend-following strategy executes Donchian channel breakout entries combined with Ed Seykota-inspired risk management. It opens long or short positions when price breaks 55-bar highs or lows, provided optional volume and market regime filters align. Posit

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 37: BE + Time

714AutoM8tr

by alboogycOdR
6 stars

714AutoM8tr is a Smart Money Concepts indicator that plots internal and swing market structures directly on the price chart. It identifies Break of Structure and Change of Character points alongside internal and swing order blocks. Users can customize order bl

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of 714AutoM8tr

B2B PUP Combined 5.4

by nishpa800
1 stars

Large overlay indicator that merges many detections into numbered signals on the price chart. It includes pocket pivot volume tests, standard deviation displacement, a VWMA with ATR Supertrend and PBJ filter, relative volume, high-volume and opening-drive zone

Indicator v5 VolumeBreakout
Updated 2 months ago · None stated GitHub repository of B2B PUP Combined 5.4
257 stars

Snag - ES 1m Strategy Candle Bar is an overlay strategy designed for 1-minute index futures charts like the S&P 500 E-mini. It plots dynamic support and resistance levels derived from pivot highs and lows alongside a custom smoothed filter line and a 3-period

Strategy v5 TrendSupport & resistance Repaints
Updated 6 weeks ago · None stated GitHub repository of Snag - ES 1m Strategy Candle Bar
114 stars

This indicator identifies standard deviation breakout signals by comparing standard deviation against its simple moving average. A long signal triggers when standard deviation crosses above its moving average during a bullish candle, while a short signal occur

Indicator v4 Volatility & bandsBreakout Repaints
Updated 1 year ago · None stated GitHub repository of Stdev Breakout Strategy
16 stars

This trend-following strategy identifies breakout entries using Donchian channels and plots signals directly on the price chart. It executes long and short trades, adding fractional units when relative strength index values confirm momentum. Exits rely on aver

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 38: Triple Combo

This strategy implements the classic Turtle Trading breakout rules on the price chart. It enters positions when price breaks above or below highest high or lowest low channel levels. Position size is dynamically calculated using ATR volatility so that one ATR

Strategy v6 BreakoutTrend
Updated 3 days ago · MPL-2.0 GitHub repository of Turtle Breakout (Dennis & Eckhardt) [JR]
1 stars

This long-only strategy identifies trading opportunities using anchored VWAP reclaims, retests, and breakouts. It calculates VWAP with standard deviation bands alongside zero-lag EMA slope filters to verify market trend alignment. Entries trigger either from a

Strategy v6 TrendMoving averages Repaints
Updated 3 days ago · None stated GitHub repository of VWAP Reclaim (LONG-only)

MA Stack Array

by pineforge-4pass
1 stars

This strategy calculates three simple moving averages with lengths 10, 20 and 50. It identifies a bull stack when the shortest exceeds the middle which exceeds the longest, and a bear stack in the opposite direction. A var-bool latch tracks prior states to sup

Strategy v6 Moving averagesTrend
Updated 6 days ago · Apache-2.0 GitHub repository of MA Stack Array
1 stars

An overlay indicator for the New York morning window that looks for qualified structure breaks on a 5-minute chart. Direction is filtered by a one-hour bias built from swing structure and EMAs. A break must clear swing, channel or session-extreme levels and pa

Indicator v6 BreakoutSessions & time Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Morning Structure + Flow Research
1 stars

A large detection indicator that merges many volume and price-pattern engines into numbered signals drawn as shapes on the price chart. Components include pocket pivot detection, displacement measured in standard deviations, a VWMA with ATR Supertrend, relativ

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of B2B PUP Combined 5.4 Tick-Friendly

GrimmTurtle

by GreyssonEnterprises
1 stars

A short Pine v4 indicator that plots a Donchian-style channel using the highest and lowest values over a set length, with a midpoint line. It labels a bullish or bearish Turtle when the previous bar's upper band rose or fell compared with the bar before, colou

Indicator v4 BreakoutTrend
Updated 2 months ago · MIT GitHub repository of GrimmTurtle
16 stars

This strategy plots on the price chart and trades Donchian breakouts in long or short directions. It sizes each unit from a risk percentage of price and an ATR-based initial stop, then adds units at a fixed ATR step up to a maximum. An ATR trail can exit, and

Strategy v6 TrendVolatility & bands
Updated 12 months ago · None stated GitHub repository of Seykota Alt 39: Adaptive Targets
6 stars

This strategy combines Opening Range Breakout (ORB) mechanics with Inner Circle Trader (ICT) concepts like Fair Value Gaps, Order Blocks, and liquidity grabs. It identifies session opening ranges and generates signals when price breaks out with supporting rela

Strategy v5 BreakoutSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Advanced ORB + ICT Strategy
2 stars

This overlay indicator detects price contractions from confirmed pivot highs and lows. When price later breaks above the contraction high or below the contraction low, it draws a bullish or bearish box between those extremes and a midline at their average. Sep

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 5 weeks ago · None stated GitHub repository of Master Pattern [LuxAlgo]

Gucci 1.0

by wynnforthework
2 stars

Gucci 1.0 is a Pine Script strategy that identifies trend reversals using 55 EMA and 200 EMA crossovers combined with custom high and low levels from recent closes. It plots open, close, high/low period values, and both EMAs on the price chart. Long signals fi

Strategy v5 TrendMoving averages Repaints
Updated 1 year ago · None stated GitHub repository of Gucci 1.0

The Volatility Breakout (Larry Williams) strategy generates signals based on price movements relative to yesterday's range. Long entries occur when price surpasses the close by a user-defined multiple of the range, while short entries use a lower multiple. A t

Strategy v6 BreakoutVolatility & bands
Updated 3 days ago · MPL-2.0 GitHub repository of Volatility Breakout (Larry Williams) [JR]
1 stars

This indicator detects long-only trading setups centered on volume-weighted average price (VWAP) reclaim sequences. It calculates VWAP with standard deviation bands, tracking slope and price bias through an exponential moving average. Signals trigger on either

Indicator v6 TrendMoving averages
Updated 3 days ago · None stated GitHub repository of VWAP Reclaim (LONG-only) Indicator

MACD Please 3

by tseitz
1 stars

A Pine v4 strategy that draws VWAP and green and red lines for rolling highs and lows over two and five bars. It watches for price breaking those extremes together with MACD and RSI bottoming patterns, and keeps counters of highs and lows. Inputs set the lookb

Strategy v4 Oscillators & momentumBreakout Repaints
Updated 4 years ago · None stated GitHub repository of MACD Please 3

Snag - No Repaint ES 1m Strategy Candle Bar is an overlay strategy designed for short-term futures trading. It calculates custom price aggregations, pivot levels, and averages across multiple higher timeframes including 3-minute, 5-minute, 8-minute, and 10-min

Strategy v5 BreakoutMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Snag - No Repaint ES 1m Strategy Candle Bar
16 stars

This strategy trades Donchian breakouts on the price chart and tries to avoid choppy conditions. It can enter long or short when price breaks the entry channel and optional ADX, efficiency-ratio, and trend-strength filters pass. It exits on the shorter Donchia

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 3: Anti-Chop Filter

Advanced ORB + ICT System

by alboogycOdR
6 stars

Advanced ORB + ICT System plots Opening Range Breakout (ORB) levels alongside Inner Circle Trader (ICT) concepts directly on the price chart. It highlights ORB boxes, Fair Value Gaps (FVGs), Order Blocks, liquidity grabs, and key support and resistance levels

Indicator v5 SMC / ICT / price actionBreakout
Updated 7 months ago · None stated GitHub repository of Advanced ORB + ICT System

VWAP Reclaim Indicator

by skipp-dev
1 stars

This overlay indicator plots an anchored VWAP and marks reclaim setups on the price chart. It can signal a simple VWAP cross or a reclaim, retest, and breakout of a rolling pullback high or low, filtered by trade direction and optional matching VWAP slope. A p

Indicator v6 TrendVolume Repaints
Updated 3 days ago · None stated GitHub repository of VWAP Reclaim Indicator

More Pine Script Categories

Browse the whole Pine Library

Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

Learn to Use Pine Scripts

Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.

  1. 1Using this librarySearch, filters, licences and what the badges mean.
  2. 2Add a script to TradingViewCopy, paste into the Pine Editor, save and add to chart.
  3. 3Indicators, strategies and librariesWhat each type does and how to tell them apart.
  4. 4Spot a script that repaintsWhy some signals change after the bar closes.
  5. 5Backtest a strategyStrategy Tester settings that keep results honest.
  6. 6Send alerts to MT4 or MT5From a TradingView alert to an order in MetaTrader.
  7. 7What Pine Script isThe language, what it can and cannot do, and where to start.
  8. 8Write your first indicatorA complete script, line by line, in the Pine Editor.
  9. 9Read a script before you trust itA routine for checking inputs, logic and red flags.
  10. 10Edit a script safelyChange colours and lengths, add a filter or an alert.
  11. 11Pine Script alertsalertcondition(), alert(), placeholders and webhooks.
  12. 12Build a crossover strategyAn EMA cross strategy with an ATR stop, ready to test.

Trade Your Charts With a Regulated Broker

Compare regulated brokers on platforms, spreads, minimum deposit and leverage.

Compare brokers