Pine Library · 966 open-source scripts

Free Breakout Pine Scripts (page 2)

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

Brahmāstra

by HelloMoto069
3 stars

Brahmāstra plots a fixed 10-period exponential moving average on the price chart and marks candles that sit entirely beyond it. A red candle whose low is above the average gets a cross, and a later green candle that opens below and closes above that candle's h

Indicator v5 Moving averagesCandlestick patterns
Updated 1 year ago · None stated GitHub repository of Brahmāstra

200DMA Entry

by FinDeckDao
3 stars

The 200DMA Entry strategy plots the 200-day simple moving average on the price chart. It generates long signals when the close crosses above the 200 MA on the prior bar. Positions are sized at 1 percent of account equity. The strategy exits at a 2.5 times take

Strategy v5 Moving averagesTrend
Updated 1 year ago · MIT GitHub repository of 200DMA Entry

This indicator detects and visualizes core Smart Money Concepts directly on the price chart. It plots bullish and bearish order blocks, fair value gaps, rejection blocks, break of structure levels, pivots, and liquidity pools using boxes and markers. A dedicat

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 years ago · None stated GitHub repository of Super OrderBlock / FVG / BoS and ABC with Alert

This strategy combines Bollinger Bands and Bollinger Band Width to trigger breakout trades during periods of low volatility. It opens long positions when price crosses above the upper band while band width is below its 100-period moving average, and opens shor

Strategy v5 TrendVolatility & bands
Updated 4 years ago · CC0-1.0 GitHub repository of Greeffer's Bolinger Band Hedge Strategy

ORB Multi-Model Indicator

by BobLeeHacker
2 stars

This indicator plots Opening Range Breakout signals on the price chart for the New York session. It implements nine ORB models with varying conditions including volume filters, RSI thresholds, FVG detection, and compression requirements. Signals display entrie

Indicator v6 BreakoutSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of ORB Multi-Model Indicator
2 stars

SMC + POC Signals identifies Smart Money Concepts structure elements including Break of Structure (BOS), Change of Character (CHoCH), Order Blocks, and Fair Value Gaps alongside a rolling Point of Control (POC) volume profile line. It marks potential long and

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · None stated GitHub repository of SMC + POC Signals [factor-lab]

Crypto Trading Strategy

by AmjadSaidam
2 stars

Crypto Trading Strategy identifies breakout setups on the price chart by combining Bollinger Bands with daily cumulative volume delta. It computes a standard Bollinger Band envelope alongside a daily resetting cumulative volume series normalised into z-scores.

Indicator v6 BreakoutVolume
Updated 5 weeks ago · MIT GitHub repository of Crypto Trading Strategy

MTF OTF Close Filter

by flaviusapop
2 stars

MTF OTF Close Filter calculates multi-timeframe breakout or continuation states by comparing each timeframe's current close to the highest and lowest closes over the prior N bars. It plots a six-cell status table at the bottom right of the chart showing UP, DO

Indicator v5 BreakoutTrend
Updated 5 weeks ago · None stated GitHub repository of MTF OTF Close Filter

This indicator plots Gamma Exposure (GEX) levels, market breakout structures, and session anchors directly on the price chart for ES, SPX, and SPY. It renders key options analytics including Zero Gamma, Max Pain, Call and Put Walls, Volatility Bands, and Delta

Indicator v6 Support & resistanceBreakout
Updated 6 weeks ago · MIT GitHub repository of GEX Levels + Breakout Structure + Session AVWAP — ES/SPX/SPY
2 stars

The Fake Breakout / Breakdown Setup indicator identifies false breakouts (FBO) and false breakdowns (FBD) by tracking liquidity sweeps of previous price highs and lows. It validates reversals using follow-up price action and a confirmation scoring system based

Indicator v6 BreakoutOscillators & momentum
Updated 8 weeks ago · None stated GitHub repository of Fake Breakout / Breakdown Setup
2 stars

This overlay indicator demonstrates TradingView alert configuration. It plots 20- and 50-period simple moving averages and creates alert conditions when price crosses the shorter average or the averages cross each other. It also alerts on RSI crossing 70 or 30

