Pine Library · 966 open-source scripts

Free Breakout Pine Scripts (page 6)

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

Candlestick Kicker Pattern

by harryguiacorn
220 stars

This indicator plots green circles below bars and red circles above bars on the price chart to signal Candlestick Kicker patterns. It identifies upward kickers when the prior bar is bearish with body percentage above the left threshold, the current bar is bull

Indicator v5 Candlestick patternsBreakout
Updated 1 year ago · None stated GitHub repository of Candlestick Kicker Pattern
16 stars

This strategy plots Donchian channels, trailing stops, and profit targets directly on the price chart. It enters breakout trades using a 55-bar Donchian channel and sizes positions according to an ATR-based risk percentage per unit. The system adds units as pr

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 10: Profit Targets

Setup 9.2 - Larry Willians

by rodrigo-brito
9 stars

This strategy plots a 9-period exponential moving average and a 20-period simple moving average on the main price chart. It executes long entries based on the Larry Williams 9.2 setup when price breaks above a trigger bar high while the 9 EMA is rising above t

Strategy v4 TrendMoving averages
Updated 5 years ago · MIT GitHub repository of Setup 9.2 - Larry Willians

Chandelier Exit

by muammeryldrm42
7 stars

This strategy implements trend-following breakout entries based on the Chandelier Exit calculation filtered by an exponential moving average. It calculates trailing stop bands using the highest high or lowest low over a lookback period adjusted by an Average T

Strategy v5 TrendVolatility & bands
Updated 3 months ago · MIT GitHub repository of Chandelier Exit

Edge 60

by subos2008
6 stars

This strategy executes a classic Donchian-style breakout system on the price chart. It calculates the highest high and lowest low over a user-defined lookback period offset by one bar. A long position is opened when the price breaks above the previous period h

Strategy v5 BreakoutTrend
Updated 2 years ago · Custom licence GitHub repository of Edge 60
5 stars

This strategy tracks pivot-constrained structural boundaries and executes breakout and retest trades directly on the price chart. It fits robust trendline boundaries using pivot points, evaluates structural quality via a Q-Score metric, and filters entries thr

Strategy v6 BreakoutSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of RG Structure Trading v4.0

Forex Trading Strategy

by AmjadSaidam
2 stars

Forex Trading Strategy is an overlay indicator designed for multi-timeframe session analysis on forex markets. It calculates open, high, and low values across 1-hour, 4-hour, and 8-hour timeframes to identify key session ranges. The script filters valid candle

Indicator v6 Support & resistanceSessions & time
Updated 5 weeks ago · MIT GitHub repository of Forex Trading Strategy

GEO P Momentum Strategy

by newsfriend
2 stars

Implements a rule-based momentum trading strategy that detects Bollinger Band challenges followed by synchronized trendline or range breakouts on the price chart. Entries trigger under configurable strictness modes using multi-timeframe Tide and Wave alignment

Strategy v6 Oscillators & momentumVolatility & bands
Updated 8 weeks ago · None stated GitHub repository of GEO P Momentum Strategy
2 stars

Implements a strategy combining Oliver Kell's Cycle of Price Action with Mark Minervini's Volatility Contraction Pattern (VCP). It identifies breakout setups such as wedge pops and EMA crossbacks aligned with EMA 10/20/50/200 and an optional Minervini Trend Te

Strategy v6 TrendBreakout
Updated 3 months ago · Custom licence GitHub repository of Kell + Minervini VCP Backtest
2 stars

SMC Toolkit detects core Smart Money Concepts on the price chart, including market structure breaks (BoS and CHoCH), Order Blocks, Fair Value Gaps (FVGs), and liquidity levels such as equal highs and lows. Active zones project forward and freeze or stop extend

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · MPL-2.0 GitHub repository of SMC Toolkit [btankutt]
2 stars

This indicator detects and draws trendlines, zones, and neutral bands directly on the price chart. It generates long and short breakout signals when price breaches detected trendlines, displaying configurable target and stop-loss lines based on an adjustable r

