Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 39)

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

Cerebr Wave

by jerryinyang
5 stars

Cerebr Wave is an overlay indicator that combines multi-timeframe Keltner Channels with a Wave Trend oscillator to analyze market structure and momentum. It calculates higher-timeframe and lower-timeframe Keltner Channels alongside Wave Trend crossover signals

Indicator v4 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Cerebr Wave

BTMM-Sessions

by jcortes254
3 stars

BTMM Session Analysis is an indicator that draws session background boxes on the price chart for Asian, London and NY sessions. It tracks Asian session range with midpoint, extension and statistics display. The script detects liquidity sweep levels, stop hunts

Indicator v5 Sessions & timeSupport & resistance
Updated 1 year ago · None stated GitHub repository of BTMM-Sessions

Session Open Line

by piecioshka
2 stars

This indicator draws a horizontal line across each session on the main price chart, anchoring to either the previous session close or the current session open. It displays session price performance through customizable labels showing percentage change, currenc

Indicator v6 Sessions & timeSupport & resistance
Updated 12 days ago · MIT GitHub repository of Session Open Line
2 stars

IFVG Signals Realtime identifies inverted fair value gaps combined with a moving average trend filter to plot trading signals and zone boxes directly on the price chart. It scans lookback bars for bullish and bearish fair value gaps and triggers real-time sign

Indicator v6 SMC / ICT / price actionMoving averages Repaints
Updated 2 months ago · None stated GitHub repository of IFVG Signals Realtime (No Wait)
2 stars

Footprint IQ Pro draws a volume footprint on the price chart from lower-timeframe bars. It aggregates buy volume, sell volume, total volume, and delta at price levels using one-minute, one-second, or one-tick granularity, with automatic or manual tick spacing.

Indicator v6 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of Footprint IQ Pro [TradingIQ]

HTF Candles & Pivots

by itmakesyousick
2 stars

Plots higher-timeframe candle overlays and pivot point levels directly onto the main price chart. It renders higher-timeframe open, high, low, and close levels as custom boxes with optional wicks, alongside traditional pivot points, support and resistance leve

Indicator v5 Support & resistanceCandlestick patterns
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots
2 stars

This indicator plots a zigzag line formed from pivot highs and lows on the price chart. It identifies higher highs, lower lows, higher lows and lower highs by comparing previous points. Support and resistance levels are drawn and updated according to trend dir

Indicator v4 TrendSupport & resistance Repaints
Updated 3 years ago · None stated GitHub repository of PharshK RSI and Zigzag with H/L
2 stars

This overlay indicator identifies pivot highs and pivot lows based on customizable left and right bar lookback settings. It calculates trend slopes and y-intercepts to project dynamic support and resistance trend lines directly onto the price chart. Users can

Indicator v4 Support & resistanceTrend Repaints
Updated 4 years ago · MIT GitHub repository of Trend Levels Indicator (my)

Pivot Point SuperTrend

by kanylbullen
1 stars

This Pine Script strategy plots pivot points and a SuperTrend-style trailing line based on ATR and center line derived from pivots. It calculates trend direction and generates buy and sell signals on trend reversals. Signals are filtered by a user-selected mov

Strategy v5 TrendVolatility & bands Repaints
Updated 8 days ago · None stated GitHub repository of Pivot Point SuperTrend

An overlay indicator that builds opening range levels from a configurable market open time in the Asia/Kolkata timezone, then derives sub-levels and second and third support and resistance lines from the range. It adds 9 and 21 EMAs with crossover arrows and c

Indicator v5 Sessions & timeSupport & resistance
1 stars

Marks the bar where a volume order block zone is first confirmed, at the completion of the moving average crossover, so the marker does not shift to an earlier bar afterwards. A sensitivity bank input selects the six sensitivity lengths, or custom values can b

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

US Momentum Swing Screener is a daily chart overlay indicator for US equities and ETFs. It plots a composite score based on an EMA ribbon (9/21/50/200), RSI and StochRSI momentum, MACD confluence, volume surge detection, ADX trend strength, Bollinger Band posi

Indicator v5 Oscillators & momentumMoving averages
Updated 4 months ago · None stated GitHub repository of US Momentum Swing Screener
1 stars

Identifies rally, base and drop candle sequences and turns them into supply and demand zones on the price chart. It checks four patterns: rally-base-drop, rally-base-rally, drop-base-drop and drop-base-rally. Settings define the averaging length, the size of b

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Rally Base Drop Signals
1 stars

