Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 33)

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

Lakshmi Zones v2

by voletiramu
2 stars

This indicator detects and plots dynamic supply and demand zones directly on the price chart by combining Volume Profile peaks, daily equal highs and lows, and fair value gap levels. Nearby levels are merged according to a user-defined dollar threshold. The sc

Indicator v6 Support & resistanceVolume Repaints
Updated 6 months ago · None stated GitHub repository of Lakshmi Zones v2

Grid Bot [psyll]

by cullyk
2 stars

Grid Bot places a configurable number of long and short orders between a user-set grid top and bottom and draws those levels on the price chart. Direction can be longs, shorts, or both, with default or burst entry and an optional instant first fill. Exits use

Strategy v5 Mean reversionSupport & resistance
Updated 8 months ago · MIT GitHub repository of Grid Bot [psyll]

Momentum-based ZigZag + 趋势

by wynnforthework
2 stars

This strategy combines momentum-based ZigZag calculations with a Supertrend overlay and an EMA trend filter to generate trading entries. It allows selecting between QQE, MACD, or Moving Averages to drive the ZigZag pivot logic. The strategy includes adjustable

Strategy v5 TrendOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Momentum-based ZigZag + 趋势

Inside Bars

by etnt
2 stars

This indicator marks inside bars, candles whose high and low sit entirely inside an earlier parent bar’s range, including nested sequences of inside bars. It stores the parent bar’s high and low when a new inside-bar sequence starts and draws those levels on t

Indicator v5 Candlestick patternsSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of Inside Bars

HTF Candles & Pivots

by itmakesyousick
2 stars

HTF Candles & Pivots is an indicator that overlays high time frame candles and pivot points on the price chart. It plots customizable candles with options for thickness, wicks, fill, history shift, and labels including day, average, and TD sequence. The script

Indicator v5 Candlestick patternsSupport & resistance
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots
2 stars

This strategy calculates higher-timeframe price levels and multi-timeframe Bollinger Bands to identify price zone interactions directly on the main chart. It uses daily source prices and 240-minute Bollinger Bands, styling them with dynamic gradient coloring b

Strategy v4 Volatility & bandsSupport & resistance Repaints
Updated 3 years ago · None stated GitHub repository of Time PriceZones Strat Testing

A chart overlay that detects pivot-based chart patterns and keeps a capped registry of them, each with a target, stop and invalidation level and a confidence score filtered by a minimum value. It uses ATR, volume z-scores, a higher-timeframe reference, a lower

Indicator v5 Support & resistanceVolume
Updated 2 days ago · None stated GitHub repository of ULTIMATE Nested Matrix & MTF Projection Engine v6

SMC Decision Board

by skipp-dev
1 stars

SMC Decision Board is an on-chart decision-support dashboard designed for Smart Money Concepts analysis. It processes aggregated signal states from linked chart scripts to display a structured HUD table, trade plan risk lines, and live setup highlights directl

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 4 days ago · None stated GitHub repository of SMC Decision Board

An indicator that builds a delta profile for each session and extracts points of interest from it at session close: the delta point of control, positive and negative delta extremes, a delta flip level and an absorption node. Each becomes a zone sized by a frac

Indicator v6 VolumeSupport & resistance
Updated 8 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 2 POI Extraction

DEPV2 B1b - Günlük Open

by YuceSezar89
1 stars

This indicator tracks and plots the daily opening price based on a user-defined UTC hour setting. Plotted in a separate pane, it enables traders to benchmark intrabar price action against a specific daily open anchor. The primary setting adjusts the starting h

Indicator v6 Support & resistanceSessions & time
Updated 13 days ago · None stated GitHub repository of DEPV2 B1b - Günlük Open

SR+Trend v6 APT

by MuhammadMuhamid
1 stars

A long-only strategy preset tuned for one crypto pair, using multi-timeframe pivot support and resistance with tighter touch zones and shorter retest windows than the other versions. It can flip broken resistance into support and supports optional moving avera

Strategy v6 Support & resistanceTrend
Updated 13 days ago · None stated GitHub repository of SR+Trend v6 APT

Market Sniper

by kasutu
1 stars

A combined chart overlay that plots EMAs of 20, 50 and 200 bars with a zone around the middle line, an Ichimoku cloud with 9, 26 and 52 bar settings, and order blocks that can show as mitigated. It also marks bullish and bearish break of structure lines, break

Indicator v5 SMC / ICT / price actionTrend
Updated 2 weeks ago · None stated GitHub repository of Market Sniper
1 stars

The Fractal Field Smoother calculates Williams Fractals based on price high and low pivot points over a user-defined period. It measures price distance and center points between consecutive fractals, using array storage to calculate smoothed field levels and b

Indicator v6 Support & resistanceTrend
Updated 7 weeks ago · None stated GitHub repository of Fractal Field Smoother
1 stars

