Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 20)

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

2 stars

Calculates standard Darvas Box high and low levels based on price pivots over a specified lookback period. The indicator identifies box formations and plots shape markers above and below bars representing the top and bottom boundaries of the active box on the

Indicator v6 Support & resistanceBreakout
Updated 1 year ago · MPL-2.0 GitHub repository of Darvas Box - Last Box Only

Hazzones

by ashwagamma
2 stars

Hazzones identifies and plots supply and demand zones directly on the price chart using consecutive Heikin Ashi candle runs. It automatically detects support and resistance flip zones when demand turns into supply or vice versa, while tracking zone mitigation

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

Tik 1 JPY

by keiru517
2 stars

Tik 1 JPY is a visual reference indicator that plots horizontal level grid lines, midpoint lines, and sub-interval lines tailored for Japanese Yen currency pairs. Users can configure the start and end price levels, which default to 130 and 165. It draws solid

Indicator v6 Support & resistance
Updated 1 year ago · None stated GitHub repository of Tik 1 JPY
2 stars

PriceCatch Opensource CPR calculates and displays Central Pivot Range levels based on daily high, low, and close values. It plots colored boxes and channel boundaries directly on the price chart to visualize current and previous daily CPR zones. The indicator

Indicator v6 Support & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of PriceCatch Opensource CPR

Mc War v2

by tuanmcwar
2 stars

This indicator plots market structure elements directly on the price chart. It detects swing points, swing high and low levels, and breaks of structure or change of character labels (BOS and CHoCH). It also identifies and draws bullish and bearish swing order

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of Mc War v2

HTF Candles & Pivots

by itmakesyousick
2 stars

This indicator draws higher-timeframe candles and classic pivot levels on the price chart. Users choose an automatic or fixed higher timeframe and a color theme, then show or hide the candle and the pivots. Candle display can emphasize open and close, high and

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

Multi Level Zigzag

by WISEPLAT
2 stars

This indicator calculates and plots up to four hierarchical ZigZag levels directly on the price chart to map swings and market structure across different sensitivities. Each level can be toggled and configured with custom lengths and colors. Settings allow use

Indicator v5 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of Multi Level Zigzag
2 stars

This indicator identifies Quasimodo Level (QML) market structure patterns on the price chart using a ZigZag algorithm. It includes optional directional trend filtering using dual exponential moving averages, an ADX threshold filter to verify trend strength, an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of QML Indicator Only w/filters [upslidedown]

This indicator plots volume-based support and resistance zones on the price chart. It analyzes multiple timeframes including current, 4-hour, and daily to identify potential reaction levels. The script draws horizontal lines and shaded zones for resistance and

Indicator v4 Support & resistanceVolume
Updated 3 years ago · MIT GitHub repository of Volume-based Support & Resistance Zones

OHLC RTH & ON Sessions

by ClimberMel
2 stars

This indicator tracks and plots Regular Trading Hours (RTH) and Overnight (ON) key price levels directly on the price chart. It displays high, low, open, and close prices for current and previous trading sessions, allowing traders to monitor important intraday

Indicator v5 Sessions & timeSupport & resistance
Updated 4 years ago · MIT GitHub repository of OHLC RTH & ON Sessions

Impulse-Orders

by DaniilOkrug
2 stars

The Impulse-Orders strategy detects impulse up and down movements on the price chart by checking for specific candle patterns relative to Fibonacci retracement levels. It tracks impulse starts and ends, confirming when the move reaches a user-defined percentag

Strategy v5 Candlestick patternsSupport & resistance
Updated 4 years ago · MIT GitHub repository of Impulse-Orders

RSI powerzone

by kat3samsin
2 stars

The RSI powerzone strategy plots the 4-period RSI in a separate pane along with horizontal levels at 30 and 55. It identifies an uptrend using a series of simple moving averages on the close price. The strategy enters long positions when the uptrend condition

Strategy v4 Oscillators & momentumMoving averages
Updated 5 years ago · MIT GitHub repository of RSI powerzone
1 stars

This indicator identifies institutional liquidity pool zones using swing high and low pivots adjusted by ATR width. It confirms liquidity sweeps through multi-layer criteria, including volume spikes, wick rejections, absorption bars, and swing failure patterns

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · None stated GitHub repository of Shark Hunt | Anonycryptous
1 stars

Market Lab is a static market workbench for inspecting OHLCV paths, cost anchors, volatility bands, formula research outputs, and candidate order plans in one compact interface. It features three-panel layout with instrument navigation, main chart, and facts a

Indicator v6 Support & resistanceVolatility & bands
Updated 2 days ago · AGPL-3.0 GitHub repository of DEPRECATED - use canonical Market Lab
1 stars

A separate-pane indicator that measures how far price sits from a weekly midline (average of a weekly EMA and SMA), scales the gap by daily and weekly ATR ratios, and converts it into a heat value from 0 to 100. Columns are coloured by heat level and faded whe

