Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 61)

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

Pyramid

by morindok
1 stars

Pyramid is a geometric drawing tool that plots a 3D pyramid structure directly on the price chart. The user selects two anchor points on the chart to define the time and price dimensions. Once set, the script calculates relative time and price offsets to draw

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Pyramid

VOB Asym Combo v10.3

by nishpa800
1 stars

Detects volume order block zones from six sensitivity tiers and draws zone lines on the price chart. Output is limited to combination lanes: strict ladder patterns, multi-zone coincidences, and rolling highest-volume or all-time-high-volume events paired with

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym Combo v10.3

Zig Zag

by TWODS-CAPITAL
37 stars

This overlay indicator draws a zigzag of confirmed swing highs and lows on the price chart. It finds pivots with a depth window, then keeps a turn only when price moves beyond the deviation threshold. Lines connect successive reversals, and the last segment ca

Indicator v5 Support & resistanceTrend Repaints
Updated 3 years ago · MIT GitHub repository of Zig Zag

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

Plots key price levels directly on the main chart using time-based reference points. It tracks the high, low, and open prices for each Wednesday of the month while automatically adjusting for US Daylight Saving Time shifts. The indicator also identifies daily

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System

Mrhyh21 SMC

by g-moe
3 stars

This SMC indicator plots market structure features on the price chart. It identifies swing points based on a configurable length and marks internal order blocks, swing order blocks, and fair value gaps. Candles can be colored according to detected trend direct

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Mrhyh21 SMC
1 stars

This overlay strategy combines confirmed pivot break-of-structure with a curved linear-regression and ATR channel. It enters long when price breaks a confirmed pivot high and closes above the slope-adjusted channel midline, and enters short on the symmetric be

Strategy v6 BreakoutSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe bos-curv-probe-integration

Pivot Points High Low

by be-thomas
65 stars

This indicator marks pivot highs and pivot lows on the price chart. A high is a pivot when it is strictly above the highs in a window of bars on both sides; a low uses the same test against lows. Confirmed pivots get a price label above the bar for highs and b

Indicator v4 Support & resistance
Updated 5 days ago · GPL-3.0 GitHub repository of Pivot Points High Low

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

This indicator identifies and plots recurring key price levels based on two time-based systems: Wednesday session highs, lows, and opens, along with Midnight (UTC+2) reference levels. It automatically adjusts for Daylight Saving Time and fetches 15-minute time

Indicator v5 Support & resistanceSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System

Mrhyh21 SMC

by g-moe
3 stars

This indicator identifies market structure and key price levels directly on the price chart. It plots supply and demand zones based on swing highs and swing lows, identifies break of structure levels when zones are breached, and highlights fair value gaps repr

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

VOB Asym Combo v10.4

by nishpa800
1 stars

Detects volume order block zones from six sensitivity tiers and draws zone lines on the price chart. It plots combination lanes only: strict ladder patterns, multi-zone coincidences, and rolling highest-volume or all-time-high-volume events paired with any zon

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym Combo v10.4

Linear Decay (DECAY)

by mihakralj
99 stars

This indicator calculates a linear decay filter over a selected price source and plots the result directly on the price chart. The algorithm tracks local peaks and descends linearly by a fixed step equal to the inverse of the specified period whenever the pric

Indicator v6 TrendSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Linear Decay (DECAY)

Pivot Points Standard

by be-thomas
65 stars

This indicator plots classic pivot levels on the price chart from the previous completed bar of a higher timeframe. It requests that bar's open, high, low and close, then calculates the pivot as the average of high, low and close, with resistance one and suppo

Indicator v4 Support & resistance
Updated 5 days ago · GPL-3.0 GitHub repository of Pivot Points Standard
2 stars

This indicator detects harmonic chart patterns across four configurable ZigZag lengths directly on the price chart. It identifies patterns including Gartley, Butterfly, Bat, Crab, Deep Crab, Shark, Cypher, 5-0, Three Drives, ABCD variations, and Double Tops an

Indicator v5 Support & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Multi ZigZag Harmonic Patterns
1 stars

This indicator projects an ATR- and Fibonacci-spaced geometric price and time grid directly on the main chart. Operating from a 144-period macro midpoint anchor, it plots horizontal levels and partitions historical price action into discrete matrix cells. Each

Indicator v5 Support & resistanceVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of Quantum Spider Web Matrix
6 stars

Calculates and plots key price levels based on recurring Wednesday High, Low, and Open price action as well as midnight levels. The indicator draws horizontal support and resistance lines directly on the price chart for technical analysis across up to four his

Indicator v5 Support & resistanceSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System (Alerts)

VOB Asym Combo v10.5

by nishpa800
1 stars

Detects volume order block zones from six sensitivity tiers and draws zone lines on the price chart. This version gives every detection lane two separate checkboxes, one for chart markers and one for alerts, so a marker setting never changes alerts. Lanes incl

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym Combo v10.5
6 stars

This indicator plots recurring time-based price levels on the price chart using Wednesday South African Standard Time and midnight UTC plus two session data. It calculates and draws the open, high, and low levels of the first five Wednesdays of each month with

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System (Alerts)

VOB Asym Combo v10.6

by nishpa800
1 stars

Detects volume order block zones from six sensitivity tiers and draws zone lines on the price chart. Each detection lane has its own plot checkbox and alert checkbox, kept independent of each other. Lanes include strict ladder patterns, multi-zone coincidences

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym Combo v10.6
6 stars

This indicator plots key support and resistance levels based on Wednesday session high, low, and open prices, as well as daily Midnight (UTC+2) candle ranges. It automatically adjusts for US Daylight Saving Time changes to maintain precise weekly levels across

Indicator v5 Support & resistanceSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System Alerts

Reflection Line

by morindok
1 stars

