Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 23)

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

CTLV v2 Liquidity Void Map

by AssetWhisper
1 stars

An overlay indicator that maps price voids as boxes on the chart: three-candle fair value gaps and opening gaps, mostly from a higher timeframe such as four hours, with an option to include chart-timeframe voids. It uses closed higher-timeframe candles, tracks

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of CTLV v2 Liquidity Void Map
1 stars

This indicator calculates a dynamic spine midline and adaptive cycles based on user-selected time intervals, dynamic step changes, or fractal distances. It processes price source movements against configured percentage thresholds to project adaptive cloud boun

Indicator v6 Support & resistanceVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of Bmoon System Golden Cloud
1 stars

A price-chart indicator that reads market structure from confirmed swing highs and lows over an adjustable period. A break of the last swing by candle body or wick sets the trend direction, and a change of character is marked when the direction flips. It colou

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Smart Money Trades Pro

Mxwll Suite

by BrandonFreire
1 stars

A smart money concepts toolkit drawn on the price chart. It marks internal and external market structure with break of structure and change of character labels at selectable sensitivities, swing order blocks, higher-high and lower-low labels, and areas of inte

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Mxwll Suite

v39b Live Adapt

by syrilj
1 stars

A long strategy for one-hour or two-hour charts based on structure and volume-price analysis. Side is set by price being inside the value area and at or above the point of control, with an optional higher-timeframe Heikin-Ashi MACD filter. Position size comes

Strategy v6 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of v39b Live Adapt
1 stars

This indicator clusters confirmed pivots into support and resistance levels, scoring each by touch count and keeping the strongest per side. A signal appears when price tests a level that has held before, closes back away from it with a rejection candle, and a

Indicator v6 Support & resistanceTrend
Updated 2 months ago · Custom licence GitHub repository of Reactive Levels Signal Engine

An overlay indicator that marks confirmed swing highs and lows with arrows and tracks market structure. A bullish or bearish trend, and a change of character, needs at least four alternating confirmed swings, so one contradicting swing does not flip the trend.

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Market Structure Change of Character
1 stars

This indicator implements an ICT and SMC decision engine directly on the price chart. It calculates Fair Value Gap consequent encroachment entry triggers alongside multi-tiered profit targets and structure-anchored stop losses. Trades are filtered through prem

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Quantum Flow - FVG CE + TP Tiers

Session Extension Bands

by abhinaynatraj
1 stars

An indicator that projects how far price has typically extended beyond the prior session's close, using a rolling lookback of up to 500 days. The London projection is anchored to the Asia close and the New York projection to the London close, with boxes and pr

Indicator v6 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Session Extension Bands
1 stars

This indicator identifies market structure and price imbalances directly on the price chart using smart money concepts. It tracks pivot points to label higher highs, higher lows, lower highs, and lower lows, while plotting break of structure and change of char

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

Swing OTE

by jchi18
1 stars

An overlay that detects swing points on a chosen structure timeframe and plots them on any chart. Major and minor swings are independent, each with its own strength setting, structure labels (higher high, higher low and so on) and optional zig-zag. Swings prin

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

An indicator for the price chart that draws intraday levels for Nasdaq futures by combining a volatility-index implied one-day move from the cash open with an initial balance extension. The blend can be a midpoint, maximum extension or minimum conservative mod

Indicator v6 Support & resistanceVolatility & bands
Updated 4 months ago · None stated GitHub repository of Intraday Hold Levels (VIX + IB)

Talons FVG Strategy

by muammeryldrm42
1 stars

A strategy that detects three-candle fair value gaps larger than a set ATR multiple and draws them as boxes on the price chart. It then waits for price to retrace to the gap midpoint and enters with a limit order, optionally only in the direction of a 200 EMA

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Talons FVG Strategy

NFP Open Price Levels

by kvmafthab-pixel
1 stars

NFP Open Price Levels plots price levels associated with Non-Farm Payroll (NFP) news releases directly on the main price chart. The indicator draws horizontal lines and text labels at designated NFP open prices, allowing traders to track key macroeconomic even

Indicator v6 Support & resistanceSessions & time
Updated 5 months ago · Custom licence GitHub repository of NFP Open Price Levels
1 stars

An overlay toolkit for crypto charts that combines a volume profile with value area, an anchored VWAP with deviation bands, EMA 50 and 200 trend lines, a higher-timeframe EMA bias, and an order flow proxy built from lower-timeframe delta, relative volume and c

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v3 Precision

ORB

by onlyspx
1 stars

This indicator marks the opening range of the trading session on the price chart. The range period can be 5, 15, 30 or 60 minutes, or a custom session and time zone for non-US markets. It draws the range high and low, an optional shaded box and midpoint, plus

Indicator v5 Sessions & timeBreakout
Updated 6 months ago · None stated GitHub repository of ORB
1 stars

