Pine Library · 966 open-source scripts

Free Breakout Pine Scripts (page 11)

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

228 stars

This strategy detects price breakouts above rolling highest highs or below lowest lows over a customizable lookback period. It includes optional volume spike and ATR volatility threshold filters, along with bar confirmation rules. Positions are taken upon conf

Strategy v6 BreakoutVolatility & bands
Updated 3 months ago · None stated GitHub repository of Breakout Strategy Template

Acceleration Bands

by capissimo
114 stars

Acceleration Bands is an overlay indicator that plots a volatility envelope around a central simple moving average. It calculates upper and lower boundary bands scaled by the high-to-low bar range relative to the midpoint price, smoothed by an SMA over a user-

Indicator v4 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Acceleration Bands

V1 Binancash - Futures Strategy 1M Candles is an intraday trading strategy designed for 1-minute cryptocurrency futures charts. It calculates dynamic support and resistance levels using pivot highs and lows, combined with a custom smoothed trend filter and a 3

Strategy v5 TrendSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of V1 Binancash - Futures Strategy 1M Candles
16 stars

This strategy implements Turtle System 1 fast trend following directly on the price chart. It opens long or short positions upon 20-bar Donchian channel breakouts and exits on opposing 10-bar Donchian extremes. Position sizing is calculated dynamically from AT

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 1: Fast Breakout (S1)

Renko Acceleration

by f-cksociety
11 stars

Calculates the time elapsed between consecutive bars to measure market speed and volatility, designed primarily for Renko chart blocks where bar duration varies. In Momentum mode, it contrasts the current duration against a 100-period moving average baseline,

Indicator v4 Volatility & bandsOscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of Renko Acceleration

The Candle Story Engine evaluates multi-candle price action dynamics, analyzing pressure, sequence persistence, deceleration, and structural exhaustion across a customizable lookback window. Incorporating optional trend context via exponential moving averages,

Indicator v6 Candlestick patternsBreakout
Updated 2 days ago · MIT GitHub repository of Candle Story Engine [WavesUnchained]

Signals MA

by lunarticktrading
7 stars

The Signals MA indicator calculates a moving average of the close price using either SMA or EMA based on a user-defined length. It plots this average on the price chart. Breakout signals occur when the close crosses above the moving average from below, and bre

Indicator v6 Moving averagesBreakout
Updated 2 weeks ago · None stated GitHub repository of Signals MA
3 stars

This indicator detects price movements over a configurable number of lookback bars based on percentage or price distance thresholds. It plots buy and sell signals directly on the price chart and can invert signals for counter-trend entries. Users can filter si

Indicator v5 Oscillators & momentumBreakout
Updated 5 months ago · None stated GitHub repository of Bars%Move Indicator

Zeguela Supertrend

by danielvm-git
2 stars

This strategy plots a Supertrend indicator directly on the price chart to generate trend-following trade signals. It calculates dynamic upper and lower bands using a chosen ATR period, multiplier, and calculation method. Entries trigger when the trend switches

Strategy v4 TrendVolatility & bands
Updated 2 months ago · MIT GitHub repository of Zeguela Supertrend
2 stars

This strategy identifies reversal points using large and additional fractals on the price chart. It detects breaks of fractal levels and plots post-break ranges along with retest lines and signals. Entries occur on retest signals, with pyramiding allowing mult

Strategy v4 Support & resistanceBreakout
Updated 4 years ago · MIT GitHub repository of Order Fractals strategy V3
1 stars

This TradingView strategy detects directional trades on the price chart using multiple entry triggers including TMA-Crossing, Breakout, and VWAP-Crossing with price types like Close or Open. It applies optional logical combinations of triggers and enforces tim

Strategy v6 TrendBreakout
Updated 4 months ago · None stated GitHub repository of STT Trade Plan Directional

KLSE VCP Stage v2

by kevinesk
1 stars

