Pine Library · 966 open-source scripts

Free Breakout Pine Scripts (page 13)

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

4 stars

This strategy tracks the high and low range established during the Asian trading session and executes breakout trades during the London session. It draws directly on the price chart. When the price crosses above the Asian high or below the Asian low, it enters

Strategy v6 BreakoutSessions & time
Updated 2 months ago · MIT GitHub repository of EUR/USD London Breakout [trugurpala]

Trend Catcher Strategy

by wynnforthework
2 stars

This strategy identifies trending breakouts by comparing total candle ranges to the overall high-low channel over a set period alongside a Simple Moving Average. Long trades enter when the range efficiency ratio crosses above a threshold while the SMA rises, w

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Trend Catcher Strategy
1 stars

This overlay strategy combines an AlphaTrend core with kinematic, Bayesian, and mean-reversion models, plus harmonic, classical, and candlestick pattern engines. It plots consolidation zones, volume-profile points of control, pattern lines, and forward forecas

Strategy v5 TrendCandlestick patterns Repaints
Updated yesterday · None stated GitHub repository of JAT+BSM Pro Extended
1 stars

An overlay indicator that detects pivot highs and lows on closing prices and draws a created line that extends to the right, plus a short confirmation line. Labels show the level, price and an Indian-time stamp, and each element has its own toggle. Break alert

Indicator v5 Support & resistanceBreakout
Updated 2 weeks ago · None stated GitHub repository of S (Or) R Breakout

V11 Swing Sniper Pro

by kevinesk
1 stars

V11 Swing Sniper Pro is a trend-following and swing timing indicator tailored for equity markets such as the KLSE. It overlays key moving averages directly on the price chart and evaluates setups across three structured tiers: trend quality based on Minervini

Indicator v5 TrendOscillators & momentum
Updated 4 months ago · None stated GitHub repository of V11 Swing Sniper Pro

Trendline Breakouts With Targets

by shubhamtaywade82
1 stars

Detects pivot highs and lows, draws sloping trendlines from them and marks breakouts on the price chart. After a breakout it shows take profit and stop loss visuals and a status table. Settings choose the pivot period, whether lines use wicks or candle bodies,

Indicator v6 Support & resistanceBreakout Archived
Updated 5 months ago · None stated GitHub repository of Trendline Breakouts With Targets

NR7 Range Breakout

by Basant1Saini
1 stars

NR7 Range Breakout identifies narrowest range bars over a specified lookback period and trades breakouts beyond their high or low price boundaries. It plots an exponential moving average trend filter alongside visual highlights for range compression and breako

Strategy v5 BreakoutVolatility & bands
Updated 7 months ago · None stated GitHub repository of NR7 Range Breakout
106 stars

This strategy runs on the price chart and enters long when a fast simple moving average crosses above a slow one, and short on the opposite cross, while closing the other side. Entries also need ATR above a filter, a pullback check, a minimum candle-body chang

Strategy v5 TrendMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of 9:22 5 MIN 15 MIN BANKNIFTY
16 stars

Implements a Donchian breakout trend-following strategy filtered by ADX trend strength. It initiates long or short positions when price breaks Donchian channel extremes and ADX exceeds a specified threshold. Positions are sized using ATR volatility with Turtle

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 28: ADX Filter

Mirpapa Lib Line

by alvinng214
2 stars

This library creates and tracks horizontal lines on the chart. It supports two breach modes: price and close. When a line is breached, it increments a break count up to a maximum value and can finalize the line with a close color. The data structure holds line

Library v6 Support & resistanceSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Mirpapa Lib Line

Alpy Kazan2

by avatar-lavventura
2 stars

This strategy detects momentum shifts using the WaveTrend oscillator where wt1 crosses above wt2 for long entries and below for shorts. Fractal patterns confirm reversals with upFractal and downFractal signals based on high and low price swings over multiple b

Strategy v4 Oscillators & momentumBreakout Repaints
Updated 7 months ago · None stated GitHub repository of Alpy Kazan2
2 stars

This strategy identifies market direction by combining a TrendSignal breakout algorithm with a Zig Zag swing overlay. It calculates dynamic price bands over a period to determine trend flips, plotting triangle shapes directly on the price chart for buy and sel

Strategy v4 TrendSupport & resistance
Updated 4 years ago · MIT GitHub repository of Trendsignal + Zig Zag Strategy

Previous Day Levels

by jayadevrana
1 stars

The Previous Day Levels indicator plots yesterday's high and low as step lines on the price chart for any symbol and timeframe. It shades the daily trading range and draws triangular markers on breakout events when price crosses the high or low. Input settings

Indicator v6 Support & resistanceBreakout
Updated 3 days ago · MPL-2.0 GitHub repository of Previous Day Levels

Dual Thrust Breakout

by pineforge-4pass
1 stars

The Dual Thrust Breakout strategy calculates upper and lower price threshold channels based on an open-anchored range formula over a configurable lookback period. It determines the maximum value between highest high minus lowest close and highest close minus l

Strategy v6 BreakoutSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of Dual Thrust Breakout