A futures strategy for 30-minute charts that fades extreme moves away from a daily-reset VWAP. It looks for price beyond a configurable number of standard deviations from VWAP, a short RSI in oversold or overbought territory, and an ADX reading below a maximum

Strategy v6 Mean reversionSupport & resistance
Updated 6 months ago · None stated GitHub repository of AlgoBot VWAP Mean Reversion Strategy

ICT Unicorn Model

by cavaldos
1 stars

Looks for the ICT unicorn pattern, where a breaker block overlaps a fair value gap, using zigzag swings with a default length of 10. Bullish and bearish patterns can be enabled separately, or combined so both appear together. For each setup it draws risk and r

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of ICT Unicorn Model

Fair Value Gaps 2026-2

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-2

BTC ATH Golden Cycle

by ymlee1104
1 stars

This strategy overlays technical indicators and staged dip-buying logic designed for Bitcoin market cycles. It incorporates a geometric mean indicator, multi-timeframe EMA bands, a customizable range filter, and supply and demand zones directly onto the price

Strategy v6 TrendMoving averages
Updated 7 months ago · None stated GitHub repository of BTC ATH Golden Cycle

Supply & Demand Zones

by nexobanks-prep
1 stars

A Pine v5 indicator that draws supply and demand boxes on the price chart. A candle counts as an impulse when its body exceeds a multiple of ATR, and as a base candle when its body is small. Impulse, base, impulse sequences create reversal zones (rally-base-dr

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Supply & Demand Zones

ORB Pullback

by Prat617
1 stars

This strategy identifies an Opening Range based on user-defined Eastern Time session parameters and waits for a breakout. Rather than chasing the initial move, it enters positions when price pulls back to retest the Opening Range boundary with volume and EMA t

Strategy v6 BreakoutMoving averages
Updated 7 months ago · MIT GitHub repository of ORB Pullback

MNQ Gamma (0DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for MNQ (Micro Nasdaq-100 futures, scaled from QQQ options) expiring in the same day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated

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

Sweep + MSS

by Ahmed1926
1 stars

An overlay indicator that detects liquidity sweeps of recent pivot highs and lows and then looks for a market structure shift. A sweep is marked in a chosen colour, optionally filtered by ATR or percentage size, by a trend condition or by a wick-versus-cross r

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of Sweep + MSS

Daily ATR Levels

by sbtnc
1 stars

Plots horizontal levels above and below the daily open based on the Average True Range, drawn on the price chart. The ATR length defaults to 20, and the reference can be yesterday's ATR or today's. Levels change colour once price reaches or passes them. Option

Indicator v5 Volatility & bandsSupport & resistance
Updated 9 months ago · MPL-2.0 GitHub repository of Daily ATR Levels

This overlay indicator draws trendlines on the price chart and marks breakouts with optional targets. It builds a slope from successive changes in a wick or body source over a user-set period, then extends the line by a selected multiple of the bar interval. P

Indicator v5 TrendVolatility & bands
Updated 9 months ago · None stated GitHub repository of Trendline Breakouts With Targets [ Chartprime ]
1 stars

A strategy built around the first regular-session candle of the US day in New York time, together with rejection levels collected from wicks formed during pre-market and after-hours sessions. Rejection levels within a tolerance percentage are grouped. Options

Strategy v5 BreakoutSessions & time
Updated 11 months ago · Custom licence GitHub repository of Breakout Strategy - Step by Step
1 stars

This strategy uses 10, 50, and 200 period EMAs on the price chart to filter for bullish and bearish trend signals with a confirmation candle. It calculates position size based on a user-set risk percentage of equity divided by the distance to a stop price deri

Strategy v6 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Reg T Margin Stock Strategy
1 stars

The script overlays a VWAP line on the price chart and identifies divergences between price close movements and VWAP movements. It computes VWAP using a customizable anchor period such as session or earnings, then checks for divergence over a lookback period c

Indicator v5 Moving averagesSupport & resistance
Updated 1 year ago · None stated GitHub repository of VWAP Divergence dobofulop
1 stars

A Pine v5 overlay, with Spanish labels, that plots smart money concepts on the price chart. It marks market structure breaks, optional structure mapping, strong and weak highs and lows, liquidity sweeps and bubbles, plus the most recent order blocks and breake

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Smart Money Concepts

Fractal Engulfing Candles

by fiji-solutions
1 stars

The Fractal Engulfing Candles indicator identifies bullish and bearish engulfing candlestick patterns occurring near 10-period swing highs or swing lows. It plots green upward triangles below bullish engulfing bars at swing lows and red downward triangles abov

Indicator v5 Candlestick patternsSupport & resistance
Updated 2 years ago · None stated GitHub repository of Fractal Engulfing Candles
1 stars

An overlay that finds pivot highs and lows over an adjustable lookback, stores them, and tries to draw blue trend lines between consecutive pivots. It then marks Buy or Sell labels when a line has been touched within one percent for the chosen number of recent

Indicator v5 Support & resistanceMean reversion
Updated 2 years ago · None stated GitHub repository of Custom Trend Line Indicator

algo-trade-indian

by akash-yellgetti
1 stars

A strategy-type script for the price chart that marks the high, low and midpoint of the first part of each session, set by start hour and minute inputs, with alerts for price crossing above the high or below the low. It also plots VWAP, pivot-based support and

Strategy v5 Sessions & timeSupport & resistance
Updated 2 years ago · None stated GitHub repository of algo-trade-indian
1 stars

This strategy calculates the Supertrend using ATR period and factor inputs, then plots green lines for up direction and red lines for down direction on the price chart. It signals long entries when Supertrend changes to positive and short entries when changing

Strategy v5 TrendMoving averages
Updated 2 years ago · MPL-2.0 GitHub repository of Hello World, Supertrend

This indicator plots Support and Resistance levels on the price chart. Support is drawn as a green line at the highest high over the specified length, and Resistance as a red line at the lowest low. An optional Directional Projection Trend line can be shown us

Indicator v5 Support & resistanceTrend
Updated 3 years ago · MIT GitHub repository of Woverine - Support & Resistance

Turtle Trader

by rocketbrainsurgeon
1 stars

The Turtle Trader indicator merges Donchian channels with trend detection to classify market state. It computes upper and lower channel levels from recent highs and lows, along with stop levels, and plots them directly on the price chart. Green bars signal upw

Indicator v4 TrendVolatility & bands
Updated 5 years ago · GPL-3.0 GitHub repository of Turtle Trader

This indicator combines three technical tools into a single price overlay: dual Exponential Moving Averages (EMA), Parabolic SAR (PSAR), and ATR-derived stop loss levels. It calculates fast and very fast EMAs (defaults 9 and 21) using a custom EMA function, pl

Indicator v4 TrendMoving averages
Updated 6 years ago · GPL-3.0 GitHub repository of EMA-PSAR-ATR Indicators [Numchuck]
330 stars

This strategy divides a fixed price range between an upper and a lower limit into equally spaced grid levels and plots them on the price chart. It marks a buy when price crosses down through a grid and a sell when price crosses up through a grid, using either

Strategy v5 Support & resistanceMean reversion Repaints
Updated 2 months ago · None stated GitHub repository of Grid Bot Simulator [Alorse]
257 stars

This strategy plots VWMA-based Bollinger bands on the 1-minute ES futures price chart for volatility analysis and potential breakout identification. It calculates dynamic long and short stop loss and take profit levels using percentage inputs relative to entry

Strategy v6 Volatility & bandsSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of V1.6 ES - Futures 1M No Repaint

Flip Flop

by harryguiacorn
220 stars

Flip Flop is an overlay indicator that analyzes candle data over a customizable lookback period to track structural market extremes. It locates key levels, including the low of the highest bullish candle and the high of the lowest bearish candle within the win

Indicator v5 Support & resistanceVolatility & bands
Updated 1 year ago · None stated GitHub repository of Flip Flop

3C QFL Mean Reversal

by hasnocool
106 stars

3C QFL Mean Reversal is a strategy based on the Quickfinger Luc (QFL) trading methodology. It identifies breakdown buying opportunities below established price base levels and enters mean-reversion trades. The strategy includes multi-safety order DCA scaling,

Strategy v5 Mean reversionSupport & resistance Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 3C QFL Mean Reversal

Day Trading

by iamc1oud
56 stars

This indicator plots global forex trading sessions, opening ranges, and opening channels for Sydney, Tokyo, Frankfurt, London, and New York markets. It calculates and draws daily reference levels based on Average True Range (ATR) multipliers from the day open

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Day Trading

This trend breakout strategy plots Donchian Channels consisting of upper, lower, and middle bands directly on the main price chart. Long positions enter when price touches the upper channel and pulls back to or below the middle band, placing a stop loss at the

Strategy v6 TrendBreakout
Updated 2 months ago · MPL-2.0 GitHub repository of Donchian Strategy - Dynamic TP, Fixed SL, 1% Risk, Daily Target

Range Box

by milocaetano
48 stars

The Range Box indicator identifies the price bounds over a user-defined period and renders a visual rectangular box on the main price chart. It calculates the highest high and lowest low across a specified lookback length and updates a single dynamic box objec

Indicator v5 Support & resistance
Updated 3 days ago · MIT GitHub repository of Range Box
47 stars

This indicator calculates and plots an Andrews' Pitchfork channel directly on the price chart using geometric projections. It computes a central median line along with parallel upper and lower channel boundaries based on three historical anchor points specifie

Indicator v6 Support & resistanceTrend
Updated 8 months ago · MIT GitHub repository of Andrews' Pitchfork (AP)

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