Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 9)

Open-source Pine scripts that draw levels: pivot points, automatic support and resistance, supply and demand zones, Fibonacci and previous highs and lows.

Pine scripts3,142
Code shown here1,440open licence
Updated in a year2,416
No repaint flag2,547

Support & resistance: Indicators, Strategies and Libraries

Breaker Blocks v6

by nexobanks-prep
1 stars

A Pine v6 rewrite of the breaker blocks indicator using user-defined types and methods. It finds pivot swing highs and lows, detects a break of structure, marks the last opposing candle as an order block, and turns it into a bullish or bearish breaker block wh

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Breaker Blocks v6
1 stars

This strategy identifies the Initial Balance (IB) high and low during a user-defined opening session and trades breakout pullbacks. Once the IB window concludes and range filters are satisfied, it enters long or short when price breaks out and retraces back to

Strategy v6 BreakoutSessions & time
Updated 7 months ago · MIT GitHub repository of Gold IB Breakout Retracement

Session Highlighter

by Timonkru
1 stars

The Session Highlighter indicator draws colored boxes over Asia, London, and New York trading sessions directly on the price chart. It calculates the session high and low price bounds based on custom session hours and timezone configurations. Upon session comp

Indicator v6 Sessions & timeSupport & resistance
Updated 8 months ago · MIT GitHub repository of Session Highlighter
1 stars

Detects pivot highs and lows using a fractal length and draws Fibonacci retracement lines between the latest swing points on the price chart. Settings set the fractal length in bars and toggle the lines and their price labels. Pivots need the same number of ba

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Simple Fibonacci Analyzer

A price-chart indicator that combines an opening-range style bias with a candle range trigger. It compares a lower-timeframe pulse against the previous closed candle's high and low across several higher timeframes, counts how many disagree, and only accepts a

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 8 months ago · None stated GitHub repository of HORC x CRT Hybrid Stealth Dome v8.7

