Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 58)

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

KC Combo SR v5.0

by nishpa800
1 stars

Combines bullish and bearish signals in one price chart overlay, built on a Keltner Channel, an ATR supertrend and several volume and displacement detectors. Markers flag candles where those detectors line up with a support or resistance structure. Version 5.0

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of KC Combo SR v5.0
1 stars

Detects pivot points and draws horizontal support and resistance lines on the price chart. The pivot length, the accuracy tolerance and the timeframe used for assessment can each be automatic or manual. Line widths for active and broken lines can be set, broke

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of Support and Resistance (k)
6 stars

This indicator draws six New York killzone boxes on the price chart, covering morning, afternoon, and opening windows plus their extended ranges. It detects order blocks, fair value gaps, and change-in-state-of-delivery marks on a selectable timeframe, and dra

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Multi-Killzone

LinReg Bands

by g-moe
3 stars

LinReg Bands calculates a linear regression channel and multiple deviation bands over a user-defined length directly on the price chart. It determines the linear regression slope using weighted and simple moving averages, then projects three configurable upper

Indicator v5 TrendVolatility & bands Repaints
Updated 5 months ago · None stated GitHub repository of LinReg Bands

Gann Square of 144

by regalouisei
2 stars

This indicator overlays a Gann Square of 144 grid on the price chart for technical analysis. Users define a starting date, manual min and max price levels, and can enable automatic price and bar adjustments. The grid features vertical divisions, optional extra

Indicator v5 Support & resistanceTrend
Updated 8 months ago · None stated GitHub repository of Gann Square of 144
1 stars

This indicator projects price and time levels using Fibonacci golden ratio scaling from an interactively selected anchor candle. Once a user selects a starting time, the script identifies its mid-price and plots vertical time lines into both the past and futur

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Magical Ruller by BITMOON618

KC Combo SR v5.1

by nishpa800
1 stars

Combines bullish and bearish signals in one price chart overlay, built on a Keltner Channel, an ATR supertrend and several volume and displacement detectors. Markers flag candles where those detectors line up with a support or resistance structure. Version 5.1

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of KC Combo SR v5.1
1 stars

Calculates a VWAP-based pivot on a higher timeframe, either chosen automatically or set by the user, and extends it with up to fifteen Fibonacci multiples as horizontal levels on the price chart. Settings cover VWAP length, how many past periods to plot, line

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of VWAP Expanded Pivots Alt2

Test 026 Lvl2

by ricardosantos79
261 stars

Test 026 Lvl2 is an experimental overlay indicator designed to plot dynamic structural trend lines. It tracks local extreme high and low price points based on candle relationships and direction shifts, dynamically updating pre-allocated line drawings on the ma

Indicator v4 Support & resistanceTrend
Updated 4 years ago · None stated GitHub repository of Test 026 Lvl2

Gaps Profile [vnhilton]

by regalouisei
2 stars

Gaps Profile draws boxes on the price chart for price gaps that meet a minimum absolute percentage size. It can place the profile to the left or the right of price and highlight the largest or newest up or down gap, or highlight none. Color themes include a si

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Gaps Profile [vnhilton]

This overlay indicator builds exponential harmonic price levels from a resonance factor that combines the golden ratio, pi and a fractal multiplier. On confirmed bars it maps the close to the nearest level, records upward and downward transitions in a Markov c

Indicator v5 Support & resistanceAI / machine learning

KC Combo SR v5.2

by nishpa800
1 stars

Combines bullish and bearish signals in one price chart overlay, built on a Keltner Channel, an ATR supertrend and several volume and displacement detectors. Markers flag candles where those detectors line up with a support or resistance structure. Version 5.2

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of KC Combo SR v5.2
1 stars

Calculates a VWAP-based pivot on a higher timeframe, either chosen automatically or set by the user, and extends it with up to fifteen Fibonacci multiples as horizontal levels on the price chart. Settings cover VWAP length, how many past periods to plot, line

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of VWAP Expanded Pivots Alt2

This overlay indicator scans confirmed swing pivots for non-overlapping five-point Wolfe Wave wedges. It scores each candidate from 0 to 100 using contraction, channel traversal, apex, the fifth-point zone, risk/reward, timing, symmetry, and leg purity, then p

Indicator v6 Support & resistance
Updated 2 days ago · MIT GitHub repository of Wolfe Wave Scanner Pro [WavesUnchained]
3 stars

Calculates and plots multi-timeframe linear regression channels with customizable deviation bands directly on the price chart. The indicator overlays channels from multiple higher timeframes, ranging from intraday minutes to daily charts. Users can independent

Indicator v5 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of LinReg MTF More TFs

Grid Bot Simulator

by regalouisei
2 stars