Indicator v6 Moving averagesOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Alert Configuration Examples

This indicator draws automatic support and resistance trend lines on the price chart. It builds them from zigzag pivots set by the pivot period and groups them as major or minor, external or internal, and rising or falling. It can alert when price breaks or re

Indicator v6 Support & resistanceBreakout
Updated 2 months ago · None stated GitHub repository of Auto TrendLines [TradingFinder] Support Resistance Alerts

FYP Bot 1

by aleks-drozy
2 stars

This strategy executes trades based on a combination of Smart Money Concepts, including Inverse Fair Value Gaps (IFVG) and Change in State of Delivery (CISD) structure breaks. Entries require confluence between IFVG flips, structural CISD breaks, a 20-period e

Strategy v6 SMC / ICT / price actionTrend
Updated 2 months ago · MIT GitHub repository of FYP Bot 1

HTF / Power Play Levels

by mirkothepirko
2 stars

This indicator detects High Tight Flag (HTF) and Power Play chart patterns on the price chart. It measures pole gain, flag consolidation duration, and depth, while checking for volume dry-up and moving average trend alignment. When a pattern qualifies, it plot

Indicator v6 BreakoutSupport & resistance
Updated 3 months ago · Custom licence GitHub repository of HTF / Power Play Levels

XAUUSD Breakout Grid

by Young666YHF
2 stars

The XAUUSD Breakout Grid strategy executes market orders when price crosses defined dollar-denominated grid levels on the price chart. It tracks entries using array structures and dynamically adjusts position sizing to balance net exposure between long and sho

Strategy v6 BreakoutSupport & resistance
Updated 4 months ago · None stated GitHub repository of XAUUSD Breakout Grid
2 stars

This indicator analyzes volume character and market structure in a separate chart pane. It color-codes volume bars to identify institutional accumulation, distribution, climax volume, and volume dry-up conditions during volatility contraction patterns. The scr

Indicator v5 VolumeTrend
Updated 4 months ago · None stated GitHub repository of TJ Essentials - Daily Swing

BTC Pattern Breakout Final

by Yashiine-code
2 stars

This indicator detects chart structure setups on the price chart, including W-bottom and convergence breakouts, M-top and convergence breakdowns, and false breakout alerts. Signals are filtered using moving average volume expansion, ATR momentum growth, and ex

Indicator v6 BreakoutSupport & resistance
Updated 5 months ago · None stated GitHub repository of BTC Pattern Breakout Final
2 stars

This overlay indicator approximates a Bookmap-style liquidity view from price and volume. It draws heatmap boxes where volume exceeds a rolling average, volume dots above a relative-volume filter, and a smoothed cumulative-delta proxy. Optional signals use abs

Indicator v6 VolumeSupport & resistance
Updated 6 months ago · None stated GitHub repository of Bookmap Heatmap & Order Flow

BB Breakout Reversal Strategy

by WayneMoore1006
2 stars

This quantitative strategy calculates custom Bollinger Bands using a standard moving average and standard deviation multiplier. It generates long entry signals when the bar close breaks above the upper band, and short entry signals when the close breaks below

Strategy v6 Volatility & bandsBreakout
Updated 6 months ago · None stated GitHub repository of BB Breakout Reversal Strategy

MTF Signal Strategy

by Flopchamp
2 stars

The MTF Signal Strategy is designed for 1-minute charts to identify trade entries using multi-timeframe EMA trends, Opening Range Breakout (ORB) levels, key daily high/low levels, and custom pivot zones. It generates trade signals on bar closes when price alig

Strategy v5 TrendBreakout
Updated 7 months ago · None stated GitHub repository of MTF Signal Strategy
2 stars

The ARCStage indicator calculates and color-codes Stan Weinstein's four market stages using the slope of the 30-week SMA and the price position relative to it. Stage 1 appears in light gray during basing consolidation, Stage 2 in light green during advancing,

Indicator v5 TrendMoving averages
Updated 7 months ago · MIT GitHub repository of Stan Weinstein Stage Analysis

HTF OB M30 + LTF Entry System

by ifreddyman2014-tech
2 stars