MES Gamma (0DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for MES (Micro E-mini S&P 500 futures, scaled from SPY options) expiring in the same day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot d

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of MES Gamma (0DTE)
1 stars

An overlay indicator that marks market structure from swing points. It draws continuation lines for breaks of structure in the trend direction and breaker lines for market structure shifts. A swing is a candle with a set number of lower or higher bars on each

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 9 months ago · None stated GitHub repository of ICT Breakers (BOS / MSS)

Draws horizontal lines at the open of selected higher periods on the price chart, with up to five configurable slots that default to daily, weekly, monthly and yearly. Each slot has its own timeframe, colour and lookback count of past opens. Options extend the

Indicator v6 Support & resistanceSessions & time Repaints
Updated 9 months ago · MPL-2.0 GitHub repository of Daily Weekly Monthly Yearly Opens
1 stars

This indicator plots an anchored VWAP and a moving average on the price chart. The VWAP anchor can be chosen automatically or set to session, week, month, quarter, year, highest high, lowest low or highest volume bar within a lookback. Up to three standard dev

Indicator v6 Moving averagesVolume
Updated 9 months ago · MPL-2.0 GitHub repository of Anchored VWAP + Moving Average

NXOG + FVG

by TavaresBugs
1 stars

The indicator detects and plots Fair Value Gaps across multiple timeframes on the price chart, including 15 minutes, 1 hour, 4 hours, daily, weekly, and monthly. It identifies institutional opening gaps such as NDOG, NWOG, and NMOG with colored boxes and label

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · MIT GitHub repository of NXOG + FVG
1 stars

The Advanced Trading System - Premium is an all-in-one chart overlay that combines market structure, smart money concepts, and momentum analysis. It identifies institutional order blocks, fair value gaps, break of structure, and change of character levels alon

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 9 months ago · MIT GitHub repository of Advanced Trading System - Premium

A Pine v6 overlay that implements smart money concepts: internal and swing market structure with break of structure and change of character labels, strong and weak highs and lows, equal highs and lows, premium and discount zones, and fair value gaps. Settings

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 9 months ago · None stated GitHub repository of SMC + Sessions & Liquidity Ultimate
1 stars

Auto Chart Patterns Trendoscope automatically identifies and plots technical chart patterns on the main price chart using multi-depth ZigZag pivot calculations. It detects various geometric formations including channels, wedges, and triangles across rising, fa

Indicator v6 Support & resistanceTrend
Updated 9 months ago · None stated GitHub repository of Auto Chart Patterns Trendoscope

Momentum FX Order Block Zones

by mikedconcepcion
1 stars

An indicator that finds supply and demand zones after a short consolidation followed by a fast ATR-scaled breakout, and draws them as boxes on the price chart. Zones can be limited to windows around the hour and half hour in UTC, and to the direction of a high

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 9 months ago · MIT GitHub repository of Momentum FX Order Block Zones

Live Market Scanner - V7

by IamTamheedNazir
1 stars

The Live Market Scanner V7 is a real-time market analysis indicator that fuses MACD, RSI, EMAs, volume, and price momentum to calculate LONG and SHORT scores. It determines market status (LONG, SHORT, WAIT) using a sensitivity-based threshold and plots signals

Indicator v5 TrendOscillators & momentum
Updated 9 months ago · Custom licence GitHub repository of Live Market Scanner - V7
1 stars

This mean-reversion strategy identifies deep price drops following a multi-bar low, such as a 52-week low. It calculates a target threshold located a specified percentage below the period low and triggers a buy entry when price plunges to this oversold level.

Strategy v6 Mean reversionSupport & resistance
Updated 9 months ago · MIT GitHub repository of Super Oversold (52 Week Low Version)

Apex Trend & Liquidity Master (SMC)

by app-builder-sketch
1 stars

Apex Trend & Liquidity Master (SMC) is an overlay indicator that combines trend-following filters with Smart Money Concepts market structure and liquidity tools. It calculates baseline trend clouds using moving averages such as HMA, EMA, SMA, or RMA alongside

Indicator v6 SMC / ICT / price actionTrend
Updated 10 months ago · GPL-3.0 GitHub repository of Apex Trend & Liquidity Master (SMC)
1 stars

This indicator combines liquidity sweep detection, Fibonacci retracement levels (0.382, 0.5, 0.618, 0.786) and two user-set ratio levels called CC levels on the price chart. A sweep is a wick beyond a recent swing by a buffer, optionally followed by reclaim ca

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 10 months ago · None stated GitHub repository of Quantitative Pivot Strategy [QPS]
1 stars

RI LONG Levels is an overlay indicator for ES and NQ futures that sets out a manual long reversal plan. It anchors on the previous session close, then draws an entry level at a chosen multiple of a risk interval below the anchor, with a target and a stop level

Indicator v6 Support & resistanceMean reversion
Updated 10 months ago · None stated GitHub repository of RI LONG Levels REVERSAL_TOUCH

TXF Choppy Detector

by amytsengtw
1 stars

The TXF Choppy Detector is an indicator that identifies choppy or sideways markets in Taiwan index futures using the Choppiness Index (CHOP). It plots Bollinger Bands on the price chart with customizable length and multiplier. The script detects washout signal

Indicator v5 Mean reversionVolatility & bands
Updated 10 months ago · None stated GitHub repository of TXF Choppy Detector

Orderflow Break Tape

by Blendoxius
1 stars

An overlay that tracks swing highs and lows and marks change of character, break of structure and liquidity events with lines and labels. Breaks can be filtered by a volume strength check that compares the breaking bar with the last few bars or with a tape ave

Indicator v6 SMC / ICT / price actionVolume
Updated 10 months ago · None stated GitHub repository of Orderflow Break Tape
1 stars

An order-flow proxy indicator that estimates delta from volume and the close position within each bar, then builds a cumulative delta line, relative volume and a delta z-score. Bull and bear signals need relative volume, delta and close-in-range thresholds, an

Indicator v6 VolumeDivergence Repaints
Updated 11 months ago · None stated GitHub repository of Institutional Orderflow Pro

This indicator maps estimated dynamic liquidity levels across the chart by combining normalized volume and an ATR multiplier. It tracks highs and lows within a designated lookback window, projecting buy and sell liquidity bins and highlighting maximum liquidit

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 11 months ago · None stated GitHub repository of Dynamic Liquidity HeatMap Profile [BigBeluga]
1 stars

This indicator finds pivot highs and lows with adjustable left and right bars and draws support and resistance zones as boxes on the price chart. Repeated touches of a level raise a strength rating shown as dots. High-volume bars, measured against a 20-bar ave

Indicator v6 Support & resistanceVolume
Updated 11 months ago · None stated GitHub repository of Support/Resistance & Liquidity Zones

N Rolling and Anchored VWAP

by murasamenomad
1 stars

A price chart overlay that plots rolling VWAP lines over 7, 30, 90 and 365 days, calculated from a selectable reference timeframe with optional smoothing and price labels. It also draws up to several anchored VWAPs that restart each day, week, month, quarter o

Indicator v6 VolumeSupport & resistance Repaints
Updated 11 months ago · None stated GitHub repository of N Rolling and Anchored VWAP

CHoCH Signal TRXUSDT

by gnuhhung317
1 stars

A generated indicator on the price chart that draws a fixed set of hard-coded lines and one label for TRXUSDT on the 30 minute chart. Aqua dashed lines mark pivot highs, yellow dashed lines mark pivot lows, and a lime label marks a change of character at a sta

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · MIT GitHub repository of CHoCH Signal TRXUSDT
1 stars

A price-chart overlay that marks regular pivot highs and lows using a configurable pivot length, plus missed pivots that occurred between them, joined by zigzag lines. It measures each move between consecutive pivots, showing price change in points and percent

Indicator v6 Support & resistance
Updated 11 months ago · None stated GitHub repository of [FS] Pivot Measurements

Order Block Detector

by freacatt
1 stars

A price-chart overlay that finds bullish and bearish order blocks from volume pivots. A pivot length sets how many bars confirm a volume swing, and the candle range there becomes a zone drawn as a box with a dashed or solid average line, extended to the right.

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · None stated GitHub repository of Order Block Detector

A price-chart indicator that marks the opening range of each session, either from a chosen opening time period or a custom session and timezone. It plots the range high and low, shades the range, and prints breakout signals when price closes beyond it. Targets

Indicator v6 Sessions & timeBreakout
Updated 12 months ago · MIT GitHub repository of LuxAlgo Opening Range with Breakouts and Targets

SamK Indicator

by samkling
1 stars

A Pine v5 overlay that combines several chart aids for stock trading. It plots selectable moving averages on all timeframes, optional daily moving averages pulled from the daily series, 50, 100 and 200 SMAs, and pivots. Further switches add average daily range

Indicator v5 Moving averagesSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of SamK Indicator

Flip Zones V1

by TraderBarat
1 stars

Finds candles with unusually high volume and draws a box from the candle high to low on the price chart. Volume counts as unusual when it exceeds a moving average of volume by a multiplier, default 2. Large-body candles are tagged as breakouts, and small-body

Indicator v5 Support & resistanceVolume
Updated 1 year ago · MIT GitHub repository of Flip Zones V1

Bitcoin Cycles Indicator

by mikegreiner
1 stars

Bitcoin Cycles Indicator tracks cycle lows and highs on the price chart for daily, weekly, monthly and custom timeframes. It labels potential and final cycle points, flags failed cycles, and draws projection boxes based on an average cycle length. Minimum and

Indicator v6 Support & resistance Repaints
Updated 1 year ago · MIT GitHub repository of Bitcoin Cycles Indicator

Swing Highs and Lows

by RadinAnsari
1 stars

This indicator identifies dynamic support and resistance levels on the price chart using pivot high and low calculations. Based on a configurable swing length setting, it detects key market turnarounds and plots triangular markers above swing highs and below s

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Swing Highs and Lows
1 stars

An indicator that builds a rolling volume profile over a configurable window of recent candles and plots the Value Area High, Value Area Low and Point of Control. Settings include the lookback length, the percentage of volume treated as the value area, a smoot

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Rolling Volume Area Indicator

Hotzones

by feliperazeek
1 stars

Hotzones identifies and plots bullish and bearish order block liquidity zones directly on the price chart. It draws colored boxes for active liquidity ranges along with average price levels. The indicator dynamically removes mitigated zones when price crosses

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of Hotzones

FRK OHLC Statistics

by murdrae
1 stars

FRK OHLC Statistics is an overlay indicator that draws key Open, High, Low, and Wick level lines on the price chart from up to five customizable timeframes. It allows traders to monitor historical reference points across intraday, daily, weekly, and monthly pe

Indicator v6 Support & resistance Repaints
Updated 1 year ago · None stated GitHub repository of FRK OHLC Statistics

An overlay with Turkish labels that detects XABCD harmonic patterns, including Gartley, Bat, Butterfly, Crab, Deep Crab, Shark and Cypher. In automatic mode it scans pivots over a lookback window and scores each match against a minimum percentage; in manual mo

Indicator v5 Support & resistance Repaints
Updated 1 year ago · MIT GitHub repository of Harmonic Pattern Manual and Auto

Llama P2P

by lappingio
1 stars

A session and levels overlay that draws boxes for the Sydney, Asia and London sessions in New York time with optional labels, plus a Fibonacci retracement of the session range. It also draws horizontal lines for the current and true day open, previous day, wee

Indicator v6 Sessions & timeSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Llama P2P

CCE ORB

by ylohnitram
1 stars

Marks the opening range of the US stock session on the price chart. The range starts at 9:30 New York time and lasts a set number of minutes, 15 by default, with optional extension levels projected from it. A setting limits the display to the morning or to the

Indicator v5 Sessions & timeBreakout
Updated 1 year ago · None stated GitHub repository of CCE ORB

A breakout strategy built for S50 futures on a 30-minute chart. It tracks confirmed swing highs and lows from pivot detection and places stop-order entries when price breaks the latest swing level. The stop sits one ATR beyond the opposite swing, the target is

Strategy v6 BreakoutSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of S50 TFEX Trend Following Breakout
1 stars

This indicator calculates the average high-to-low range of a user-selected number of prior candles on a chosen timeframe. It plots bullish and bearish target lines from the current candle range on the price chart and can extend those lines by a set number of b

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 1 year ago · MIT GitHub repository of ACR(Average Candle Range) With Targets

ICT Levels

by JamestheBuildrCodes
1 stars

An overlay that marks the opening price at five New York clock times each day: 12 AM, 8:30 AM, 9:30 AM, 2 PM and 6 PM. For the current day only, each time gets a horizontal line at that bar's open and a text label to the right, and the previous day's lines are

Indicator v6 Sessions & timeSupport & resistance
Updated 1 year ago · None stated GitHub repository of ICT Levels

Detects bullish and bearish order blocks using pivot highs and lows and draws them as boxes on the price chart. Settings define the minimum and maximum block size, the pivot left and right bar counts, the maximum number of historic blocks kept, and a lookback

Indicator v5 SMC / ICT / price actionSupport & resistance

Premium 3

by Abishek-Tharu99
1 stars

A multi-tool overlay indicator on the price chart. It offers reversal buy and sell markers, oversold and overbought shading, a trend ribbon, optional reversal bands and three moving average support and resistance lines. It can also show higher-timeframe liquid

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Premium 3

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