Calculates and projects a reflecting line that bounces back and forth between two defined price boundaries based on a specified slope angle. Starting from a chosen time anchor, the line updates on every bar of the selected timeframe, reversing direction whenev

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Reflection Line

VOB Asym Combo v10.7

by nishpa800
1 stars

Detects volume order block zones from six sensitivity tiers and draws zone lines on the price chart. Each detection lane keeps separate plot and alert checkboxes. Lanes cover strict ladder patterns, multi-zone coincidences, and high-volume events combined with

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym Combo v10.7
1 stars

This indicator ranks swing-pivot liquidity pools on the price chart and marks the highest-scoring pool as the current magnet. It clusters equal highs and lows, then scores each pool from strength, proximity, age decay, and momentum bias. A higher-timeframe EMA

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of TnSovereignLiquidityMagnetV6
3 stars

MTF Candles Price Levels overlays higher-timeframe reference lines and custom candle styling onto the main chart. It fetches higher-timeframe open and close prices to calculate configurable offset levels above key prices. Additional features include session fi

Indicator v5 Support & resistanceCandlestick patterns Repaints
Updated 5 months ago · None stated GitHub repository of MTF Candles Price Levels

Naked Intrabar POC

by regalouisei
2 stars

Naked Intrabar POC is a price-chart indicator that estimates each bar's point of control from lower-timeframe samples. It splits the bar range into bins and accumulates either time or volume from those samples, then draws the resulting level as a line. Hit and

Indicator v5 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of Naked Intrabar POC
1 stars

Pine v5 overlay indicator that builds volume order block zones from fast and slow EMA crossovers at six sensitivity tiers, from 1000 to 2500 bars. Bullish zones form around the lowest bar and bearish zones around the highest, and zones are removed when price c

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym T3 x6 MutEx Lines
1 stars

TnSovereignLiquidityMatrixV6 is a Pine Script v6 strategy that identifies liquidity zones for trading. It extracts a macro anchor point from the highest volume bar on a user-defined timeframe such as daily. Fibonacci levels are then extended using ATR multiple

Strategy v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of TnSovereignLiquidityMatrixV6
2 stars

This indicator projects future pivot levels on the main chart by combining zigzag price swings with a choice of underlying momentum oscillators, such as RSI, CCI, CMO, COG, MFI, or ROC. It draws projected pivot points, pivot lines, sentiment background fills,

Indicator v5 Support & resistanceTrend Repaints
Updated 8 months ago · None stated GitHub repository of Next Pivot Projection [Trendoscope]

This strategy confirms swing pivot highs and lows and compares each new pivot with the previous swing of the same type. It draws on the price chart. A long entry fires when a confirmed pivot high is a higher high and the position is flat or short. A short entr

Strategy v6 Support & resistanceTrend
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe liquidity-sweep-probe-01-pivot-swing

Alex Days HiLo Rajib

by hasnocool
106 stars

Alex Days HiLo Rajib tracks the highest high and lowest low over a customizable lookback period and overlays them directly on the price chart. When the current high exceeds the previous highest level, the script displays a signal arrow, and another arrow appea

Strategy v4 BreakoutSupport & resistance
Updated 2 years ago · GPL-3.0 GitHub repository of Alex Days HiLo Rajib
2 stars

Plots key period levels including Open, High, Low, and Equilibrium (EQ) for multi-timeframe intervals such as yearly and quarterly periods directly on the price chart. To prevent chart clutter, the script checks across active levels and suppresses duplicates.

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of No Duplicates Interval Range & EQ
1 stars

This strategy detects liquidity sweep patterns based on pivot high and pivot low levels calculated over configurable left and right bar periods. A bullish sweep occurs when a candle's low pierces below the most recent pivot low while closing back above it, tri

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF Probe Liquidity-Sweep-Probe-02-Sweep-Bar

Spiral Map

by morindok
1 stars

The Spiral Map indicator calculates spiral patterns on a price chart using a symmetric price level within user-defined time ranges. It generates pre-range and post-range spirals of Archimedean, Logarithmic, or Fibonacci types, scaled according to width and hei

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Spiral Map

VOB Ladder Watch

by nishpa800
1 stars

A read-only companion to the volume order block tools. It builds bullish zones for six sensitivity tiers from moving average crossovers, tracks the latest active zone midpoint of each, and checks whether the zones from the lowest tier upward sit at strictly as

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Ladder Watch

This overlay strategy scores alignment of seven moving averages, lengths 5 through 200, of a user-selected type. Full stacks count as up or down, and partial alignment can add a smaller score. A rolling high-low period flags the current extreme, while an optio

Strategy v4 TrendMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of AlignedMA and Cumulative HighLow Strategy
2 stars

Order Chain [Kioseff Trading] is a realtime order flow indicator that tracks live price changes and volume flow in a separate pane. By utilizing intrabar persistent variables, it constructs an order chain visualization showing tick delta statistics and order v

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Order Chain [Kioseff Trading]

This strategy tracks liquidity sweeps across pivot highs and lows to trigger delayed reversal entries. It identifies pivots based on configurable left and right bar lengths and records sweeps when the price breaches a pivot but closes back inside it. Upon dete

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe liquidity-sweep-probe-03-reentry-on-sweep
1 stars

Finds volume order blocks, zones where heavy volume built up around a moving average crossover, and draws them on the price chart as support or resistance areas. Six sensitivity tiers each produce buy and sell tier signals with mutually exclusive handling, plu

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Full Tick-Friendly

This overlay strategy scores whether price and moving averages from 5 through 200 periods are fully or partially aligned, and it marks when the bar is a period high or low. Direction helpers compare a series with earlier bars over two configurable lookbacks. I

Strategy v4 TrendMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of AlignedMA and Cumulative HighLow Strategy V2

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