A merged strategy that combines two entry engines on one chart. The anchor trail engine uses a dynamic equilibrium level called P0, built from a rolling volume and delta profile, and scores acceptance and rejection against structural levels such as POC and val

Strategy v6 VolumeSupport & resistance Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of Dynamic P0 Delta + DBR Change-Point Merged Strategy

V12 Swing Sniper Pro

by kevinesk
1 stars

V12 Swing Sniper Pro is a swing trading indicator for Bursa Malaysia stocks. It layers macro and sector filters atop Minervini-style trend quality gates and RSI checks to validate bullish setups. The script fires buy signals when coiling, pullback proximity, b

Indicator v5 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of V12 Swing Sniper Pro
1 stars

A strategy version of a trendline breakout tool. It draws pivot-based trendlines on the price chart and trades breakouts, using an ATR-based stop loss by default and a take profit set as a multiple of the stop distance, 1.5 by default. Settings choose the pivo

Strategy v6 BreakoutSupport & resistance Archived
Updated 5 months ago · None stated GitHub repository of Trendline Breakouts With Targets Strategy

Scalper Pro 3 Min Gold

by Focal-QuantAI
1 stars

Scalper Pro 3 Min Gold is a price-chart indicator that marks breakout setups around recent pivot highs and lows. It signals a long when a bullish candle closes above the last pivot high while holding a higher low, and a short when a bearish candle closes below

Indicator v5 BreakoutSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Scalper Pro 3 Min Gold

EMA Breakout

by jerryinyang
5 stars

This indicator calculates and plots the exponential moving average on the chart, along with Keltner Channel bands. It applies optional filters based on Keltner Channel and Money Flow to identify breakout signals. Breakouts occur when price crosses the EMA with

Indicator v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of EMA Breakout

Trendsignal Strategy

by DaniilOkrug
2 stars

The Trendsignal Strategy identifies trend flips using dynamic channel boundaries derived from high and low price ranges over a set lookback period. It calculates upper and lower thresholds based on a customizable risk setting. When price closes above the upper

Strategy v4 TrendBreakout
Updated 4 years ago · MIT GitHub repository of Trendsignal Strategy

SR Batch

by 7b809
1 stars

An overlay indicator that draws support and resistance boxes from pivot lows and highs, accepted only when a simple up and down volume delta passes a filter. Box height uses ATR scaled by a width input. It marks when a level holds or breaks, and builds strike

Indicator v5 Support & resistanceVolume
Updated 2 weeks ago · None stated GitHub repository of SR Batch
1 stars

VABOAlgo is a Pine Script v5 strategy that detects breakouts from a value area. It uses VWAP as a POC proxy and ATR to calculate VAH and VAL, requiring volume above average for confirmation and prior bar consolidation within the VA. Long entries trigger on bre

Strategy v5 BreakoutVolume
Updated 8 months ago · None stated GitHub repository of VABOAlgo (Value Area Breakout)
16 stars

This trend-following strategy generates trades using Donchian channel breakouts combined with higher-timeframe trend filters and chart-timeframe momentum. It confirms breakout entries against a higher-timeframe moving average and rate of change, while optional

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 2: Dual-Timeframe

EMA Breakout

by jerryinyang
5 stars

EMA Breakout is an indicator combining Exponential Moving Averages with higher-timeframe Keltner Channels to identify breakout market conditions. It calculates multi-timeframe EMAs and dynamic Keltner Channel boundaries using ATR, True Range, or bar width. The

Indicator v4 TrendMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of EMA Breakout

Volatility Band Indicator

by mitchell-917
4 stars

The Volatility Band Indicator calculates volatility bands around a customizable moving average basis line directly on the price chart. Users can select between SMA, EMA, RMA, or WMA basis types, alongside adjustable length and standard deviation multiplier set

Indicator v5 Volatility & bandsMoving averages
Updated 11 months ago · Custom licence GitHub repository of Volatility Band Indicator

A strategy that first classifies the market using ADX and a Bollinger-inside-Keltner squeeze check, then switches between two sub-strategies. In ranging conditions it fades asymmetric Bollinger Band extremes with a 200 EMA trend filter. In trending conditions

Strategy v6 Mean reversionBreakout
Updated 7 days ago · GPL-3.0 GitHub repository of Hierarchical HTS v6 Markov-Proxy Regime Switcher

SR v5

by 7b809
1 stars

An overlay indicator that marks support and resistance from pivot lows and highs filtered by a volume delta, with zones sized by ATR. Each signal is numbered and given a status of allowed or ignored, depending on whether it repeats the previous allowed type, a

Indicator v5 Support & resistanceVolume
Updated 2 weeks ago · None stated GitHub repository of SR v5

SR Breakout Auto TP/SL

by vedkanani123
1 stars

An overlay indicator that detects pivot highs and lows and draws the latest resistance and support as extended lines. A buy signal fires when the close crosses above resistance, and a sell when it crosses below support. Each signal draws entry, stop loss and t

Indicator v6 Support & resistanceBreakout
Updated 2 months ago · None stated GitHub repository of SR Breakout Auto TP/SL

This strategy tracks GBP/USD market structure by storing confirmed pivot highs and lows. It enters long when price crosses above the last pivot high while above a trend EMA, and short when price crosses below the last pivot low while below that EMA. Entries oc