Calculates evenly spaced grid levels across a user-defined price range bounded by upper and lower limits. It triggers simulated buy signals when price drops across a grid level and sell signals when price crosses upward through a level, evaluated via bar extre

Indicator v5 Support & resistanceMean reversion
Updated 8 months ago · None stated GitHub repository of Grid Bot Simulator

KC Combo SR v5.3

by nishpa800
1 stars

Combines bullish and bearish signals in one price chart overlay, built on a Keltner Channel, an ATR supertrend and several volume and displacement detectors. Markers flag candles where those detectors line up with a support or resistance structure. Version 5.3

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of KC Combo SR v5.3
1 stars

Calculates a VWAP-based pivot on a higher timeframe, either chosen automatically or set by the user, and extends it with up to fifteen Fibonacci multiples as horizontal levels on the price chart. Settings cover VWAP length, how many past periods to plot, line

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of VWAP Expanded Pivots Alt2

Test-008-Fusion

by ricardosantos79
261 stars

This indicator stores recent price extremes in Pine arrays and plots their averages on the price chart. It splits a fixed-length array into a lows half and a highs half. When price makes a new high or low over that length, it inserts the price at the front of

Indicator v4 Support & resistance
Updated 4 years ago · None stated GitHub repository of Test-008-Fusion
99 stars

Calculates and plots Fractal Chaos Bands directly on the price chart. The indicator identifies local fractal swing highs and lows, tracking the highest fractal high and lowest fractal low across a user-specified lookback period using monotonic deques. The resu

Indicator v6 Volatility & bandsSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Fractal Chaos Bands (FCB)

This indicator overlays Wyckoff schematic analysis on the chart, identifying accumulation and distribution phases (A through E) alongside key events like Selling Climax, Automatic Rally, Spring, UTAD, and Sign of Strength. It calculates range quality scores, a

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · MIT GitHub repository of Wyckoff Schematics [WavesUnchained]

NY SMC Suite Pro

by alboogycOdR
6 stars

NY SMC Suite Pro is an overlay indicator that visualizes Smart Money Concepts (SMC) and custom intraday trading sessions on the price chart. It detects and plots order blocks, fair value gaps, liquidity pools, market structure breaks (BOS and CHoCH), and chang

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Pro

This indicator calculates and plots a linear regression channel directly on the price chart using a combination of Weighted Moving Average (WMA) and Simple Moving Average (SMA) values to derive slope and intercept. It projects a center regression line along wi

Indicator v5 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of LinReg MTF More TFs EXPORT ONLY

This indicator detects harmonic patterns using a Zigzag pivot engine and derives trend-following entry and stop levels relative to key pattern legs. It overlays dynamic trailing levels on the price chart to assist in tracking market direction following pattern

Indicator v5 TrendSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Harmonic Patterns Based Trend Follower

Mirror Oscilator

by morindok
1 stars

The Mirror Oscilator calculates a specialized oscillator in a separate pane by analyzing fractal periods and dynamic symmetry levels. It computes fractal turning points based on high and low prices over a specified period, derives symmetrical price relationshi

Indicator v5 Oscillators & momentumSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscilator
9 stars

ZigZag Core calculates and overlays market structure swing high and low points using customizable pivot depth, minimum pivot spacing, and flexible reversal filtering modes such as Percentage, ATR, or Hybrid. It plots connecting swing legs, developing legs, mar

Indicator v6 Support & resistanceTrend Repaints
Updated 2 days ago · MIT GitHub repository of ZigZag Core [WavesUnchained]
7 stars

This overlay strategy tracks the high and low of a user-defined London session and plots the previous session levels as support and resistance. It flags a break beyond a level when price closes past an ATR buffer, then waits a set number of bars for a retest w

Strategy v5 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of London SR Cleaner WR (TP 0.20)

NY SMC Suite Pro

by alboogycOdR
6 stars

This overlay indicator maps New York smart-money concepts on the price chart. It highlights three killzone sessions, draws order blocks and fair value gaps, and notes change-in-state-of-delivery events plus market-structure shifts. A statistics dashboard score

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Pro
2 stars

This indicator automatically detects and visualizes regular and inverse Head and Shoulders patterns on the main price chart. It identifies potential pattern structures by scanning pivot high and pivot low points according to user-defined left and right bar set

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Head & Shoulders S/R Regular

D/W/M POC VAH VAL Area

by mikeyhu70
1 stars

A Pine Script v4 indicator that plots the point of control, value area high and value area low for daily, weekly and monthly periods on the price chart. It shows both the developing and the previous period, with optional shaded areas, target lines and text lab

Indicator v4 Support & resistanceVolume
Updated 6 months ago · None stated GitHub repository of D/W/M POC VAH VAL Area