Indicator v5 BreakoutSupport & resistance
Updated 7 months ago · None stated GitHub repository of SilverHawk Trendline Breakouts

This breakout strategy uses dynamic moving averages plotted on the price chart for MA10, MA50, MA100, and MA200 based on user selections. It generates entry signals on breakouts that exceed a volume multiplier, with optional requirements for gaps or strong can

Strategy v6 Moving averagesBreakout Repaints
Updated 10 months ago · MIT GitHub repository of Ede – MA + Breakout Strategie (Dynamic MAs)
1 stars

Marks buy and sell signals on the price chart using a 50 and 200 EMA trend filter, an optional weekly trend confirmation, volume spikes against a moving average and RSI levels. Two buy styles can be enabled: accumulation after a bottom, and momentum breakout.

Indicator v5 TrendBreakout
Updated yesterday · None stated GitHub repository of Institutional Buy & Sell v6

Booming Bulls Sniper

by jayadevrana
1 stars

Implements liquidity sweep and prop firm breakout strategies inspired by the Booming Bulls methodology. The script monitors previous-day, previous-week, and current-day highs and lows for liquidity sweeps where price wicks beyond a level without closing past i

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · MPL-2.0 GitHub repository of Booming Bulls Sniper

Lunch Range Breakout

by JACKZHOU0521
1 stars

The Lunch Range Breakout indicator identifies and plots a midday consolidation range based on configurable exchange-time hours, defaulting to 11:30 through 13:30. Once the window closes, it plots the session high and low levels directly on the price chart. The

Indicator v6 BreakoutSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Lunch Range Breakout

ORB + ICT Manual Signals v3

by mccallister-dev
1 stars

This overlay indicator marks opening-range breakouts inside configurable Asian, London, and New York session windows. It searches for a break, retest, and continuation after an optional delay, then shows confirmed-bar signals with estimated entry, stop, and ta

Indicator v6 BreakoutSMC / ICT / price action
Updated 5 weeks ago · None stated GitHub repository of ORB + ICT Manual Signals v3

Daily Trend Rider

by femibol
1 stars

A long-only swing strategy for daily charts of liquid stocks. It requires several consecutive green closes, a close above the 20 EMA, ADX above a minimum and a bullish SuperTrend, within a price band. Entry is a break of the prior high on volume or a pullback

Strategy v6 TrendBreakout
Updated 6 weeks ago · None stated GitHub repository of Daily Trend Rider

CH033 ORB+ VWAPs Indicator

by sandovalchristian033
1 stars

This indicator plots multiple anchored VWAPs, session ranges, fair value gaps, and multi-instrument monitoring tables directly on the price chart. It signals long or short setups when price breaks the initial fifteen-minute New York opening range, re-enters th

Indicator v6 BreakoutSessions & time
Updated 2 months ago · None stated GitHub repository of CH033 ORB+ VWAPs Indicator

Signal Overlay

by insomniac-asif
1 stars

A chart overlay with three exponential moving averages of 9, 21 and 50 bars, plus manual marker toggles for long, short, entry, stop hit and target hit on the latest bar. The setup type and a conviction score are typed in by the user and shown in the label. It

Indicator v6 Sessions & timeMoving averages
Updated 2 months ago · MIT GitHub repository of Signal Overlay
1 stars

TN Swarm Modular Executor combines four distinct sub-strategy modules—Momentum (CCI), Mean Reversion (RSI), Breakout (Bollinger Bands), and Volatility (ATR channels)—into a multi-agent consensus engine. It calculates individual member signals and aggregates th

Indicator v6 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of TN Swarm Modular Executor

GEKO OpenRange

by grzegorzkowalskigk-jpg
1 stars

This indicator for index futures such as ES and NQ plots the regular-session opening range as a box with high and low lines. It offers two modes: a classic opening range breakout and a Noise Area model with volatility-based boundaries from the open and a VWAP

Indicator v6 Sessions & timeBreakout
Updated 3 months ago · Custom licence GitHub repository of GEKO OpenRange
1 stars

