Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 26)

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

Ichimoku Cloud

by harryguiacorn
220 stars

This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ichimoku Cloud

Day Trading Booster

by iamc1oud
56 stars

Day Trading Booster plots session highlights for Sydney, Tokyo, Frankfurt, London and New York sessions on the price chart. It shows opening ranges for selected sessions and day open reference levels derived from ATR. A tabular view displays global forex marke

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

VWAP (Cumulative)

by milocaetano
48 stars

The VWAP Cumulative indicator calculates and plots a continuous Volume Weighted Average Price directly on the main price chart. Instead of resetting at session or daily boundaries, it computes a running cumulative VWAP using typical price and volume across all

Indicator v5 TrendMoving averages
Updated 3 days ago · MIT GitHub repository of VWAP (Cumulative)
46 stars

The IB/ORB Statistical Mapper plots Initial Balance (IB) and Opening Range Breakout (ORB) ranges for 5-minute, 15-minute, and 60-minute windows relative to the New York session open. It renders colored boxes, midpoints, and open lines directly on the price cha

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of IB/ORB Statistical Mapper (hardcoded)
43 stars

This strategy calculates support and resistance pivot levels based on short-term open price extremes and combines them with multi-timeframe open prices and MACD indicators. It executes trades with user-defined percentage-based stop-loss and take-profit targets

Strategy v5 Support & resistanceOscillators & momentum Repaints
Updated 2 years ago · None stated GitHub repository of Futures - New Script
24 stars

This indicator plots market structure elements directly on the price chart, identifying internal and swing break of structure and change of character. It calculates bullish and bearish order blocks, equal highs and lows, and swing points while highlighting tre

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 12 days ago · Custom licence GitHub repository of Smart Money Concepts [LuxAlgo] test D

Bandz STDV & CISD

by samuelharting
18 stars

This overlay indicator tracks liquidity sweeps, CISD confirmation, and anchor invalidation, then projects numbered standard-deviation levels from zero through minus four on the price chart. It draws ratio lines and labels, optional CISD lines, and fills select

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 weeks ago · MPL-2.0 GitHub repository of Bandz STDV & CISD
16 stars

This indicator calculates and plots standard pivot points along with multiple support (S1-S5) and resistance (R1-R5) levels directly on the price chart. Users can select from several calculation methods, including Traditional, Fibonacci, Woodie, Classic, DeMar

Indicator v5 Support & resistance Repaints
Updated 2 years ago · None stated GitHub repository of Pivot Points Standard + TD + TL

Golden Pocket Zones

by MeridianAlgo
9 stars

Golden Pocket Zones draws fixed-height Fibonacci zones on the price chart. It reads daily highs, lows, and a 10-day average range, then centers a band on the midpoint of the 50 percent and 61.8 percent retracement of each qualifying daily candle. Lookback leng

Indicator v6 Support & resistance
Updated 4 months ago · MIT GitHub repository of Golden Pocket Zones
8 stars

This strategy identifies trend retracements and breakout entries using an adjustable moving average ribbon alongside higher-timeframe anchored moving averages, fractal pivots, and support and resistance level extensions. Bar colors can be customized using a 3-

Strategy v5 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of Pullback Trading Tool ALT

Inducement

by muammeryldrm42
7 stars

This strategy identifies Smart Money Concepts (SMC) liquidity sweeps around recent pivot highs and lows. It monitors recent candles for false breakouts where price wicks beyond a swing level but closes back within the range. When confirmed by a strong directio

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · MIT GitHub repository of Inducement
7 stars

This indicator plots standard Bollinger Bands alongside scaled Average True Range (ATR) bands directly on the price chart. It is designed to assist traders in identifying price consolidation zones, potential breakout levels, dynamic stops, and take-profit targ

Indicator v5 Moving averagesVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Bollinger and ATR Bands

FX Market Sessions

by itmakesyousick
7 stars

This overlay indicator draws up to four Forex trading sessions on the price chart, defaulting to London, New York, Tokyo, and Sydney. Each session uses a chosen timezone and clock range and can show a colored session range, an optional extension, Fibonacci lev

Indicator v5 Sessions & timeSupport & resistance
Updated 3 years ago · None stated GitHub repository of FX Market Sessions
6 stars

Institutional Bias Scanner draws a multi-symbol dashboard on the price chart together with optional session overlays. It watches sixteen user-selected symbols that default to major forex pairs, gold, the dollar index, equity indices, oil and crypto. Theme and

Indicator v6 Screeners & dashboardsSessions & time
Updated 7 months ago · None stated GitHub repository of Institutional Bias Scanner

TheStrat Suite

by 345-strategies
5 stars

TheStrat Suite plots Rob Smith's TheStrat price-action method on the price chart across up to six configurable timeframes. It classifies bars, detects inside bars, hammers, shooters, outside bars and Failed 2 range reclaims, and marks magnitude and exhaustion

Indicator v6 Candlestick patternsSupport & resistance Repaints
Updated 4 days ago · MPL-2.0 GitHub repository of TheStrat Suite