Strategy v6 SMC / ICT / price actionTrend
Updated 2 months ago · MIT GitHub repository of GBP/USD Market Structure [trugurpala]
3 stars

CSW Breakout Signals plots breakout buy and sell labels on the price chart when price breaks support or resistance after a trend change. Each signal can show a numbered confirmation score built from a moving-average cross, momentum, opening-range alignment, re

Indicator v5 BreakoutTrend
Updated 5 months ago · None stated GitHub repository of CSW Breakout Signals

A strategy that uses ADX to decide between two sub-strategies. In ranging conditions it fades asymmetric Bollinger Band extremes with a 200 EMA trend filter. In trending conditions it trades Donchian channel breakouts, protected by optional volume, candle rang

Strategy v6 Mean reversionBreakout
Updated 7 days ago · GPL-3.0 GitHub repository of Hierarchical Trading System v6 Fakeout Protected

Zen Z Bars V1

by Zen-Tim
29 stars

Zen Z Bars V1 analyzes bar-by-bar price action, candle range expansion, and internal bar strength (IBS). It identifies breakouts, inside and outside bars, climax candles based on range expansion factors, and tiered range multiple bars. The indicator draws brea

Indicator v5 Candlestick patternsBreakout
Updated 2 weeks ago · MIT GitHub repository of Zen Z Bars V1
16 stars

This strategy enters long or short on Donchian channel breakouts and adds units only while RSI remains beyond its momentum thresholds. Size is based on a percentage of equity per unit, up to a set maximum. An ATR initial stop and a chandelier trail manage open

Strategy v6 TrendOscillators & momentum
Updated 12 months ago · None stated GitHub repository of Seykota Alt 30: Momentum Pyramid

MACD Breakout

by jerryinyang
5 stars

Calculates multi-timeframe Moving Average Convergence Divergence (MACD) alongside a Money Flow filter to identify potential market breakouts. It evaluates higher-timeframe MACD calculations using exponential or simple moving averages combined with Money Flow o

Indicator v4 TrendOscillators & momentum Repaints
Updated 2 years ago · None stated GitHub repository of MACD Breakout

Momentum Breakout

by knectardev
1 stars

This strategy enters long when the close is above the upper Bollinger Band and volume exceeds a moving average multiplied by a threshold, and enters short when the close is below the lower band with the same volume condition. New entries occur only while the p

Strategy v5 Volatility & bandsVolume
Updated 9 months ago · None stated GitHub repository of Momentum Breakout

ChannelBreakOutStrategy

by TWODS-CAPITAL
37 stars

This strategy tracks price channels by calculating the highest high and lowest low over a customizable lookback period. It executes stop orders to enter long positions above the upper channel boundary and short positions below the lower channel boundary. Posit

Strategy v5 BreakoutTrend
Updated 3 years ago · MIT GitHub repository of ChannelBreakOutStrategy

Zen-DAX GX

by Zen-Tim
29 stars

This indicator calculates and plots session ranges and key breakout levels for DAX futures directly on the price chart. It defines the overnight Globex session, the Frankfurt pre-market range, and the regular trading hours open using European timezone settings

Indicator v5 Sessions & timeBreakout
Updated 2 weeks ago · MIT GitHub repository of Zen-DAX GX

This strategy trades Donchian channel breakouts with ATR-based risk. It allows long and short entries, sizes the first unit from a risk percent, and adds up to four fractional units as price moves in favor. An initial ATR stop moves to breakeven after a set pr

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 31: Fractional + BE Lock
7 stars

This indicator identifies market displacement, structure breaks, and Fair Value Gaps (FVGs) directly on the main price chart. It highlights displacement candles using an average range lookback and multiplier factor, with optional structure break filtering usin

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of [CT] Displacement FVG Toolkit

MACD Breakout

by jerryinyang
5 stars

This indicator plots a higher-timeframe MACD breakout setup on the price chart and combines it with linear regression channels. It marks support and resistance zones from MACD histogram sensitivity, then filters them with the MACD zero line, a linear regressio

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

Highest Lowest Breakout

by pineforge-4pass
1 stars

A channel breakout strategy using the highest high and lowest low over an adjustable lookback. It enters long when the current bar sets a new high and price is above a 50-period EMA, and short when it sets a new low below that EMA. Positions close when price c

Strategy v6 BreakoutSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of Highest Lowest Breakout

Momentum Breakout

by knectardev
1 stars

This Pine Script strategy detects momentum breakouts on price charts by combining trend momentum signals with a volume filter. It enters trades when price breaks above resistance with volume 1.5 times average, reducing false signals. No specific stop loss or t

Strategy v5 Oscillators & momentumBreakout
Updated 9 months ago · None stated GitHub repository of Momentum Breakout

MACD 15 min

by tseitz
1 stars

A Pine v4 strategy that pairs a 12/26 MACD and 14-period RSI with rolling highs and lows over a short and a long lookback. Inputs set both lookbacks, take-profit and stop-loss percentages for longs and shorts, and a maximum number of adds. It tracks counts of

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

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