Plots volume order block zones on the price chart with three tiers of asymmetric buy and sell volume signals and a signal cooldown. High-volume proximity markers fire when the highest volume in a rolling window occurs within a chosen number of bars of a tier s

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asymmetric HV Proximity v1.2

Reload Ranger Indicator

by GreyssonEnterprises
1 stars

An indicator that looks for reversal setups inside a Fibonacci retracement zone, defaulting to 61.8 to 78.6 percent with a sweet spot level, measured from a higher timeframe. It combines W and M pattern matching with Williams %R, MACD, RSI and an OBV EMA, and

Indicator v5 Support & resistanceOscillators & momentum Repaints
Updated 3 months ago · MIT GitHub repository of Reload Ranger Indicator

Zig Zag Channels

by VVASILEVSS
1 stars

A Pine v4 overlay that draws a zig-zag between swing highs and lows found with a highest and lowest close test over a set length, default 100. For each leg it adds dotted upper and lower channel lines offset by the largest deviation of price from the leg, and

Indicator v4 Support & resistanceTrend Repaints
Updated 3 months ago · None stated GitHub repository of Zig Zag Channels
1 stars

This is a trimmed version of the Quantum Flow gold indicator that draws smart money zones on the price chart: order blocks, breakers, liquidity pools, equal high and low sweeps and break of structure retests. Signals pass through a hard bias gate, a chop gate,

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Quantum Flow v20 Streamlined

Kalman Trend Levels

by tthanhvu002sgu
1 stars

Applies two Kalman filters, a short one at 50 bars and a long one at 150 by default, to closing price on the price chart. Trend turns up when the short filter is above the long one and down in the opposite case. Labels mark each turn with the close, and boxes

Indicator v5 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of Kalman Trend Levels

STT SR TMA Scale Plan

by majohnst
1 stars

The STT SR TMA Scale Plan is an intraday trading strategy that overlays price charts to execute trades based on Triangular Moving Average (TMA) crossings, VWAP breakouts, and support/resistance levels like daily pivots or Anchored VWAP. Entries are restricted

Strategy v6 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of STT SR TMA Scale Plan

An overlay toolkit for crypto charts combining a volume profile, anchored VWAP, optional EMA lines, a higher-timeframe EMA bias and an order flow proxy from lower-timeframe delta, relative volume and cumulative delta, with price action checks from swing pivots

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v7.3 Auto Performance
1 stars

This compact indicator labels Elliott Wave counts on the price chart. It runs a zig-zag at several depths, chooses the depth that gives the best fit, and applies Elliott Wave rules, with a strict mode that forces an A-B-C count when the rules break. A correcti

Indicator v6 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Mini Elliott Wave 2026-2
1 stars

The Fractal Breakout Strategy identifies key market turning points using a five-bar Williams Fractal pattern. It tracks confirmed high and low fractal levels without repainting to serve as potential breakout entry triggers. When a breakout occurs, trades are e

Strategy v5 BreakoutSupport & resistance
Updated 8 months ago · None stated GitHub repository of Fractal Breakout Strategy (FB Algo)

