Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 46)

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

Snag - No Repaint ES 1m Strategy Candle Bar is an overlay strategy designed for short-term futures trading. It calculates custom price aggregations, pivot levels, and averages across multiple higher timeframes including 3-minute, 5-minute, 8-minute, and 10-min

Strategy v5 BreakoutMoving averages Repaints
Updated 7 weeks ago · None stated GitHub repository of Snag - No Repaint ES 1m Strategy Candle Bar
114 stars

Calculates classic pivot points, support, and resistance levels based on previous bar high, low, and close values. It generates long entry signals when the close price crosses above the central pivot point and short entry signals when it drops below. Position

Indicator v4 Support & resistanceTrend
Updated 1 year ago · None stated GitHub repository of Support and Resistance Strategy
99 stars

The Chande Kroll Stop calculates volatility-based adaptive trailing stops for long and short positions. It determines an initial volatility envelope by subtracting or adding a scaled Average True Range from the highest high or lowest low over a set lookback pe

Indicator v6 TrendVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Chande Kroll Stop (CKSTOP)
46 stars

This indicator calculates and plots the Initial Balance (IB) high, low, and intermediate Fibonacci levels based on a user-defined trading session. It overlays standard deviation channels and mean or median extension levels directly on the price chart. Users ca

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of Initial Balance & Extensions DOW

FairValueGap F004

by ruckard
13 stars

The FairValueGap F004 strategy trades fair value gap fills with automated risk management and Zignaly webhook integration. It calculates the distance between the current price and the opposite end of a recently created gap, entering positions with the expectat

Strategy v5 SMC / ICT / price actionMean reversion
Updated 1 year ago · None stated GitHub repository of FairValueGap F004
3 stars

This indicator calculates and plots the NYSE Cumulative Tick Index as colored candles in a separate pane, with green indicating upward tick trends and red downward trends. Overbought and oversold zones are marked using smoothed averages of high and low tick va

Indicator v5 Oscillators & momentumVolatility & bands
Updated 5 months ago · None stated GitHub repository of CSW Tick Internals

Pro V3 [SMRT Algo]

by IAMATOMIC001
3 stars

Pro V3 [SMRT Algo] is a multi-functional technical analysis overlay that generates buy and sell trading signals based on ATR supertrend logic and linear regression analysis. It offers optional moving average filtering alongside a suite of visual technical over

Indicator v5 TrendSupport & resistance
Updated 12 months ago · None stated GitHub repository of Pro V3 [SMRT Algo]

Sniper Algo

by TamTH-Dev
2 stars

Sniper Algo is a multi-indicator technical analysis suite that plots directly on the main price chart. It integrates Ichimoku Kinko Hyo components, automated support and resistance zones, dual exponential moving averages, and optional buy and sell signals. Use

Indicator v5 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Sniper Algo

FVGDetectorLibrary

by alvinng214
2 stars

This Pine Script library detects and plots Smart Money Concept Fair Value Gaps (FVGs) for both demand and supply zones directly on the price chart. It exports a detection function that accepts configurable filter thresholds ranging from standard three-bar imba

Library v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of FVGDetectorLibrary

Adaptive Market Profile

by regalouisei
2 stars

This indicator plots an adaptive trend channel and market profile directly on the price chart. It calculates linear regression channels either automatically or using a fixed bar period, with support for logarithmic scaling. The script divides the channel into

Indicator v6 TrendVolume
Updated 8 months ago · None stated GitHub repository of Adaptive Market Profile
1 stars

Volume Power Zones {Morindok} is a price-chart overlay that divides a short lookback of candles, including the live bar, into several horizontal price zones. It draws outer boxes and zone boxes for the previous and current windows, and colors each zone as stro

Indicator v6 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Volume Power Zones {Morindok}

Adaptive Pivot Structure

by vedkanani123
1 stars

A pivot and structure indicator on the price chart. It marks swing highs and lows with a configurable length, grades them against ATR, and can draw a zigzag, active horizontal levels, break of structure and change of character events, and missed reversals. A F

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Adaptive Pivot Structure

Hurst Peak Marker V4

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst cycle peak marker. It runs the hl2 price through bandpass filters covering cycles from 1 day to 18 years, then draws labels and lines at detected peaks. Each cycle has separate bandw

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker V4
114 stars

This script plots pivot-based support and resistance levels on the price chart while generating directional trade labels tagged with RSI values to measure momentum at turning points. It overlays multi-timeframe open and close step lines with background fills t

Indicator v4 Support & resistanceOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Support and Resistance Strategy (v.2)
46 stars