This multi-timeframe indicator detects order blocks on the HTF M30 timeframe and generates precise entries on the LTF M1 timeframe using break of structure, displacement, and fair value gap concepts. It requires liquidity sweeps for confirmation and signals en

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of HTF OB M30 + LTF Entry System

This indicator detects breakout signals on the price chart when volume exceeds a threshold, a gap appears, or a strong candle forms, combined with an upward MA50 trend. It plots MA10, MA50, MA150 and MA200 for reference and places entry and exit labels directl

Indicator v6 BreakoutMoving averages
Updated 10 months ago · MIT GitHub repository of Breakout Strategie + MA Labels + Stops

Flag Finder

by mikah13
2 stars

Flag Finder is an indicator that automatically identifies bull and bear flag chart patterns directly on the price chart. It measures prior momentum (flagpole percentage gain or loss and length) alongside consolidation depth and flag bar duration. When flag con

Indicator v5 BreakoutSupport & resistance
Updated 2 years ago · None stated GitHub repository of Flag Finder

Bollinger Bands Strategy

by TravisLeeRichardson
2 stars

This strategy plots standard and dual-level Bollinger Bands on the main price chart to generate breakout signals. It enters a long position when the price crosses above the upper band and enters a short position when the price crosses below the lower band. Pos

Strategy v5 Volatility & bandsMoving averages
Updated 3 years ago · None stated GitHub repository of Bollinger Bands Strategy

Asif 4H TP5 and MS Break

by Asifali549
1 stars

A long-only strategy for crypto on the 4-hour chart that combines two entry types: an Ichimoku plus market structure break signal, and a structure break confirmed by a volume spike. Trend EMAs and a volume multiple filter entries, and each signal type has a co

Strategy v6 BreakoutTrend
Updated yesterday · None stated GitHub repository of Asif 4H TP5 and MS Break
1 stars

A regime-first signal engine for the price chart. It classifies the market stage with a long moving average on an automatically chosen timeframe, then looks for setups: trend pullback, base breakout, stage-two entry, and two bottom-reversal types after heavy s

Indicator v6 TrendBreakout Repaints
Updated yesterday · None stated GitHub repository of Institutional Buy & Sell v9.4

NSE Swing v6 Pro UI

by Tilak004
1 stars

A trend-following swing strategy for Indian stocks. Longs need an EMA 21, 50 and 200 alignment with rising slopes, then enter on a pullback to the 21 EMA or a breakout above a recent swing high, filtered by ADX, volume against its average, RSI and an optional

Strategy v5 TrendBreakout
Updated yesterday · None stated GitHub repository of NSE Swing v6 Pro UI

FVG TWB RSI OB LP UT SSL Suite

by Alireza-Kamran
1 stars

A multi-tool overlay that combines fair value gaps, trendlines with breaks, RSI background shading, order blocks, liquidity pool zones, a UT Bot ATR trailing signal and an SSL element on one chart. Liquidity pools need a set number of contacts, bar gaps and co

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 days ago · MIT GitHub repository of FVG TWB RSI OB LP UT SSL Suite

BigStrategy

by hoox-sh
1 stars

A simple price-action strategy that goes long on a bullish bar closing above the prior close with a higher high, and short on the mirror-image bearish bar. Each entry comes with a stop, a limit and a trailing value set as percentages of price. It also closes a

Strategy v6 Breakout
Updated 4 days ago · AGPL-3.0 GitHub repository of BigStrategy

Multi-Strategy Bot

by eliRap1
1 stars

This Pine Script v5 indicator overlays multiple technical strategies on the price chart to generate buy and exit signals. It scores confluence across SuperTrend direction flips, momentum (EMA, RSI, ROC), Bollinger Band mean reversion, breakout volume, and Stoc

Indicator v5 TrendOscillators & momentum
Updated 5 days ago · None stated GitHub repository of Multi-Strategy Bot

A strategy that builds a 15-minute opening range box from a configurable session and time zone, drawing its high, midpoint and low lines with price labels. It then trades a break, return and cross sequence around the range, with a reward-to-risk exit model, th

Strategy v6 Sessions & timeBreakout Repaints
Updated 7 days ago · GPL-3.0 GitHub repository of 15-Minute ORB Box Break-Return-Cross Strategy