A Pine v6 strategy variant for 15-minute Bitcoin perpetual charts that trades RSI momentum breakouts with no pyramiding. Entries need RSI to pass set levels plus a gap, with candle color, EMA 200, ATR range and body-size filters, and an optional pullback re-en

Strategy v6 Oscillators & momentumTrend
Updated 4 months ago · None stated GitHub repository of BTC RSI Momentum v22
1 stars

This strategy identifies Minervini Volume Confirmation Patterns fused with Smart Money Concepts for Bursa Malaysia stocks. It plots entry and exit signals with trend lines, boxes and labels directly on the price chart. The strategy enters long positions when v

Strategy v6 SMC / ICT / price actionVolatility & bands
Updated 4 months ago · None stated GitHub repository of Minervini VCP + SmartMCDX KLSE v8

BB Squeeze Breakout

by shubhamtaywade82
1 stars

A strategy that trades the release of a Bollinger Band and Keltner Channel squeeze. When the bands move back outside the channel, it buys if momentum, measured against the Donchian midline, is positive and sells short if it is negative. An optional ATR-based s

Strategy v6 Volatility & bandsBreakout Archived
Updated 5 months ago · None stated GitHub repository of BB Squeeze Breakout
1 stars

A strategy with BTC, gold and custom presets that enters in the direction of the trend when a strong candle breaks the latest swing high or low. Filters include a higher-timeframe trend check, a volume surge, body and range thresholds, a prior consolidation, a

Strategy v6 BreakoutTrend
Updated 6 months ago · None stated GitHub repository of PA Trend Breakout Strategy

A strategy variant, described by its file name as optimized for long trades only, that sends orders to MetaTrader through a connector service via alert messages. Inputs cover symbol prefix, suffix and mapping, lot size, a magic number, a pip multiplier and a b

Strategy v6 Breakout
Updated 7 months ago · None stated GitHub repository of Energy Block V11 Auto Strategy Long Only
1 stars

A single indicator that combines two systems and enables each only on its own timeframe. On a fifteen-minute chart it runs a volatility squeeze breakout using an ATR percentile and a regime filter. On a four-hour chart it runs a VWAP mean reversion with standa

Indicator v6 BreakoutMean reversion
Updated 7 months ago · None stated GitHub repository of V19 (15M) + V21 (4H) Hybrid

SFA Impulse Origin v1

by genesisgrubio39
1 stars

This library from the SFA framework detects structural flow points using break of structure (BOS) and change of character (CHOCH) events. It calculates impulse origins by comparing close prices against ATR-based high and low extremes, filtered by volume percen

Library v6 SMC / ICT / price actionTrend
Updated 10 months ago · None stated GitHub repository of SFA Impulse Origin v1
1 stars

The Donchian Breakout Strategy is a Turtle-style breakout system that plots Donchian channels on the price chart. It generates long entries when the close price crosses above the upper channel and short entries when crossing below the lower channel. Exits are

Strategy v5 BreakoutTrend
Updated 11 months ago · None stated GitHub repository of Donchian Breakout Strategy

Range Breakout Strategy

by nidhinninan
1 stars

An intraday strategy that builds a range from the first fifteen minutes after a configurable start time, then trades breakouts of that range until a set end time. Targets use a risk-to-reward ratio setting, and position size is a small percentage of equity. Th

Strategy v5 BreakoutSessions & time
Updated 12 months ago · MIT GitHub repository of Range Breakout Strategy

Channel Breakout Strategy

by Studentcodee
1 stars

A Pine v6 strategy that trades a rolling channel breakout on the price chart. It tracks the highest high and lowest low over a length setting, then places a stop order to go long one tick above the upper bound and a stop order to go short one tick below the lo

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

This strategy computes a Donchian channel from the highest high and lowest low over a set period, plus a middle line. It goes long when the close breaks above the previous channel high and short when it breaks below the previous channel low. Each trade has an

Strategy v5 BreakoutTrend
Updated 1 year ago · None stated GitHub repository of Donchian Channel Breakout