QQQ Gamma (7DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for QQQ (the Nasdaq-100 ETF) expiring in seven days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline fro

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

A small overlay indicator that tracks buy-side and sell-side liquidity as the highest high and lowest low over a lookback window. When a bar makes a new extreme, it updates a step-line level and places a BSL label above a new high or an SSL label below a new l

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of BSL & SSL - Liquidity Zones
575 stars

This indicator marks ICT liquidity voids on the price chart. It requests open, high, low, close, time, and ATR from a chosen timeframe with lookahead enabled, then draws bullish and bearish voids as boxes and lines. The source can be the high and low, an OTE l

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Void Multi-timeframe

Power Of Index with Trendline Pivots, EMA, and RSI overlays Smart Money Concepts market structure analysis directly on the price chart. It identifies internal and swing market structure shifts, such as Break of Structure and Change of Character patterns. The s

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

This Pine Script indicator identifies liquidity sweeps and confirms signals using a close-back candle pattern directly on the price chart. It tracks recent swing highs and lows over a customizable lookback period. A bullish signal forms when a prior bar sweeps

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Liquidity Sweep + Close-Back Confirmation
46 stars

The OHLC StatMap indicator calculates and plots statistical price levels based on historical open, high, low, and close data across up to four higher timeframes. It overlays statistical anchor lines, period open prices, manipulation levels, and distribution qu

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 8 weeks ago · None stated GitHub repository of OHLC StatMap (Multi-Timeframe)

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
42 stars

This indicator draws a doubled numbered Square of Nine from a user-selected high or low. It fills cells by a chosen price step across several rotations and can show bar counts from that pivot. Pivot highs and lows that form after the anchor are marked on the c

Indicator v5 Support & resistanceScreeners & dashboards
Updated 2 weeks ago · None stated GitHub repository of Doubled Numbered So9 Progression | Regression
29 stars

This indicator detects swing highs and lows to plot bull and bear trendlines directly on the main price chart. It projects valid trendlines forward while applying rules for maximum slope, bar span, and average bar range tolerance to filter out invalid or broke

Indicator v6 TrendSupport & resistance
Updated 2 weeks ago · MIT GitHub repository of Zen Swing Trendlines

Trend Compass 4H

by chris-c-thomas
14 stars

Trend Compass 4H plots a multi-EMA ribbon (10/21/50) along with higher-timeframe reference levels on the price chart. It classifies trend phase into six states and calculates a composite weighted trend score. The script detects RSI and MACD divergences, analyz

Indicator v6 TrendMoving averages
Updated 6 months ago · MIT GitHub repository of Trend Compass 4H

WE-Angels

by davro
10 stars

WE-Angels is an overlay indicator that plots optional exponential and simple moving averages, including 111-day and yearly angel averages, on the price chart. It can show Pi Cycle and inverse Pi Cycle crosses with labels, a dollar-cost averaging view, long or

Indicator v4 Moving averagesSupport & resistance
Updated 5 years ago · None stated GitHub repository of WE-Angels

TPCharts Daily Opens

by TPCharts
10 stars

This indicator draws horizontal open-price levels on the price chart for the current day. It plots a New York midnight open, the daily standard open, a Tuesday 04:00 entry, and a Monday 04:00 OSOK entry, each as a time-anchored line with an optional price labe

Indicator v4 Support & resistanceSessions & time Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of TPCharts Daily Opens
7 stars

Multi-Ticker Anchored Candles overlays up to three user-selected symbols on the price chart as candles anchored to a chosen period, which defaults to the daily timeframe. Each symbol has its own color and an on or off toggle. Optional drawings mark session bre

Indicator v6 Candlestick patternsSessions & time
Updated 3 months ago · None stated GitHub repository of Multi-Ticker Anchored Candles
7 stars

This indicator draws a volume profile on the price chart from recent bars. It accumulates volume until a circulation threshold is reached, then splits that price range into histogram rows and assigns each bar's volume to buy and sell boxes by where the close s

Indicator v4 VolumeSupport & resistance
Updated 3 years ago · MIT GitHub repository of Volume Profile Visible Range
6 stars

The Capital41 Liquidity Sweep Simple indicator detects liquidity sweeps where price breaks a recent swing high or low then closes back inside the range with volume confirmation. It plots triangular shapes below the bar for bullish sweeps and above for bearish

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 Liquidity Sweep Simple

Institutional CRT State Engine is an overlay indicator that combines Direction of Liquidity (DOL) bias detection with Candle Range Theory (CRT) pattern recognition. It monitors key institutional session windows—including CBDR, Asia, London, London Lunch, and N

Indicator v6 SMC / ICT / price actionSessions & time

TheStrat Suite

by 345-strategies
5 stars

TheStrat Suite is a multi-timeframe price-action indicator that implements Rob Smith's TheStrat on the price chart. It classifies bars, marks inside bars, hammers, shooters, Failed 2s and outside bars, and plots magnitude and exhaustion targets plus stop level

Indicator v6 Candlestick patternsSupport & resistance Repaints
Updated 4 days ago · MPL-2.0 GitHub repository of TheStrat Suite

SuperTrend

by SiegerTerpstra
5 stars

This indicator calculates and plots dynamic SuperTrend volatility bands around median price to identify market trend direction. It signals bullish conditions when price stays above the green support line and bearish conditions when price falls below the red re

Indicator v6 TrendVolatility & bands
Updated 9 months ago · None stated GitHub repository of SuperTrend
5 stars

This indicator plots RSI(14) on the price chart along with regular and hidden bullish and bearish divergences. It detects divergences by comparing price highs and lows to RSI values using pivot points with configurable lookback bars. Signals appear as triangle

Indicator v4 Oscillators & momentumDivergence
Updated 2 years ago · None stated GitHub repository of CB RSI (Divergence and OB/OS)
4 stars

This indicator draws an on-screen dashboard table tracking market structure and technical metrics across higher timeframes such as 2-hour and 4-hour intervals. It uses higher-timeframe data to evaluate swing highs, swing lows, RSI levels, support and resistanc

Indicator v5 Screeners & dashboardsSupport & resistance
Updated 4 years ago · None stated GitHub repository of SnagProfit Logic 2H 4H

BTMM OTE Zones

by jcortes254
3 stars

BTMM OTE Zones automatically identifies swing points to project key Fibonacci retracement levels and Optimal Trade Entry (OTE) areas such as 61.8%, 70.5%, and 78.6%. It plots these levels along with Premium and Discount valuation zones directly on the main pri

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BTMM OTE Zones

Price Action Toolkit

by TamTH-Dev
2 stars

The Price Action Toolkit is an indicator that combines several price action tools on the chart. It calculates the ATR with user-defined length and shows it in a table. It plots multiple Kaufman Adaptive Moving Averages (KAMA) with different lengths and sources

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Price Action Toolkit

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