This overlay indicator combines three optional modules on the price chart. Volume weighted bands plot a smoothed trend and ATR-scaled envelopes in cloud or line-only form. The Keltner Hull suite calculates a Hull moving average and Keltner channels from a chos

Indicator v6 Moving averagesVolatility & bands
Updated 7 months ago · None stated GitHub repository of Keltner Hull Swing Profile

RSGAlgo (Range/Support/Gap)

by Tradehook-org
1 stars

RSGAlgo identifies consolidation ranges, support and resistance pivot levels, and price gaps directly on the chart. It calculates range bounds using a percentage threshold over a custom lookback period and highlights consolidation zones with background colorin

Indicator v5 Support & resistanceBreakout
Updated 8 months ago · None stated GitHub repository of RSGAlgo (Range/Support/Gap)

SPX Gamma (DTE:85)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for SPX (the S&P 500 index) expiring in about eighty-five days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-03, produced

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of SPX Gamma (DTE:85)

Harmonic Osc

by JohnsonHsiao
1 stars

The Harmonic Osc indicator plots a z-score oscillator derived from kinetic and potential energy. Kinetic energy uses ROC of price over roc_p while potential energy ratios close to EMA over ema_p. These combine into total energy with weighting factors then stan

Indicator v5 Oscillators & momentumVolatility & bands
Updated 3 years ago · None stated GitHub repository of Harmonic Osc
575 stars

This indicator builds Market Profile Time Price Opportunity (TPO) structures across defined session timeframes directly on the main price chart. It visualizes the Point of Control (POC) and Value Area boundaries using dynamic box drawings. An integrated multi-

Indicator v5 Support & resistanceScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of Market Profile with Screener
219 stars

This indicator plots reference levels for previous daily high and low prices directly on the price chart. It requests daily timeframe data using the security function and plots the offset values as continuous lines, displaying resistance in red and support in

Indicator v4 Support & resistanceSessions & time
Updated 5 years ago · None stated GitHub repository of 昨日高低點標示

9 to Futere

by iamc1oud
56 stars

9 to Futere is an overlay indicator that projects the closing price forward onto future bars while identifying potential trading setups relative to past price action. It plots a forward-offset line based on a customizable candle count set to nine bars by defau

Indicator v4 Support & resistance
Updated 2 months ago · None stated GitHub repository of 9 to Futere
7 stars

Fibonacci Bollinger Bands overlays standard Bollinger Bands along with multiple internal and external Fibonacci ratio levels on the price chart. It calculates a center basis line using a simple, exponential, or weighted moving average, and computes upper and l

Indicator v5 Volatility & bandsSupport & resistance
Updated 4 months ago · None stated GitHub repository of Fibonacci Bollinger Bands
6 stars

Wick Rejection S/R Strategy identifies key support and resistance zones based on candlestick wick rejections and liquidity sweeps directly on the price chart. It calculates potential reversal and breakout retest zones using configurable wick thresholds, level

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

This indicator builds a frozen volume profile over a fixed, half-open timestamp range and draws it on the price chart. It aggregates one-minute source bars into output rows sized by a chosen tick count, marks a configurable value-area percentage, and can plot

Indicator v6 VolumeSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of VP RSD Fixed Range Shelf Diagnostic
5 stars

This indicator identifies Smart Money Concept (SMC) market structure elements, specifically Order Blocks (OB) and Fair Value Gaps (FVG), across current or higher timeframes. It highlights dynamic order blocks and imbalance zones directly on the price chart usi

Indicator v4 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of Cerebrum Order Block and FVG

P-Linear TSI Tar

by gocaman
3 stars

Calculates a True Strength Index (TSI) oscillator modified with a linear regression line and standard deviation bands. It plots the regression line in a separate pane along with static reference levels at zero, 0.8, and -0.8, coloring the line based on slope d

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 2 days ago · None stated GitHub repository of P-Linear TSI Tar

Swiss Knife

by IAMATOMIC001
3 stars

This Pine Script indicator draws fractal levels on the price chart. It computes up and down fractals by evaluating high and low values across multiple bars using custom array functions. The code defines weighted array sums and slices to identify fractal indice

Indicator v5 Support & resistanceTrend
Updated 12 months ago · None stated GitHub repository of Swiss Knife

