Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 40)

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

1 stars

Draws supply and demand zones as boxes on the price chart using pivot-based detection and several detection modes, including classic candle patterns judged by body percentage and an ATR-based mode. Settings include ATR length and multiplier, how many levels to

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Supply and Demand Zones 2026-1

Liquidation Heatmap

by ymlee1104
1 stars

The Liquidation Heatmap indicator identifies potential liquidation zones on the price chart by detecting swing highs and lows, then calculates long and short liquidation volumes using selected sources such as volume, range, or their product. It extends bars to

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Liquidation Heatmap
1 stars

This strategy detects bounces from support and resistance levels using swing pivot highs and lows. It waits for the price to touch an identified pivot level within a user-defined percentage tolerance and confirms an entry when a rejection candlestick forms, ch

Strategy v5 Support & resistanceCandlestick patterns
Updated 8 months ago · None stated GitHub repository of Springboard Algo (S/R Bounce)

SPY Gamma (0DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for SPY (the S&P 500 ETF) expiring in the same day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline from

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

ES Professional Fade

by knectardev
1 stars

ES Professional Fade is an overlay strategy aimed at the ES futures contract. This archived file is only a placeholder and contains no entry, exit, or order logic. Its changelog says the version adds opening-range calculation with freeze logic, session-boundar

Strategy v5 Sessions & timeSupport & resistance
Updated 9 months ago · None stated GitHub repository of ES Professional Fade

Turtle Trading Rules

by webcrack4
1 stars

Turtle Trading Rules is an indicator based on the classic Turtle Trading Channels system, customized to generate JSON payloads for the OKX Signal Bot. It calculates price breakout channels using configurable entry and exit lengths (defaulting to 20 and 10 peri

Indicator v5 TrendBreakout
Updated 9 months ago · None stated GitHub repository of Turtle Trading Rules

Hotch v1.02

by rajatjpatel
1 stars

A Pine v4 overlay that finds Williams-style fractals over an adjustable period and combines them with a recent RSI low or high. When a down fractal forms after RSI dipped into one of three bands, up triangles of different shades appear under the bar, offset ba

Indicator v4 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of Hotch v1.02
55 stars

The script identifies market structure key levels by calculating pivot highs and pivot lows across a fixed fifteen-bar lookback and lookahead window. It plots confirmed resistance pivots as red circles and support pivots as green crosses directly on the price

Indicator v6 Support & resistance Repaints
Updated 6 months ago · Apache-2.0 GitHub repository of Support & Resistance Levels

6-9 session & levels

by TamaraKGreen
46 stars

This indicator marks a user-defined session, defaulting to 06:00-09:00 in the America/New_York time zone, and draws that session's high-low range on the price chart. It can show a session anchor, a session open line, a shaded range box, and horizontal levels a

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of 6-9 session & levels
29 stars

This indicator marks bars whose range exceeds a multiple of the average bar range, calculated as a simple average of prior ranges. On those bull or bear bars it draws the high-low midpoint and the midpoint between the close and the opposite extreme, as dotted

Indicator v5 Support & resistance
Updated 2 weeks ago · MIT GitHub repository of Zen Big Bar Midpoints

LunarTick VWAP

by lunarticktrading
7 stars

This overlay indicator plots a volume-weighted average price on the price chart, anchored to a chosen period such as the session, week, month, or longer calendar and corporate events. It draws up to three standard-deviation bands around the VWAP, with multipli

Indicator v6 VolumeVolatility & bands Repaints
Updated 2 weeks ago · None stated GitHub repository of LunarTick VWAP
6 stars

The Capital41 Structure Swings v3 indicator tracks market structure on the main price chart using pivot detection. It identifies swing highs and swing lows based on a user-defined pivot length, plotting labels and horizontal dotted level lines at active swing

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 months ago · MIT GitHub repository of Capital41 Structure Swings v3
6 stars

This trading strategy detects key support and resistance zones on the price chart by identifying candle rejection wicks over a customizable lookback period. It filters potential trades using an Exponential Moving Average (EMA), Change in Status/Direction (CISD

Strategy v5 Support & resistanceTrend
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy
4 stars

This indicator is a live strategy scanner for cryptocurrency pairs. It runs six strategies on the current chart, tracks their wins and losses, and rates them to show the best one for this pair and timeframe. It uses ATR for adaptive TP/SL, auto-scales based on

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 days ago · None stated GitHub repository of Crypto Pair Selector v2 STEPFUN

Noob's Indicators

by InNoobWeTrust
4 stars

This Pine Script indicator plots multiple exponential moving averages in a separate pane for technical analysis. It calculates Elliott wave EMAs using Fibonacci wave counts of 34 and 89, plus 200-session and golden ratio lines. Additional Pythagorean cloud lev

Indicator v5 Moving averagesSupport & resistance
Updated 2 days ago · None stated GitHub repository of Noob's Indicators
4 stars

This indicator tracks the high and low of a user-defined intraday session and plots them as broken horizontal lines on the price chart. It can also show the previous session extremes and places a label at each session start. The session window, previous-level

Indicator v5 Sessions & timeSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Session High/Low Indicator [Lab]
3 stars

This multi-functional technical indicator overlays custom volume profile mapping and Smart Money Concepts tools directly on the main price chart. It identifies and plots order blocks, breaker blocks, market structure breaks, and range levels alongside support

Indicator v5 VolumeSMC / ICT / price action
Updated 12 months ago · None stated GitHub repository of VP(Maps) + OB + S&R + GGSHOT + HH

PA Helpers

by TamTH-Dev
2 stars

PA Helpers is a price action visual tool that plots multi-timeframe exponential moving averages and psychological round price levels directly on the price chart. It calculates up to three customizable EMAs with individual timeframe, period, and color controls.

Indicator v6 Moving averagesSupport & resistance Repaints
Updated 6 weeks ago · None stated GitHub repository of PA Helpers

The HTF Candle Volume Thermometer indicator renders higher-timeframe candles on the price chart overlaid with volume heatmaps. It calculates internal volume distribution across price bins defined by ATR step sizes. Bins with higher trading activity are highlig

Indicator v6 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of HTF Candle Volume Thermometer [ChartPrime]

The strategy combines support and resistance levels with RSI or MFI momentum oscillators, optional WaveTrend indicators, and Bollinger Bands filters. Strategy logic evaluates trade signals on either Heikin Ashi or standard candle data to execute DCA entries wi

Strategy v5 TrendSupport & resistance
Updated 1 year ago · None stated GitHub repository of Support and Resistance with RSI and Trend Filter

ZigZag - lucemanb

by WISEPLAT
2 stars

This indicator draws a ZigZag on the price chart by connecting recent swing highs and lows. It searches the last Depth bars for the highest high and lowest low, then keeps a pivot only when price has moved beyond the Deviation setting in minimum ticks. A red l

Indicator v4 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of ZigZag - lucemanb
1 stars

A strategy that scores signals from ten sources: RSI, MACD, Bollinger Bands, head and shoulders, wedges, multiple tops and bottoms, candlestick reversals, pivot support and resistance, volume spikes and an EMA ribbon filter. A trade needs a minimum pattern sco

Strategy v5 Oscillators & momentumCandlestick patterns
Updated 2 days ago · None stated GitHub repository of Fall Strategy 10-Pattern Engine

A strategy that estimates bull, bear and neutral state probabilities from recent price transitions and trades only when they pass minimum levels. It adds previous day high and low breakout entries and filters, swing liquidity levels, and an optional 50 to 61.8

Strategy v6 Support & resistanceBreakout Repaints
Updated 8 days ago · GPL-3.0 GitHub repository of Dynamic Markov Capacity PDH/PDL Liquidity Retracements
1 stars

An overlay indicator that records the high and low of an opening range from a configurable open time and draws high, low and average lines to the session end. Optional toggles add sub-levels, second and third support and resistance lines and rounded buy strike

Indicator v5 Sessions & timeSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of OR Levels v10 Formula Toggle

Fractals + Reflection

by morindok
1 stars

This overlay indicator identifies high and low fractal pivots using a customizable period setting. Users select two anchor points directly on the chart to establish a central trendline. The script then projects reflected price and time levels relative to this

Indicator v6 Support & resistanceTrend
Updated 7 weeks ago · None stated GitHub repository of Fractals + Reflection
1 stars

Marks the bar where a volume order block zone is first confirmed, which is when the moving average crossover completes, rather than any earlier bar that would shift later. A sensitivity bank input selects the set of six sensitivity lengths, or custom values ca

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Birth Bar Study v1.1 Tick

Traditional Pivot Points

by shubhamtaywade82
1 stars

Calculates daily pivot levels from the previous day's high, low and close and draws them on the price chart as lines with price labels. The pivot type can be Traditional, Fibonacci or Camarilla, each giving a central level plus three supports and three resista

Indicator v6 Support & resistance Archived
Updated 5 months ago · None stated GitHub repository of Traditional Pivot Points
1 stars

Draws supply and demand zones as boxes on the price chart using several detection modes, including classic candle patterns judged by body percentage and an ATR-based mode. Settings include a long ATR length with a multiplier, how many levels to display, maximu

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Supply and Demand Zones 2026-2

Liquidation Heatmap

by ymlee1104
1 stars

The Liquidation Heatmap indicator detects potential liquidation zones by scanning recent price swings and calculating volume or range-based weights over a configurable lookback period. It overlays boxes and labels on the price chart to highlight long and short

Indicator v6 Volatility & bandsSupport & resistance
Updated 7 months ago · None stated GitHub repository of Liquidation Heatmap

SPY Gamma (1DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for SPY (the S&P 500 ETF) expiring in one day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline from an o

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

This technical indicator plots multiple analytical components directly on the price chart, combining Bollinger Bands, moving averages, relative strength index calculations, and average true range measurements. It generates buy and sell signals based on volatil

Indicator v5 TrendOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Ultimate Buy and Sell Indicator

Function - Linear Regression

by ricardosantos79
261 stars

This indicator fits a linear regression through stored pivot highs and lows and draws the resulting channel on the price chart. A function returns predicted values, maximum and minimum deviations, and the average absolute deviation. Confirmed two-bar pivots up

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Function - Linear Regression

Linefill demo

by be-thomas
65 stars

This indicator draws a channel between the most recent confirmed pivot highs and pivot lows on the price chart. It stores the last two pivot high prices and the last two pivot low prices, then, on the last confirmed historical bar, extends a line through each

Indicator v5 Support & resistance
Updated 6 days ago · GPL-3.0 GitHub repository of Linefill demo
47 stars

The Donchian Channels indicator plots the middle basis line as the average of the high and low over the user-defined period. It also draws the upper band as the highest high and the lower band as the lowest low across the same period on the price chart. The ma

Indicator v6 Volatility & bandsSupport & resistance
Updated 8 months ago · MIT GitHub repository of Donchian Channels (DCHANNEL)

8020 System Indicator

by TamaraKGreen
46 stars

This overlay indicator draws 80/20 price levels and optional 40-point zone bands on the price chart. It marks repairs, cross sections, and forks with optional letter labels, and can highlight confluence when those marks sit near a level. Separate options shade

Indicator v6 Support & resistanceCandlestick patterns
Updated 8 weeks ago · None stated GitHub repository of 8020 System Indicator

Zen Gaps v5.0

by Zen-Tim
29 stars

This indicator draws colored boxes on the price chart to highlight gaps between bars. It detects bullish gaps when the current low exceeds the prior bar's high and bearish gaps when the current high falls below the prior bar's low. Strong gaps receive extra em

Indicator v5 Support & resistanceCandlestick patterns
Updated 2 weeks ago · MIT GitHub repository of Zen Gaps v5.0

Calculates directional setup scores by evaluating market structure, Fibonacci retracement location, and momentum response metrics. It analyzes confirmed price pivots, movement efficiency, ATR-adjusted Fibonacci zones, and oscillator divergences across user-sel

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Directional Probability Engine [WavesUnchained]
6 stars

This strategy detects key support and resistance zones based on candle wick rejections and liquidity sweeps. It filters trade setups using an exponential moving average and optional higher-timeframe trend confluence, while also permitting high-confidence count

Strategy v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy v3

Elton's Kimi Claw

by eltonaguiar
4 stars

This indicator calculates a composite volume score using relative volume ratios, short-term volume trends, moving averages, and spike thresholds. It plots buy and sell signals directly on the price chart alongside Average True Range based take-profit and stop-

Indicator v5 VolumeVolatility & bands
Updated 2 days ago · None stated GitHub repository of Elton's Kimi Claw
4 stars

The Smart Money Concepts Analyzer draws key price action zones directly on the main price chart. It identifies bullish and bearish order blocks using historical candle sequences, highlights fair value gaps exceeding a user-defined percentage threshold, labels

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Smart Money Concepts Analyzer [Lab]
3 stars

Consecutive Candle Levels identifies sequences of consecutive bullish or bearish candles to establish price ranges and project horizontal extension levels directly onto the main price chart. The indicator calculates customizable Fibonacci ratio levels, upper a

Indicator v5 Support & resistanceCandlestick patterns
Updated 5 months ago · None stated GitHub repository of Consecutive Candle Levels

This indicator identifies and plots volumetric order blocks alongside trend strength on the price chart. It highlights recent bullish and bearish order blocks using full candles or custom length coordinates, displaying internal buy and sell activity, mid-lines

Indicator v5 SMC / ICT / price actionVolume

ZigZag Channel

by WISEPLAT
2 stars

Calculates ZigZag swing points, classifies market structure pivots into higher highs, lower highs, higher lows, and lower lows, and computes swing length ratios. It renders ZigZag lines, pivot labels, and channel bands directly on the main price chart. User se

Indicator v4 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of ZigZag Channel

This indicator combines three analysis tools into a single chart overlay: a custom trend signal script, a ZigZag indicator, and a swing high and low pattern detector. It calculates dynamic support and resistance thresholds based on high-low price ranges and a

Indicator v4 TrendSupport & resistance Repaints
Updated 4 years ago · MIT GitHub repository of Trendsignal + Zig Zag + Swing Highs/Lows Candle Patterns

Pivot Levels

by jayadevrana
1 stars

Pivot Levels identifies key structural high and low turning points on the price chart using customizable left and right bar confirmation periods. It calculates pivot highs and lows to plot horizontal resistance and support lines directly on the main chart pane

Indicator v6 Support & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of Pivot Levels
1 stars

An indicator that draws a Dynamic P0 line on the price chart: a rolling volume-weighted equilibrium price computed over a window set in minutes, with a value area band around it. A dashboard table scores acceptance and rejection from P0 migration, new-location

Indicator v6 VolumeScreeners & dashboards
Updated 8 days ago · GPL-3.0 GitHub repository of Dynamic P0 Architecture Dashboard

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