This indicator classifies market structure into volatility contraction pattern (VCP) stages on the main price chart. It evaluates a Mark Minervini Trend Template score alongside Bollinger Band width percentiles and volume metrics to determine stages such as Co

Indicator v5 TrendVolatility & bands
Updated 4 months ago · None stated GitHub repository of KLSE VCP Stage v2

This strategy identifies breakout entries on low-timeframe cryptocurrency charts by combining rolling pivot support and resistance levels with a smoothed trend filter and a 3-period exponential moving average. Long and short entries trigger when price momentum

Strategy v5 TrendBreakout Repaints
Updated 2 years ago · None stated GitHub repository of V1 Binancash - Futures Strategy Futures 1M Candles
16 stars

This strategy implements the classic Turtle System 1 fast breakout model on the price chart. It calculates 20-bar Donchian channel highs and lows for trade entries and 10-bar bands for exits, utilizing ATR for position sizing and trailing stops. The strategy e

Strategy v6 BreakoutTrend
Updated 12 months ago · None stated GitHub repository of Seykota Alt 1: Fast Breakout (S1)

Volume Surge (Memecoin)

by muammeryldrm42
7 stars

This strategy identifies momentum breakouts by detecting sudden volume spikes relative to a simple moving average alongside rapid bar price gains. It plots signal triangles and volume spike markers directly on the price chart. When volume and bar return exceed

Strategy v5 BreakoutVolume
Updated 3 months ago · MIT GitHub repository of Volume Surge (Memecoin)
3 stars

This strategy evaluates price movement over a specified lookback period against custom percentage or price change thresholds. It generates buy or sell signals when movement rules are met, overlaid directly on the price chart. Users can customize entry criteria

Strategy v5 BreakoutOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Bars%Move Strategy

Donchian Channel Breakout

by pineforge-4pass
1 stars

This strategy tracks price breakouts using Donchian Channels calculated from the highest highs and lowest lows over configurable lookback periods. It plots the upper, lower, and mid entry channels directly on the price chart. A long entry triggers when the bar

Strategy v6 TrendBreakout
Updated 6 days ago · Apache-2.0 GitHub repository of Donchian Channel Breakout
220 stars

This indicator identifies High Of Low Price (HOLP) and Low Of High Price (LOHP) candlestick setups based on price extremes over a specified lookback period. A HOLP signal triggers when the current bar closes above the high of a recent session low, whereas a LO

Indicator v5 Candlestick patternsBreakout
Updated 1 year ago · None stated GitHub repository of Candlestick Patterns - HOLP-LOHP
106 stars

This strategy places buy-stop and sell-stop orders around the opening-session high and low, offset by a user-defined pip gap, and only allows those orders during a separate trading session. It exits with a fixed or ATR-based stop loss and a matching take-profi

Strategy v5 Sessions & timeBreakout Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 50 Pips A Day Strategy - Kaspricci

Reversal Breakout System

by TamaraKGreen
46 stars

This indicator detects inside candles inside larger parent candles on the price chart. It plots colored boxes around inside and parent candles, fills them with user-adjustable transparency, draws Fibonacci retracement lines and mother candle range lines, and d

Indicator v6 Candlestick patternsBreakout
Updated 7 weeks ago · None stated GitHub repository of Reversal Breakout System
43 stars

This indicator plots Donchian channel bands and a midline on the price chart. It finds the highest and lowest values over a user-set length, then draws the upper band, lower band, and their average as the basis. The source setting chooses high and low, or the

Indicator v4 Volatility & bandsBreakout
Updated 1 year ago · None stated GitHub repository of Donchian Channels Experiment

This strategy executes trend-following breakout trades using asymmetric parameters for long and short directions. It calculates Donchian channels and ATR (N) to adapt to directional market speeds. Long positions utilize a longer entry lookback and tighter ATR

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 20: Asymmetric Long/Short

VWAP + Volume

by muammeryldrm42
7 stars

The VWAP + Volume strategy trades crossovers of the Volume Weighted Average Price confirmed by volume surges. It enters long or short positions when the closing price crosses above or below the VWAP line while volume exceeds its 20-period simple moving average