MTF Abnormal Price Zones

by InNoobWeTrust
4 stars

The MTF Abnormal Price Zones indicator identifies potential supply and demand zones across multiple timeframes. It detects abnormal volume activity relative to a customizable moving average threshold and applies an RSI momentum filter to validate signals. High

Indicator v6 VolumeSupport & resistance Repaints
Updated 2 days ago · None stated GitHub repository of MTF Abnormal Price Zones
4 stars

This indicator identifies liquidity sweeps and stop hunts on price charts by detecting candles that breach recent high or low levels before closing back inside the previous range. Users can filter signals using lookback windows, minimum wick size relative to c

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Liquidity Sweep Detector [Lab]

Linear Regression Channel

by Hugs-4-Bugs
4 stars

The Linear Regression Channel indicator calculates the slope, average and intercept of a linear regression line over the specified length using the chosen source. It plots the base regression line and upper and lower channels on the price chart. The channels a

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Linear Regression Channel

RSI Zones

by degenview
3 stars

This indicator plots the Relative Strength Index on a separate pane using a purple line. It calculates RSI based on a user-defined length and source. Horizontal lines mark overbought at 70 in red, the midline at 50 in gray, and oversold at 30 in green. The bac

Indicator v6 Oscillators & momentumSupport & resistance
Updated 2 days ago · GPL-3.0 GitHub repository of RSI Zones

Darvas Box AL SAT

by gocaman
3 stars

Calculates Darvas Box upper and lower channel boundaries based on configurable period length to identify trend breakouts. It plots top and bottom box levels directly on the price chart and plots buy (AL) and sell (SAT) signal labels when price crosses outside

Indicator v5 Support & resistanceBreakout
Updated 2 days ago · None stated GitHub repository of Darvas Box AL SAT

ADR % Ranges

by g-moe
3 stars

This indicator computes the Average Daily Range over the last specified number of days and plots the full ADR level along with one-third of the ADR and an anchor line on the price chart. It displays historical ADR levels from prior sessions and a table showing

Indicator v5 Volatility & bandsSupport & resistance
Updated 5 months ago · None stated GitHub repository of ADR % Ranges

SMC+WWAP+FVG+TBT

by IAMATOMIC001
3 stars

This overlay indicator maps market structure and a volume-weighted average on the price chart. It plots bullish and bearish structure from a pivot period, with an optional response length for shorter or longer structure. Premium and discount areas can be shade

Indicator v6 SMC / ICT / price actionVolume Repaints
Updated 12 months ago · None stated GitHub repository of SMC+WWAP+FVG+TBT

Delta Footprint Bubble

by piecioshka
2 stars

Calculates volume delta and market profile metrics directly on the price chart using TradingView footprint data. It identifies the Point of Control (POC), Value Area, and stacked buy or sell imbalances based on tick row settings. Visual outputs include POC bub

Indicator v6 VolumeSupport & resistance
Updated 12 days ago · MIT GitHub repository of Delta Footprint Bubble

PVSR Vector Zones MP

by midngtpickle
2 stars

PVSR Vector Zones MP identifies climax and above-average volume vector candles using Price Volume Spread Analysis and draws dynamic supply and demand boxes on the price chart. Bullish vector candles establish demand support zones, while bearish vector candles

Indicator v6 VolumeSupport & resistance
Updated 4 weeks ago · Custom licence GitHub repository of PVSR Vector Zones MP

Liquidity & Inducements

by alvinng214
2 stars

This Pine Script indicator plots market structure pivots and liquidity inducements on the price chart. It identifies grabs, big grabs, sweeps, and turtle soups as potential liquidity zones where price may reverse. Equal highs and lows can trigger both liquidit

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

Inside Bar Chain Detector identifies sequences of inside bars fully contained within the prior bar's high-low range on price charts. It marks each inside bar with a diamond below the bar and optionally shows labels with chain length and range contraction perce

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 3 months ago · Apache-2.0 GitHub repository of Inside Bar Chain Detector

XAUUSD Strategy V4.17 is a Pine Script strategy that plots buy and sell signals on the gold price chart using Stochastic oscillator, RSI, EMA trend filters, Fibonacci zones, and ATR-based risk management. It supports confirm-only, confirm+scalp, or scalp-only

Strategy v5 Oscillators & momentumMoving averages

Advance SMC

by middlechild0
2 stars

Plots Smart Money Concepts (SMC) elements directly on the price chart, including fractal-based market structures such as Break of Structure (BOS) and Change of Character (ChoCH). It tracks dynamic support and resistance levels, detects bullish and bearish Fair

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

Lakshmi Strategy v1

by voletiramu
2 stars

This strategy draws supply and demand zones on the price chart based on manual inputs. It executes trades when price reaches zone levels and fires decoded signals from the Ghost Trade Pro methodology. Entries use percent-of-equity position sizing with a defaul

Strategy v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Lakshmi Strategy v1

Chart VWAP

by regalouisei
2 stars