algo-trade-forex

by akash-yellgetti
1 stars

A strategy-type script that draws on the price chart and combines two ideas. Pivot-based support and resistance lines are plotted from left and right bar counts, with breakout labels when price crosses a level on rising volume, and alerts for broken support or

Strategy v5 Support & resistanceBreakout
Updated 2 years ago · None stated GitHub repository of algo-trade-forex

My Squeeze Play

by modster
1 stars

This indicator requests a five-minute Bitcoin series and plots two lines offset 5,000 price units above and below the bar average. It raises a short squeeze alert when the high exceeds the upper line and a long squeeze alert when the low falls below the lower

Indicator v4 Breakout Repaints
Updated 4 years ago · MIT GitHub repository of My Squeeze Play
1 stars

This strategy uses the same smoothed ATR-above-its-low measure as the matching indicator, shown in a separate pane. It opens a long when the close turns up after a down close while the volatility value is rising, and a short when the close turns down after an

Strategy v5 Volatility & bandsBreakout
Updated 4 years ago · None stated GitHub repository of ATR Volatility Power Strategy
257 stars

This overlay indicator tracks sideways consolidations on the SPX price chart and flags breaks above or below that range. It builds a zigzag from the highest and lowest bars inside a loopback window, smooths nearby highs and lows with a rational quadratic kerne

Indicator v6 BreakoutSupport & resistance Repaints
Updated 6 weeks ago · None stated GitHub repository of SPX 30M - Trading Chart
16 stars

This strategy trades Donchian breakouts on the price chart. It enters long or short on a longer channel break and can add further units as price advances by a fraction of ATR, up to a set maximum. Later units risk a smaller share of equity than the first. It e

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 11: Tapered Pyramid

Candle Breaks 1v1 L+S

by chargersfan47
7 stars

This indicator identifies single-candle breakout patterns where the current bar closes beyond the open of the preceding opposite-direction bar. It calculates potential long and short breakout targets using a 0.618 Fibonacci projection from the prior candle ran

Indicator v5 Candlestick patternsBreakout
Updated 5 months ago · None stated GitHub repository of Candle Breaks 1v1 L+S

FX Market Sessions

by itmakesyousick
7 stars

FX Market Sessions highlights distinct trading sessions, such as London, New York, and Tokyo, directly on the main price chart. It draws background boxes for each active session and optionally plots opening ranges, Fibonacci retracement levels, and session ext

Indicator v5 Sessions & timeSupport & resistance
Updated 3 years ago · None stated GitHub repository of FX Market Sessions
6 stars

This strategy identifies high-volatility expansion bars by comparing the high-low range to a moving average plus standard deviation threshold. When range expansion occurs, it checks momentum over a specified lookback period. It opens a long position if the cur

Strategy v5 Volatility & bandsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of TradersPost High-Low Range Strategy

Edge 60

by subos2008
6 stars

Edge 60 is a breakout indicator that identifies new extremes over a configurable lookback period. It calculates and plots the highest high and lowest low of the preceding bars on the price chart. When the current bar makes a new high above the lookback channel

Indicator v5 BreakoutSupport & resistance
Updated 2 years ago · Custom licence GitHub repository of Edge 60

S/D Breakout

by jerryinyang
5 stars

The S/D Breakout script is a technical indicator that identifies and plots supply and demand zones as well as order blocks on the price chart. It calculates reversals and zones based on configurable inputs such as pivot lookback periods and distance multiplier

Indicator v5 Support & resistanceBreakout
Updated 2 years ago · None stated GitHub repository of S/D Breakout
5 stars

Calculates short and long Exponential Moving Averages alongside pivot high and low levels to identify breakout signals. The indicator plots a 20 EMA and a 50 EMA on the main price chart. It evaluates trend direction based on EMA crossover alignment, checks for

Indicator v4 Moving averagesTrend
Updated 3 years ago · Apache-2.0 GitHub repository of 20 EMA + 50 EMA + Breakout

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