Prior Day Breakout

by allanninal
1 stars

This strategy plots the previous trading day's high and low on the price chart and enters on the first close beyond either level, once per side per day, between 01:00 and 20:00 server time. A long starts above the high and a short below the low. The stop sits

Strategy v6 BreakoutSupport & resistance
Updated 7 days ago · Custom licence GitHub repository of Prior Day Breakout
1 stars

This strategy identifies an Opening Price Range during a specified time window and trades breakouts above or below the established range during the New York trading session. Entries can be filtered using optional RSI extremes and EMA trend direction, restricte

Strategy v6 BreakoutSessions & time
Updated 12 days ago · None stated GitHub repository of NQ NY Session OPR Breakout Strategy

ATR Expansion with Trend

by quantxaashish
1 stars

This indicator identifies potential bullish breakout opportunities by detecting volatility expansions in the direction of an established trend. It calculates the Average True Range (ATR) and determines if volatility is expanding by comparing ATR to its moving

Indicator v5 TrendVolatility & bands
Updated 13 days ago · MIT GitHub repository of ATR Expansion with Trend

Combo

by pouyA-png
1 stars

This strategy executes opening range breakout trades during regular trading hours. It calculates a 15-minute opening range high and low alongside a 20-period EMA and a 14-period ATR. Long entries trigger when price crosses above the opening range high while hi

Strategy v5 BreakoutSessions & time
Updated 2 weeks ago · None stated GitHub repository of Combo
1 stars

Visualises a 15-minute opening range breakout routine for the cash session open. It marks the first 15-minute range, waits for a candle close beyond it, then simulates one trade per day by default with the stop at the breakout candle extreme. Exits can trail s

Indicator v6 BreakoutSessions & time
Updated 2 weeks ago · None stated GitHub repository of Patrick 15m Opening Range

Opening range breakout

by yawningmonsoon
1 stars

This strategy builds an opening-range high and low during a user-defined session, then waits until that session ends. A close above the range enters long and a close below it enters short. The long exit uses the range low as the stop and a limit one range-widt

Strategy v5 BreakoutSessions & time Repaints
Updated 2 weeks ago · MIT GitHub repository of Opening range breakout

Trend Sniper Mini

by kasutu
1 stars

A multi-engine indicator that marks historical trade setups on the price chart. It combines trend entries filtered by a 200 EMA bias and higher timeframe, range breakouts from compressed ranges, and fades or reclaims after large news-style candles. Stops use A

Indicator v6 TrendBreakout Repaints
Updated 2 weeks ago · None stated GitHub repository of Trend Sniper Mini

Gap and Go

by JACKZHOU0521
1 stars

This overlay indicator measures the opening gap between the session open and the prior daily close, then checks whether price continues to hold beyond that close. After a user-defined opening window in minutes, it marks an up signal when an up gap holds and th

Indicator v6 BreakoutSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Gap and Go

ORB + ICT Backtest Strategy v1

by mccallister-dev
1 stars

A Strategy Tester script for opening range breakouts during Asian, London or New York sessions. The range length is selectable, and entries use a close breakout, a break with retest, or a fuller sequence including a liquidity sweep and reclaim. Direction, bias

Strategy v6 BreakoutSessions & time
Updated 5 weeks ago · None stated GitHub repository of ORB + ICT Backtest Strategy v1
1 stars

Marks a 15-minute opening range window on the chart and looks for a manipulation candle whose range is at least a set percentage of the daily ATR. When one appears, it draws position-tool style boxes showing a pending entry, a stop placed beyond the wick plus

Indicator v6 Sessions & timeBreakout
Updated 5 weeks ago · None stated GitHub repository of ORB Strategy Solid Position Boxes

BTCUSD Long Only

by Pr-ashant-pawar
1 stars

This overlay indicator detects candles that stay entirely below a short exponential moving average and groups them into a sequence. When price later closes above the sequence high, it waits for a pullback that touches that level and then marks a long entry, re

Indicator v6 Moving averagesBreakout
Updated 7 weeks ago · None stated GitHub repository of BTCUSD Long Only

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