Strategy v5 VolumeBreakout
Updated 3 months ago · MIT GitHub repository of VWAP + Volume

Drawing Box Zone Reentry

by pineforge-4pass
1 stars

This strategy detects gap-up price zones where the current low is higher than the high from two bars prior, creating visual box objects on the price chart. When price re-enters the boundaries of the most recent gap zone while flat, the strategy opens a long po

Strategy v6 Support & resistanceBreakout
Updated 6 days ago · Apache-2.0 GitHub repository of Drawing Box Zone Reentry

An indicator meant for the 15-minute chart that extracts delta-based points of interest from each session, turns them into ATR-sized zones with contamination and freshness rules, and marks the first close through a zone edge plus an ATR buffer. A break can opt

Indicator v6 VolumeSupport & resistance Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 5 Break Detection

SCDTM Strategy

by GreyssonEnterprises
1 stars

A strategy built on a multi-step checklist. It compares 9 and 18 EMA alignment across daily, 4-hour and 1-hour data, then combines Bollinger Band %B and Stochastic RSI conditions with fractal breakout levels. Stops sit at the fractal, take profit is set by a r

Strategy v5 TrendOscillators & momentum Repaints
Updated 2 months ago · MIT GitHub repository of SCDTM Strategy

Range Detector

by tthanhvu002sgu
1 stars

Finds sideways ranges on the price chart and draws them as boxes. A range is flagged when every close over the minimum length stays within an ATR-based band around a simple moving average. The box, a dotted midline and top and bottom plot lines extend while th

Indicator v5 Support & resistanceBreakout
Updated 3 months ago · None stated GitHub repository of Range Detector

NY Anchor Range FVG Breakout

by riegodavid-git
1 stars

An overlay indicator that marks an anchor range during a configurable morning session, by default 09:00 to 10:00 New York time. It detects a breakout from that range, sets a bullish or bearish bias, and finds fair value gaps in the breakout leg. It then tracks

Indicator v5 SMC / ICT / price actionBreakout
Updated 4 months ago · None stated GitHub repository of NY Anchor Range FVG Breakout

Talons Volume Surge (Memecoin)

by muammeryldrm42
1 stars

A long-only strategy for fast-moving small-cap crypto charts. It enters when volume is a set multiple of its recent average, the bar gains more than a minimum percentage, the candle is green and the move over the last twelve bars is not above a too-late limit.

Strategy v5 VolumeBreakout
Updated 5 months ago · None stated GitHub repository of Talons Volume Surge (Memecoin)

IBOB Inside Bar Outside Bar

by Tradehook-org
1 stars

A Pine v5 strategy that trades an outside bar after one or more inside bars. An inside bar has a lower high and higher low than the bar before it, and an outside bar exceeds both. After the chosen number of consecutive inside bars, an outside bar closing up op

Strategy v5 Candlestick patternsBreakout
Updated 8 months ago · None stated GitHub repository of IBOB Inside Bar Outside Bar

TD RSI Strategy

by zhuzp98
1 stars

This strategy combines a TD Sequential close comparison, RSI with a moving-average Bollinger envelope, MACD, and the Stochastic Momentum Index. It allows long, short, or both directions and sizes orders from a percentage of equity. Inputs set RSI and MACD leng

Strategy v5 Oscillators & momentumBreakout
Updated 1 year ago · None stated GitHub repository of TD RSI Strategy

Trend SNEK

by rajatjpatel
1 stars

A price chart overlay that plots the highest high and lowest low of the previous set number of bars, ten by default, together with a midline between them. The area between the bands is shaded green when the current bar's high breaks above the prior upper line

Indicator v5 BreakoutSupport & resistance
Updated 4 years ago · None stated GitHub repository of Trend SNEK

Dead Cat Bounce

by TradersPost
228 stars

Calculates consecutive bar sequences that fail to create new price extremes and identifies potential reversal breakout points. When a run breaks, the script plots measured move projection arrows, high-water mark lines, and Fibonacci levels directly on the pric