This indicator calculates a custom ZigZag engine directly on the price chart to identify market structure and classic chart patterns. It automatically detects ABC corrections, symmetrical and sloped triangles, Wolfe waves, and Sperandeo 1-2-3 reversal patterns

Indicator v6 Support & resistanceTrend Repaints
Updated 2 days ago · MIT GitHub repository of ZigZag Patterns [WavesUnchained]

The Mirror Oscillator Pro indicator computes a custom oscillator by mapping RSI values to the range between detected pivot highs and lows on the selected timeframe. It offers multiple baseline choices including HH/LL extremes, ATR bands, Bollinger Bands, Ichim

Indicator v5 Oscillators & momentumSupport & resistance
1 stars

A Pine Script v4 indicator that draws daily and weekly levels on the price chart, built from a volume-profile style calculation. It works out the point of control and value area (default share 68.3 percent for the first timeframe, 86.6 percent for the second)

Indicator v4 Support & resistanceVolume Repaints
Updated 6 months ago · None stated GitHub repository of Daily Weekly Monthly Level

My Script

by be-thomas
65 stars

This indicator tracks and plots the cumulative highest and lowest closing prices recorded across the entire chart history. Using custom recursive functions, it continuously compares the current bar close against historical state variables to maintain running e

Indicator v4 Support & resistance
Updated 5 days ago · GPL-3.0 GitHub repository of My Script

NY SMC Suite Pro v2.1

by alboogycOdR
6 stars

The NY SMC Suite Pro v2.1 is a TradingView indicator that plots Order Blocks and Fair Value Gaps directly on the price chart to visualize Smart Money Concepts. It also displays customizable trading sessions including 714AM, NY Open, and 714PM with adjustable t

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Pro v2.1

Lower Labels

by g-moe
3 stars

Lower Labels is a cross-asset market structure indicator that plots candles and swing structure labels for a selected secondary symbol in a separate pane. It calculates pivot highs and pivot lows to classify market structure patterns including higher highs, hi

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 5 months ago · None stated GitHub repository of Lower Labels

HH-LL ZZ

by regalouisei
2 stars

This indicator detects higher highs and lower lows on the price chart by counting a user-specified number of breaches in the chosen source value. When the count reaches the threshold, it plots a horizontal line and a label at the new level. It also draws suppo

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of HH-LL ZZ

Strong Gold Signals

by vedkanani123
1 stars

A gold-oriented price-chart indicator that looks for liquidity sweeps followed by a rejection wick. Swept levels can come from macro pivots, the previous higher-timeframe bar, or session highs and lows for Asia, London and New York. Each signal draws a stop be

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Strong Gold Signals
1 stars

This indicator draws Future Line of Demarcation lines on the price chart: the price source is shifted forward by half a cycle for up to three cycle periods, with automatic or manual periods and bar multipliers based on the chart timeframe. Projected forward an

Indicator v4 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of FLD with Projection Simple V2

Test-017-zz

by ricardosantos79
261 stars

This indicator draws a zigzag overlay on the price chart. It offers four reversal methods: a manual percent move from parameters X and Y, a percent of ATR, a running maximum true range, or confirmed high and low pivots. The function tracks extremes since the l

Indicator v4 Support & resistance
Updated 4 years ago · None stated GitHub repository of Test-017-zz

(IK) Base Break Buy

by hasnocool
106 stars

This price-chart strategy marks a base when enough recent bar bottoms cluster within a set deviation of the current bottom, then ignores new bases that sit too close to existing ones. A buy is considered when price falls a chosen percentage below a base inside

Strategy v4 Support & resistanceBreakout
Updated 2 years ago · GPL-3.0 GitHub repository of (IK) Base Break Buy

NY SMC Suite Strategy

by alboogycOdR
6 stars

This Smart Money Concepts strategy identifies trading setups based on Order Blocks, Fair Value Gaps, market structure alignment, and defined session killzones directly on the price chart. It calculates a confluence score combining active killzones, order block

Strategy v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of NY SMC Suite Strategy
1 stars

This indicator draws Future Line of Demarcation lines on the price chart: the price source is shifted forward by half a cycle for up to three cycle periods, with automatic or manual periods and bar multipliers based on the chart timeframe. Projected forward an

Indicator v4 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of FLD with Projection Simple V2a

(IK) Grid Script

by hasnocool
106 stars

This strategy overlays an automated grid trading system directly onto the price chart. It defines upper and lower boundaries either manually or dynamically using recent price extremes or a simple moving average with deviation bands. An array of evenly spaced g

Strategy v4 Support & resistanceMean reversion
Updated 2 years ago · GPL-3.0 GitHub repository of (IK) Grid Script

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