Indicator v6 Volatility & bandsSupport & resistance
Updated 3 days ago · None stated GitHub repository of Structural Heat Map (V3)

J14-E1 Adv

by moonyroy
1 stars

The j14-E1 adv indicator plots a dynamic ZigZag on the price chart by detecting swing highs and lows. It draws orange and aqua trend lines marking pivot points, with boxes showing candle shadows and bodies. The script identifies potential trend shifts via CHoC

Indicator v6 TrendSupport & resistance Repaints
Updated 6 days ago · None stated GitHub repository of J14-E1 Adv

Master Trading Strategy

by MuhammadMuhamid
1 stars

A heavily modular long strategy for crypto spot pairs in which every filter and exit has its own switch. Entries centre on pivot-based support and resistance across several timeframes with retest confirmation, plus optional moving average, volume, ATR spike, s

Strategy v6 Support & resistanceTrend
Updated 13 days ago · None stated GitHub repository of Master Trading Strategy

DAY-5MIN-L&H v2

by 7b809
1 stars

An overlay indicator that must run on the one-minute chart and raises an error otherwise. It captures the high and low of an opening range at a set market open time, then draws lines at the high, low and average, plus entry levels placed beyond the range by th

Indicator v5 Sessions & timeSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of DAY-5MIN-L&H v2

Opening Range Breakout

by JACKZHOU0521
1 stars

The Opening Range Breakout indicator identifies high, low, and midpoint levels established during a customizable initial window of the trading day. Once the opening window ends, the range boundaries are frozen and drawn directly on the main price chart. The sc

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

This overlay indicator tracks the high and low of four SMC/ICT killzones in America/New_York time: the Asian range, London open, New York AM, and London close. It draws each session’s high and low on the price chart with separate colors and line widths, and us

Indicator v5 Sessions & timeSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of Session Highs and Lows Indicator (SMC Sessions, DST-safe)
1 stars

Bitmoon System indicator plots mirror levels, symmetric candles, and detects fractal patterns on the price chart. It calculates central mirror, P1, and P2 mirror levels, plus symmetric candle levels based on user inputs for periods and times. Up and down fract

Indicator v6 Support & resistanceCandlestick patterns
Updated 7 weeks ago · None stated GitHub repository of Bitmoon System Morindok

Stock Stats

by peterdmv
1 stars

Stock Stats displays a customizable single-row chip dashboard directly on the price chart. It presents key fundamental and technical metrics including market capitalization with size categorization, shares float, ADR%, ATR, low-of-day distance, 52-week high, V

Indicator v6 Screeners & dashboardsVolatility & bands
Updated 2 months ago · MPL-2.0 GitHub repository of Stock Stats
1 stars

Draws volume order blocks on the price chart with three tiers of asymmetric volume signals and a cooldown. A proximity marker fires when a high-volume bar, a displacement candle and a tier signal occur within an adjustable number of bars of each other. Rolling

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

ZigZag Volume Profile

by BrandonFreire
1 stars

An indicator for the price chart that draws a ZigZag swing channel and builds a volume profile along each swing. Volume at each sloped price level is summed into a set number of bins and drawn as coloured horizontal bars with percentage labels, and the bin wit

Indicator v6 VolumeSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of ZigZag Volume Profile
1 stars

A strategy that uses the underlying stock as a timing proxy for buying around 21-day at-the-money call options. A symbol profile preset selects gates and a higher timeframe. Entries depend on a volume profile value area, a swing VWAP, MACD Heikin-Ashi and a sq

Strategy v6 Oscillators & momentumVolume
Updated 2 months ago · None stated GitHub repository of v29 Coldstart Options Proxy
1 stars

The Gold Trend indicator identifies market structure using swing highs and lows to categorize trends into uptrends, downtrends, or ranges directly on the price chart. It plots HH, HL, LH, and LL labels alongside optional zig-zag lines, background trend tinting

Indicator v5 TrendSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Gold Trend (Market Structure)
1 stars

This indicator plots Solana options Max Pain strike levels from Deribit directly on the price chart. It renders horizontal dashed lines extending from the current bar to each contract's settlement time at 08:00 UTC. Line thickness dynamically scales with total

Indicator v6 Support & resistance
Updated 3 months ago · MIT GitHub repository of SOL Max Pain (Deribit)

Fusion Cipher SR Scalper

by shahzaib-574
1 stars

This indicator plots intraday support and resistance tools on the main price chart. It calculates a daily-reset VWAP with ATR bands, daily high/low/mid levels, previous day extremes, and pivot-based support/resistance zones. It also identifies long or short da

Indicator v6 Support & resistanceScalping
Updated 3 months ago · None stated GitHub repository of Fusion Cipher SR Scalper
1 stars

The Gamma Exposure Levels indicator plots horizontal levels on the price chart based on user-pasted GEX data. It displays All-Expiry HVL, Call Resistance, Put Support, 0DTE HVL, Call, Put, Zero Gamma, Max Pain, Expected Move, and Flip Zones. Users can enable o