Strategy v6 BreakoutMean reversion
Updated 3 months ago · None stated GitHub repository of Dead Cat Bounce

STRG-HOLP

by harryguiacorn
220 stars

STRG-HOLP is a trading strategy that identifies High of Low Period (HOLP) and Low of High Period (LOHP) breakout setups. It tracks the lowest low or highest high over a user-defined lookback window. A long trade opens when the close breaks above the high of th

Strategy v5 BreakoutSupport & resistance
Updated 1 year ago · None stated GitHub repository of STRG-HOLP
16 stars

Seykota Alt 21: Breakeven Lock is a trend-following breakout strategy based on Donchian channels and ATR position sizing. It enters positions on Donchian channel breakouts and scales in up to multiple units as price moves in favor. The system moves stop losses

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 21: Breakeven Lock
1 stars

This indicator identifies market structure by tracking confirmed swing highs and lows using pivot points. It detects breaks of structure (BOS) and changes of character (CHoCH) when the bar close breaches the most recent unbroken swing level. Visual outputs on

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · MPL-2.0 GitHub repository of Market Structure BOS CHoCH

An indicator meant for a 5-minute chart that recomputes a simplified 15-minute break of session delta levels, then watches a retest of the broken level within a set number of hours and flags a trigger candle, optionally needing delta confirmation. It also show

Indicator v6 VolumeSupport & resistance Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 6 Retest and Trigger

V Bottom/Top Pattern

by rajatjpatel
1 stars

A strategy that looks for V-shaped reversals using deviation-based pivots from an imported library. A deviation multiplier and depth set how large a move counts as a pivot. After a pivot, the script checks for a first breakout and then a confirmation breakout,

Strategy v5 BreakoutSupport & resistance
Updated 4 years ago · None stated GitHub repository of V Bottom/Top Pattern

VOL/BBW/RSI/15 Strategy

by SammyEnigma
18 stars

This strategy overlays Bollinger Bands on the price chart and trades a long squeeze setup. It enters long when band width is below 0.022 and volume is at least the seven-bar average, using a stop order at the lower band. It places a short order when close cros

Strategy v4 Volatility & bandsVolume
Updated 6 years ago · None stated GitHub repository of VOL/BBW/RSI/15 Strategy
16 stars

Seykota Alt 22 is a trend-following strategy combining 55-bar Donchian channel breakouts for entries with a Parabolic SAR trailing stop for exits. Position sizing and initial stop-loss levels are determined using Average True Range (ATR). The strategy supports

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 22: Parabolic SAR

This indicator identifies and plots price compression zones directly on the price chart using multi-module scoring. It measures ATR compression, ADX chop levels, boundary touches, volume dry-up, and historical pivot levels to identify consolidation areas and s

Indicator v6 BreakoutSupport & resistance
Updated 2 days ago · MIT GitHub repository of CoilForge Zones [WavesUnchained]

This strategy builds the opening range high and low during the first configurable minutes of the New York regular session, then enters on a close break of that range. A long triggers when price crosses above the range high while flat; a short triggers on a cro

Strategy v6 BreakoutSessions & time
Updated 2 months ago · MIT GitHub repository of ES Opening Range Breakout [trugurpala]

Range Breaking

by DaniilOkrug
2 stars

This strategy detects pivot highs and lows on the chart to form range levels. It tracks recent pivot points and calculates a price range around their average adjusted by the difference percentage. Horizontal lines are drawn at potential break levels. The strat

Strategy v4 Support & resistanceBreakout
Updated 4 years ago · MIT GitHub repository of Range Breaking

A strategy for 5-minute charts that turns a triggered retest of a broken 15-minute delta level into orders. Entry needs a new trigger, a flat position, a cooldown module allowing the trade and, by default, agreement with the 4-hour bias. The stop sits at the z

Strategy v6 VolumeSupport & resistance Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 7 Orders and Risk

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