Chart VWAP calculates and plots an anchored volume-weighted average price across the visible chart window directly on the price chart. It supports optional upper and lower standard deviation bands adjusted by a multiplier. Additional settings allow users to di

Indicator v6 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Chart VWAP

Failed Breakdown

by ashwagamma
2 stars

Failed Breakdown identifies and tracks key session support levels—including overnight lows, daily lows, and afternoon lows—and detects potential failed breakdowns against them. The indicator monitors price penetration to classify breakdowns into soft, medium,

Indicator v5 BreakoutSupport & resistance
Updated 1 year ago · None stated GitHub repository of Failed Breakdown

Breakout Strategy

by Web3Degenerate
2 stars

This strategy identifies breakouts above or below a higher-timeframe reference level (daily by default) and executes trades with automated position sizing based on risk percentage. Entries occur when the close crosses the reference high or low for the first ti

Strategy v5 BreakoutSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of Breakout Strategy

HTF Candles & Pivots

by itmakesyousick
2 stars

HTF Candles & Pivots overlays higher timeframe candle bodies and wicks directly onto the primary price chart alongside calculated pivot point levels. It visualizes open, high, low, and close levels for selected timeframes like hourly, daily, or weekly bars usi

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

Zig Zag Ratio Simplified plots ZigZag trend lines connecting swing highs and lows on the price chart. It calculates ratio relationships between market swings, displaying ratio labels, high and low price tags, and an optional status helper table. Main settings

Indicator v5 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of Zig Zag Ratio Simplified

POC VA Levelz

by ClimberMel
2 stars

POC VA Levelz is a volume profile indicator that plots the point of control and value area on the price chart. It calculates and displays the daily open, initial balance high, previous day POCs, developing day POCs, and day before yesterday POCs as horizontal

Indicator v4 Support & resistanceVolume Repaints
Updated 4 years ago · MIT GitHub repository of POC VA Levelz

Order Level Search

by DaniilOkrug
2 stars

Calculates and plots horizontal support and resistance levels by identifying recurring price clusters within a set historical lookback period. The indicator scans past highs and lows, grouping touches that fall within a specified tick deviation. Levels meeting

Indicator v5 Support & resistance Repaints
Updated 4 years ago · MIT GitHub repository of Order Level Search

Trendlines - JD

by JorisDuyck
2 stars

This indicator detects pivot highs and pivot lows to construct and plot dynamic trendlines directly on the price chart. It stores pivot coordinates inside a custom pseudo-3D array structure and connects consecutive points using either candle wicks or real bodi

Indicator v4 Support & resistanceTrend
Updated 5 years ago · MIT GitHub repository of Trendlines - JD

DIY Volume Profile

by jayadevrana
1 stars

DIY Volume Profile is an indicator that calculates the point of control and value area using volume distribution across price rows based on the last specified lookback bars. It plots horizontal lines for the value area high and low along with the POC on the pr

Indicator v6 VolumeSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of DIY Volume Profile

Week 03

by moonyroy
1 stars

Week 03 is an overlay indicator that groups price into fifteen-minute blocks and tracks each group's open, high, and low. It records which side of the previous range breaks first, then draws line segments connecting the prior structure point to those highs and

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 days ago · None stated GitHub repository of Week 03

GridWB4

by cckmchiu-gapps
1 stars

GridWB4 plots a customizable price-and-time grid directly on the chart using two user-defined anchor coordinates (top-right and bottom-left). It divides the selected time and price range into up to seven side-by-side grid units with borders and diagonal slope

Indicator v5 Support & resistance
Updated 8 days ago · None stated GitHub repository of GridWB4

MTF Overlay Suite

by MuhammadMuhamid
1 stars

A price-chart overlay that collects many modules in one script: four SMAs, four EMAs, three Supertrends, VWAP, Bollinger Bands, standard pivot points, support and resistance zones, trendlines and an automatic Fibonacci retracement. Each moving average can use

Indicator v6 Moving averagesSupport & resistance Repaints
Updated 13 days ago · None stated GitHub repository of MTF Overlay Suite

This indicator calculates and plots key market profile structure from previous sessions, including Value Area High, Value Area Low, Point of Control, and session High/Low levels, alongside the current session's Opening Range. User settings allow customization

Indicator v6 Sessions & timeSupport & resistance
Updated 2 weeks ago · MPL-2.0 GitHub repository of Taught to Trade - Session Range & Value Area Map
1 stars

An overlay indicator that rebuilds opening range levels for one chosen historical date. After the selected number of opening candles from a set market open time, it draws the range high, low and average, then first, second and third resistance and support line

Indicator v5 Sessions & timeSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of Dynamic OR Historical Levels

VWAP Signal Suite

by JACKZHOU0521
1 stars

This indicator calculates a session-resetting Volume Weighted Average Price (VWAP) along with inner and outer standard deviation bands plotted directly on the price chart. It provides bar-close confirmed visual signals for VWAP crossovers, pullback reclaims fo

Indicator v6 Moving averagesVolatility & bands
Updated 5 weeks ago · None stated GitHub repository of VWAP Signal Suite

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