Indicator v6 Support & resistanceVolatility & bands
Updated 4 months ago · None stated GitHub repository of Gamma Exposure Levels [BackQuant]
1 stars

The SMC Market Structure Indicator calculates and plots Smart Money Concepts elements directly on the price chart. It identifies market structure points including Higher Highs, Higher Lows, Lower Lows, and Lower Highs, alongside Break of Structure and Change o

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 months ago · None stated GitHub repository of SMC Market Structure Indicator
1 stars

An overlay that looks for a three-step reversal: a liquidity sweep beyond a recent swing, a sharp snap-back measured in ATR multiples, and an inverted fair value gap that price retraces into and respects. When all three line up it prints a buy or sell dot and

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of Sweep + IFVG Graded Reversal

NTouch Zones

by riegodavid-git
1 stars

An overlay indicator that builds support and resistance rectangles from pivots found inside a morning window in Philippine time, by default 06:00 to 07:30. Pivot highs and lows that cluster within a tolerance based on a fraction of the ATR become a zone once t

Indicator v6 Support & resistanceSessions & time
Updated 4 months ago · None stated GitHub repository of NTouch Zones

OrderBook For Success

by unemployedrabi
1 stars

Builds a volume-by-price view from the chart's own candles and draws it as horizontal boxes around the current price. Volume is accumulated into price levels sized from the first candle's range, and the boxes are shaded red below and green above the current le

Indicator v5 VolumeSupport & resistance
Updated 4 months ago · MIT GitHub repository of OrderBook For Success

This strategy combines multi-timeframe trend bias, hourly liquidity sweeps, and lower-timeframe inversion fair value gap confirmations. It determines daily trend direction using historical daily candles, checks for a 1-hour liquidity sweep and reclaim against

Strategy v6 SMC / ICT / price actionTrend Repaints
Updated 4 months ago · MIT GitHub repository of Doc02 H1 Liquidity Sweep IFVG - Project Adapted

A price-chart overlay for gold that extends the earlier version of this scalping tool with stricter confirmation rules. It combines pivot market structure, liquidity sweeps, candlestick confirmation, breakout and retest logic, a higher-timeframe filter and a q

Indicator v5 SMC / ICT / price actionSupport & resistance

Talons EQH/EQL Sweep

by muammeryldrm42
1 stars

This SMC strategy detects EQH and EQL levels from swing pivots using ATR tolerance. It plots EQH as red circles and EQL as green circles on the price chart. Long signals trigger on sweeps where price closes above open after touching EQL on the prior bar. It en

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Talons EQH/EQL Sweep
1 stars

An all-in-one Smart Money Concepts indicator that identifies market structure breaks and higher-timeframe bias. It calculates Break of Structure (BOS) and Change of Character (CHoCH) using pivot swing detection, auto-draws Supply and Demand zones based on ATR

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · Custom licence GitHub repository of Market Structure & Daily Bias SD Pro v2

Crypto AMT Toolkit v2

by latifangren
1 stars

This indicator provides a comprehensive crypto trading toolkit on TradingView. It plots Volume Profile boxes using customizable lookback bars, row count, and value area percentage. VWAP lines with standard deviation bands are drawn alongside optional bands. Or

Indicator v6 VolumeVolatility & bands
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v2

SahanX v1

by sahansbandara
1 stars

SahanX v1 is an overlay indicator that draws smart money concepts on the price chart. It marks swing market structure with optional mapping lines, bubbles, sweep markers and candle colouring, and adds volumetric order block zones with buy and sell activity, op

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of SahanX v1

SR Levels

by onlyspx
1 stars

SR Levels visualizes custom support and resistance price zones directly on the main price chart. It parses user-defined CSV text input containing zone labels, target symbols, and price bounds for SPX, SPY, and ES contracts. When the current symbol matches the

Indicator v6 Support & resistance
Updated 6 months ago · None stated GitHub repository of SR Levels

EQH / EQL Detector

by cavaldos
1 stars

Detects equal highs and equal lows on the price chart, a common liquidity concept in smart money analysis. Pivots are confirmed over a set number of bars, and a threshold scaled by a 200-bar ATR decides how close two levels must be. Historical mode keeps every

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of EQH / EQL Detector

Fair Value Gaps 2026

by mikeyhu70
1 stars

This indicator finds Fair Value Gaps, the price gaps left between three consecutive candles, and draws them as zones on the price chart. Up to three sets can be shown: two on the chart or a higher timeframe and one from a lower timeframe. Each set has its own

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Fair Value Gaps 2026

ICT v4-weinkya Strategy

by tndg16-bot
1 stars

This strategy implements an Inner Circle Trader (ICT) framework by identifying order blocks, fair value gaps, liquidity pools, and optimal trade entry (OTE) zones. It computes a confluence score requiring a user-defined minimum threshold alongside 200 EMA and

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of ICT v4-weinkya Strategy

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