Skew Weighted Average Price (SWAP) calculates a skew-weighted average price for nuanced analysis of price dynamics and potential trading opportunities. The script determines skew by comparing smoothed positive and negative true ranges derived from price direct

Indicator v5 Volatility & bandsSupport & resistance
Updated 2 years ago · GPL-3.0 GitHub repository of Skew Weighted Average Price (SWAP)

PA Helpers

by TamTH-Dev
2 stars

This indicator overlays price action assistance tools on the main price chart. It calculates and plots up to three exponential moving averages with user-defined lengths, colors, and independent multi-timeframe resolution settings. In addition to moving average

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

Liquidity Location Detector is a TradingView Pine Script indicator that plots fast and slow EMA lines on the price chart along with crossover signals. It detects and draws liquidity zones as colored boxes representing support and resistance levels based on nor

Indicator v6 Moving averagesVolume
Updated 2 months ago · None stated GitHub repository of Liquidity Location Detector

This strategy plots support and resistance from the highest high and lowest low over a lookback window, and can overlay Bollinger Bands on the price chart. It calculates RSI or MFI, optionally from Heikin Ashi prices, and exposes WaveTrend, Laguerre smoothing

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

PineScriptMastery

by Web3Degenerate
2 stars

This educational strategy demonstrates how to implement trailing stop losses in Pine Script. It executes a single mock trade in the chosen direction starting at a user-defined timestamp. The trailing stop is calculated using either Average True Range or percen

Strategy v5 Volatility & bandsSupport & resistance
Updated 2 years ago · None stated GitHub repository of PineScriptMastery

HTF Candles & Pivots

by itmakesyousick
2 stars

Plots higher-timeframe (HTF) candle overlays, pivot point levels, and time division markers directly on the price chart. It renders HTF candle bodies and wicks with configurable fills, alongside traditional pivot calculations, Central Pivot Range (CPR), and ex

Indicator v5 Support & resistanceCandlestick patterns
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots
2 stars

ZigZag (Using Line Array) plots zigzag lines on the price chart to identify swing highs and lows. Bullish and bearish pivots are drawn with green and red lines respectively, while trap zones use orange and lime colors. Labels display pivot labels like HH or HL

Indicator v4 TrendSupport & resistance
Updated 3 years ago · None stated GitHub repository of ZigZag (Using Line Array)

SMC Liquidity Context

by skipp-dev
1 stars

This indicator overlays smart money liquidity analytics directly onto the price chart by reading imported micro-profile data. It displays primary support and resistance levels, zone strength badges, context bias metrics, and sweep or mitigation markers. User i

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 4 days ago · None stated GitHub repository of SMC Liquidity Context

P Ver Plot Offset Series

by GammaExpansion
1 stars

This indicator plots the close price series with an offset determined by bar index modulo 5. The offset creates a shifted visual series for plotting purposes on the chart. It draws the plot directly on the main price chart pane. No trading signals or exits exi

Indicator v6 Support & resistance
Updated 7 days ago · MIT GitHub repository of P Ver Plot Offset Series
1 stars

A strategy that builds a volume profile with delta over a lookback window and trades touches of its point of control and value area high and low levels, long or short. The window, bin count, value area percentage and touch tolerance in ticks are adjustable. Po

Strategy v6 VolumeSupport & resistance
Updated 8 days ago · GPL-3.0 GitHub repository of DeltaFlow Volume Profile Strategy
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
1 stars

US Swing Entry Planner plans swing trading entries on daily price charts using dual entry models: pullback limit buys near the fast EMA and breakout buy-stop orders above pivot highs. It calculates ATR-based stop loss and profit targets along with position siz

Indicator v5 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of US Swing Entry Planner
1 stars

This strategy computes the midpoint of the highest high and lowest low over a configurable lookback and enters long when price crosses above that line and short when it crosses below. An exponential moving average of each bar's high-low range is calculated but

Strategy v5 BreakoutSupport & resistance
Updated 4 months ago · MIT GitHub repository of Corpus Custom Function Breakout

Support & Resistance Basic

by shubhamtaywade82
1 stars

Draws horizontal support and resistance lines on the price chart from confirmed pivot lows and pivot highs. Each level is added only after the pivot length has passed, so it appears with a delay of that many bars. Lines can extend left or right, carry price la

Indicator v6 Support & resistance Archived
Updated 5 months ago · None stated GitHub repository of Support & Resistance Basic

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