Initial Balance Statistical Mapping plots the high, low, and midpoint of a defined initial balance session, such as the first hour of trading, directly on the main price chart. It projects statistical extension levels using fixed percentile multipliers (25th,

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Initial Balance Statistical Mapping

FilledValueGap A006

by ruckard
13 stars

This strategy enters trades in the opposite direction of filled value gaps, operating under the assumption that price action will resume the primary trend after filling a recent gap. It plots directly on the main price chart and supports MA-based trend filters

Strategy v5 SMC / ICT / price actionTrend
Updated 1 year ago · None stated GitHub repository of FilledValueGap A006
6 stars

Apex Protocol - The SMC Engine is a Smart Money Concepts indicator designed for price chart analysis across multiple timeframes. It automatically detects key SMC market structure events including Break of Structure (BOS), Market Structure Shifts (MSS), Order B

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of Apex Protocol - The SMC Engine
4 stars

The indicator calculates classic pivot points from the previous day's high, low, and close using request.security. It plots the central pivot (PP) along with resistance levels R1 R2 R3 and support levels S1 S2 S3 directly on the price chart. The only setting s

Indicator v6 Support & resistance Repaints
Updated 2 months ago · MIT GitHub repository of Pivot Points [trugurpala]

This indicator plots ICT balanced price ranges together with fair value gaps and inversion fair value gaps on the price chart. It marks bullish and bearish BPR zones and optional FVG and IFVG boxes, then tracks mitigation at a proximal, midpoint, or distal lev

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICT Balanced Price Range [TradingFinder] BPR | FVG + IFVG

Adaptive Volume Delta Map

by regalouisei
2 stars

This indicator builds a volume delta map in a separate pane. It requests an anchor timeframe, optionally at seconds or tick resolution, and splits volume into buy and sell sides using bid and ask data when that option is on. It maps volume across price rows, f

Indicator v6 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Adaptive Volume Delta Map
1 stars

Volume Power Zones draws stacked price zones over a recent window of candles, including the live bar, on the price chart. It requests lower-timeframe open, high, low, close and volume to estimate volume inside each zone, then colors zones as strong or weak buy

Indicator v6 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Volume Power Zones {Morindok}

Hurst Peak Marker V5

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane, the fifth revision of a Hurst cycle peak marker. It filters the hl2 price with bandpass filters from 1 day to 18 year cycles and places labels and lines at cycle peaks. Every cycle has its own bandwidth and period

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker V5
257 stars

This indicator marks swing pivot highs and lows on the price chart. It uses left and right bar counts, defaulting to five, to confirm a pivot high and a pivot low. After confirmation it stores the latest high and low and plots them as blue and yellow circles.

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Snag - Swing Pivot HL

Nasdaq Prop Firm Strategy

by TradersPost
228 stars

This strategy uses multiple VWAP anchors and a custom Lull indicator to generate buy and sell signals on the Nasdaq price chart. It plots the VWAP trend line and three VWAP anchors with customizable colors and mitigation methods. The Lull indicator produces si

Strategy v6 TrendSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Nasdaq Prop Firm Strategy

Market Pressure Scale plots two oscillator curves in a separate pane. Setup pressure combines ATR and Bollinger compression, support and resistance proximity, and drying volume. Impulse pressure combines range expansion, volume, and candle body size. A range-c

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 days ago · MIT GitHub repository of Market Pressure Scale [WavesUnchained]
6 stars

This indicator plots Smart Money Concepts structures directly on the price chart. It identifies and tracks break of structure markers, market structure shifts, fair value gaps, order blocks, and session ranges across London, New York, and Asian trading hours.

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of Apex Protocol - The SMC Engine

RR Dangov

by IAMATOMIC001
3 stars

RR Dangov is a price-chart strategy that combines optional confluence modules for entries. The trader selects a primary and a secondary source from Guppy moving averages, VWAP, an opening-range breakout, Supertrend, or CPR, and can add WaveTrend, stochastic, a

Strategy v5 TrendMoving averages
Updated 12 months ago · None stated GitHub repository of RR Dangov
2 stars

This indicator detects and plots multi-timeframe order blocks and wick levels as boxes and labels directly on the main price chart. It tracks bullish and bearish order block zones across selectable intervals ranging from 5-minute charts to monthly charts, with

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICT MTF Order Block Wicks [MK]

Draw - Lines

by Web3Degenerate
2 stars

This educational Pine Script indicator demonstrates how to draw and manage custom line objects directly on the price chart. It calculates line endpoints by connecting specified historical low prices and bar indices or timestamps to current bar highs. The scrip

Indicator v5 Support & resistance
Updated 2 years ago · None stated GitHub repository of Draw - Lines

BFI Reversal

by skipp-dev
1 stars

BFI Reversal is a price-chart indicator that marks reversal and continuation setups from pivot structure, clustered zones, and scored flow. It offers balanced or aggressive early-reversal modes and a continuation-breakout mode, with asset profiles for auto, st

Indicator v6 Support & resistanceVolume
Updated 4 days ago · None stated GitHub repository of BFI Reversal

Williams Fractals

by morindok
1 stars

Williams Fractals marks swing highs and swing lows on the price chart using Bill Williams fractal rules. A high or low is confirmed when neighbouring bars over a chosen number of periods sit beyond it, with extra checks that allow a few equal highs or lows bes

Indicator v6 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Williams Fractals

Lemon Strategy

by GreyssonEnterprises
1 stars

A Pine v4 strategy version of a W and M pattern approach. It looks for reversal shapes in price, OBV and Williams %R, with optional MFI, RSI and directional movement, using a shared maximum width and offset, plus an optional Fibonacci retracement zone over a 2

Strategy v4 DivergenceOscillators & momentum
Updated 3 months ago · MIT GitHub repository of Lemon Strategy
1 stars

A Pine Script v5 indicator in a separate pane, an alternative build of the fifth Hurst peak marker revision. It applies bandpass filters to the hl2 price for cycles from 1 day to 18 years and labels cycle peaks with lines. Bandwidth and period can be set per c

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker V5 Alt

Snag - VWAP

by dearvn
257 stars

This indicator plots a custom Anchored Volume-Weighted Average Price (VWAP) directly on the price chart along with optional standard deviation bands. Users can anchor the VWAP to standard time periods like sessions, weeks, or months, or to corporate events suc

Indicator v5 Moving averagesVolatility & bands Repaints
Updated 7 weeks ago · None stated GitHub repository of Snag - VWAP

Order Blocks - Simple

by TradersPost
228 stars

Order Blocks - Simple calculates pivot highs and lows to identify potential smart money concepts order block zones directly on the main price chart. When price breaks structure relative to past pivot points, the indicator draws colored box zones around the hig

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Order Blocks - Simple

FilledValueGap C002

by ruckard
13 stars

The FilledValueGap C002 strategy opens positions in the opposite direction of filled value gaps, assuming price action will resume the underlying trend after a gap fills. It includes customizable take profit, stop loss based on gap distance or percentage, trai

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FilledValueGap C002

This indicator analyzes impulse momentum, swing pivot structure, and nearby clustered support and resistance zones to project three forward price paths on the chart. It calculates weighted probabilities for direct continuation, pullback continuation, and struc

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 3 days ago · MIT GitHub repository of Market Scenario Projector [WavesUnchained]

Apex Protocol Assistant

by alboogycOdR
6 stars

Apex Protocol Assistant is a Smart Money Concepts indicator designed for session-based trading. It determines market direction using a higher timeframe Exponential Moving Average and highlights Asian range boundaries alongside London and New York killzones. Th

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of Apex Protocol Assistant

SAB PRO Pivot Master

by IAMATOMIC001
3 stars

SAB PRO Pivot Master is a price-chart overlay that builds an RSX-style oscillator from a chosen source and length, then compares price extremes with that oscillator over a lookback window to mark pivots and bullish or bearish divergence. Overbought and oversol

Indicator v5 Oscillators & momentumVolatility & bands
Updated 12 months ago · None stated GitHub repository of SAB PRO Pivot Master

ICT Setup 01 TFlab

by alvinng214
2 stars

This indicator detects Fair Value Gaps using a multiplier factor and validity period. It identifies liquidity sweeps and hunts within or outside defined zones to generate long and short signals. Signals can be configured to fire after a specified number of hun

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICT Setup 01 TFlab

Uabmacd

by avatar-lavventura
2 stars

The script plots a WaveTrend oscillator in a separate pane, calculating TCI as an EMA of a normalized price deviation and its 4-bar SMA. It displays overbought and oversold levels with colored circles for WT1-WT2 crossovers and bar coloring on crossover bars.

Indicator v4 Oscillators & momentumMoving averages
Updated 7 months ago · None stated GitHub repository of Uabmacd
2 stars

This overlay indicator tracks confirmed pivot highs and lows and lets those levels drift by a fraction of a 200-period ATR when no new pivot appears. When price crosses the upper level it extends the structure line, resets the opposite count, and prints a numb

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Angle Market Structure [BigBeluga]

This indicator scans the chart for 101 distinct patterns, including single-bar, two-bar, and multi-bar candlestick patterns, classic chart patterns, and harmonic patterns. It features a complex situation context engine for confluence detection and displays a B

Indicator v5 Candlestick patternsSupport & resistance Repaints
1 stars

Calculates support and resistance breakouts by combining key level testing with smart flow filters and Average Trade Size (ATS) proxy monitoring. The indicator tracks price tests against consolidation ranges, lower timeframe volume, order flow delta, and volum

Indicator v6 BreakoutVolume
Updated 4 days ago · None stated GitHub repository of Breakout Finder Intelligent

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