Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 24)

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

IB / ORB Live Stats

by TamaraKGreen
46 stars

This overlay indicator marks the New York initial balance and a configurable opening range on the price chart and reports live range statistics in two tables. It builds an IB box for a default 09:30–10:30 ET window, an ORB box from 09:30 for a set number of mi

Indicator v6 Sessions & timeBreakout
Updated 8 weeks ago · None stated GitHub repository of IB / ORB Live Stats

Hyperfork Matrix

by blueprintresearch-dev
42 stars

This indicator draws an Andrews pitchfork on the price chart from three pivots chosen automatically or by time. It supports Original, Schiff, and Modified Schiff constructions, optional extra parallel levels, and forward or backward action and reaction lines.

Indicator v6 Support & resistanceTrend
Updated 2 weeks ago · None stated GitHub repository of Hyperfork Matrix

LoD Intraday Entry

by ChartsLector
41 stars

This overlay indicator marks the current day's low and a suggested entry zone a fraction of daily ATR below that low. It compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels c

Indicator v6 Support & resistanceVolatility & bands
Updated 4 days ago · None stated GitHub repository of LoD Intraday Entry
29 stars

Zen Bar Range Projections calculates the Average Bar Range (ABR) over a user-defined lookback period and projects 0.5x and 1x measured move levels above and below the prior bar close. Users can choose between the current chart timeframe or a higher timeframe m

Indicator v6 Volatility & bandsSupport & resistance
Updated 2 weeks ago · MIT GitHub repository of Zen Bar Range Projections

WaveTrend 3D

by nersent
29 stars

WaveTrend 3D is a redesigned oscillator that implements the classic WaveTrend algorithm with kernel-based regression for trend reversal confirmation and multi-timeframe support. It calculates a smoothed oscillator line and displays a symmetrical three-dimensio

Indicator v5 Oscillators & momentumDivergence
Updated 11 months ago · Custom licence GitHub repository of WaveTrend 3D

Daily Pivot Points

by tistaharahap
25 stars

Daily Pivot Points calculates standard daily pivot levels along with four resistance levels, four support levels, and intermediate mid-pivot levels using the previous day's high, low, and close values. The indicator draws horizontal line objects directly on th

Indicator v4 Support & resistance Repaints
Updated 6 years ago · None stated GitHub repository of Daily Pivot Points
24 stars

This overlay indicator maps Smart Money Concepts on the price chart. It labels internal and swing breaks of structure and changes of character, marks bullish and bearish order blocks, equal highs and lows, fair value gaps, and premium, equilibrium, and discoun

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

Benso RSI

by benso87
24 stars

This indicator calculates a Relative Strength Index using Wilder or Cutler calculation methods, accompanied by an optional smoothing moving average and a signal line. Plotted in a separate pane, it features defined bull and bear control and critical threshold

Indicator v5 Oscillators & momentumDivergence
Updated 4 years ago · MPL-2.0 GitHub repository of Benso RSI

Bandz Session Ranges + ORG + Opening Prices plots trading session ranges, killzones, opening RTH gaps, standard deviation projections, and key opening prices directly on the price chart. It calculates gap ranges based on prior regular trading hours close sourc

Indicator v6 Sessions & timeSupport & resistance
Updated 2 weeks ago · MPL-2.0 GitHub repository of Bandz Session Ranges + ORG + Opening Prices

Alighten Pattern E

by alighten-dev
14 stars

Alighten Pattern E plots a zigzag through stored swing pivots on the price chart and scans recent pivot pairs for Pattern E long and short signals. When enabled, it marks those signals and draws OG rays from the related pivots. Users can limit the bar window,

Indicator v6 Support & resistance
Updated 2 weeks ago · None stated GitHub repository of Alighten Pattern E

Market Monitor 5m

by chris-c-thomas
14 stars

Market Monitor 5m is an intraday context overlay designed for 5-minute chart analysis. It calculates directional bias using exponential moving averages, VWAP, TTM Squeeze volatility state, NYSE TICK market breadth, and ATR volatility regimes. The script plots

Indicator v6 Screeners & dashboardsSupport & resistance Repaints
Updated 6 months ago · MIT GitHub repository of Market Monitor 5m

Bte Strat

by f-cksociety
11 stars

Bte Strat provides a backtesting and trading engine framework implemented as an indicator on the price chart. It evaluates trade signals using selectable entry rules, technical filters like volume and moving averages, and dynamic exit strategies. The script pl

Indicator v5 TrendOscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of Bte Strat

This indicator identifies and plots minor and major swing highs and lows directly on the price chart. Minor swings are calculated using a 3-bar pivot structure, while major swings expand upon traditional 5-bar Williams Fractals. Users can toggle the visibility

Indicator v4 Support & resistanceCandlestick patterns Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of Chad's Swing Points (@tradeprophet)
9 stars

Calculates volume-weighted average price anchored to automatically detected swing pivots, period starts, or a custom manual timestamp. It plots volume-weighted standard deviation bands with configurable multiples and measures price distance from VWAP in standa

Indicator v6 Moving averagesVolatility & bands Repaints
Updated 3 days ago · MIT GitHub repository of Anchored VWAP [WavesUnchained]

Trailing Stop Loss to Long and Short is a Pine Script strategy designed to manage trade exits using a percentage-based trailing stop loss for long or short positions. The strategy sets an initial stop loss percentage relative to the entry price and systematica

Strategy v4 Support & resistance
Updated 7 years ago · MIT GitHub repository of Trailing Stop Loss to Long and Short

Ichimoku

by PipC
8 stars

This indicator plots the standard Ichimoku Kinko Hyo components directly onto the price chart. It calculates the Tenkan-sen and Kijun-sen midpoints, shifts the Chikou Span backward, and projects the Senkou Span A and Senkou Span B ahead to form the colored Kum

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Ichimoku
7 stars

This strategy plots a customizable Bollinger Band basis using selectable moving average types such as HMA, SMA, EMA, or others. It draws the basis line, multiple standard deviation levels, and fills the region between L1 and L6 on the price chart. Buy signals

Strategy v5 Volatility & bandsMoving averages
Updated 4 months ago · None stated GitHub repository of Bollinger Bands Strategy

This indicator analyzes order flow dynamics directly on the price chart by inspecting lower-timeframe intrabar data. It uses cumulative volume delta to tint the chart background according to market sentiment, and plots colored circle bubbles at exact price lev

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Deep Chart - Order Flow Bubbles

ATR Bands

by SynergOps
7 stars

This indicator plots upper and lower bands around price using a scaled average true range. It offsets the bands from the close and lets the user set the ATR period and multiplier. Optional opposite bands mark take-profit zones at a separate scale factor. An op

Indicator v5 Volatility & bandsSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ATR Bands

FX Market Sessions

by itmakesyousick
7 stars

This overlay indicator draws up to three named trading sessions, defaulting to London, New York, and Tokyo, as colored boxes on the price chart. It uses a selectable timezone and optional history, and each session can be extended, given Fibonacci levels, or gi

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

Forever Model v2.0

by alboogycOdR
6 stars

This indicator maps Smart Money Concepts (SMC) elements directly onto the main price chart. It detects Fair Value Gaps (FVGs), external range liquidity, and confirmation lines across automatic or manual higher timeframes. The script highlights key ICT trading

Indicator v6 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of Forever Model v2.0

Edge 71

by subos2008
6 stars

This strategy plots prior high and low breakout levels on the price chart and trades a long breakout. It goes long when the bar high exceeds the previous bar's highest high over a user-set lookback, and it closes that long when the bar low breaks the previous

Strategy v5 BreakoutSupport & resistance Repaints
Updated 2 years ago · Custom licence GitHub repository of Edge 71

TheStrat Setup Screener

by 345-strategies
5 stars

This indicator screens Rob Smith's TheStrat setups across six configurable timeframes for TradingView's Pine Screener. It classifies bars and exposes inside reversals, 2-2 reversals and continuations, failing 2s, range expansions, and outside bars as numeric p

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

ICT Concepts [LuxAlgo]

by rubystar0512
5 stars

This indicator identifies and visualizes key Inner Circle Trader (ICT) market structure concepts directly on the price chart. It detects Market Structure Shifts (MSS), Breaks of Structure (BOS), bullish and bearish Order Blocks (OB), Volume Imbalances, Fair Va

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of ICT Concepts [LuxAlgo]
4 stars

Meridian Options Levels plots clustered reaction zones on the price chart for liquid options underlyings. It groups nearby candidate levels using confirmed daily ATR distance and tick or percent tolerances, then sizes each zone between minimum and maximum ATR

Indicator v6 Support & resistanceSessions & time
Updated 7 weeks ago · MPL-2.0 GitHub repository of Meridian - Options Levels

EFELER-DDT

by Kalumur
4 stars

EFELER-DDT plots multiple moving average overlays and pivot-based support and resistance levels directly on the price chart. It calculates dual Weighted Moving Averages (9 and 15 WMA), three standard Exponential Moving Averages (20, 50, and 200 EMA), and three

Indicator v5 Moving averagesTrend Repaints
Updated 2 years ago · None stated GitHub repository of EFELER-DDT

Gap Finder [KL]

by kevinhhl
4 stars

This indicator detects price gaps between consecutive bars and plots them directly on the price chart. Gaps are identified when current price ranges separate from the prior bar candle body beyond a user-defined absolute point or percentage threshold. It projec

Indicator v5 Support & resistance
Updated 3 years ago · None stated GitHub repository of Gap Finder [KL]

Pivot Levels

by degenview
3 stars

Identifies confirmed swing highs and swing lows to draw horizontal support and resistance lines extended to the right, accompanied by price labels. It calculates pivot points using configurable left and right bar lookback periods. Once a pivot is confirmed, ho

Indicator v6 Support & resistance
Updated 2 days ago · GPL-3.0 GitHub repository of Pivot Levels
3 stars

Stella's Support/Resistance Levels automatically identifies and plots horizontal support and resistance lines on the price chart based on pivot highs and lows. It draws green lines at confirmed pivot lows for support and red lines at confirmed pivot highs for

Indicator v6 Support & resistance
Updated 8 months ago · MIT GitHub repository of Stella's Support/Resistance Levels

BTMM Entry System

by jcortes254
3 stars

The BTMM Entry System is a price-chart overlay indicator based on the Beat the Market Maker methodology. It detects Optimal Trade Entry (OTE) second-leg patterns and Fibonacci zones, combined with multi-factor confluence analysis including EMA alignments, sess

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BTMM Entry System

This indicator plots higher time frame market structure shifts and liquidity levels on the price chart. It identifies pivots, break of structure events, and fair value gaps from higher timeframe data to mark claimed liquidity pools and BOS+FVG setups. Liquidit

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of ICT HTF MSS & Liquidity (fadi) - Modified

ICT Smart Money Pro

by Kalki-Teja-Patimidi
2 stars

ICT Smart Money Pro is an all-in-one overlay indicator designed to highlight Inner Circle Trader concepts directly on the price chart. It detects swing highs and lows to plot Break of Structure and Change of Character levels, tracks liquidity pools and inducem

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

This overlay indicator builds a weighted volume profile over a chosen number of bars and plots pivot points with a point of control line on the price chart. Volume can be weighted toward recent, normal, or past bars, and swing length, row count, and alignment

Indicator v5 VolumeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Weighted Volume Profile Pivot Points | Flux Charts
2 stars

Lakshmi v1 Institutional Flow Engine indicator calculates a Magic Line using ATR(14) multiplied by golden ratio 1.618 anchored to daily midpoint close. It plots demand and supply zones derived from volume profile bins and fair value gaps on 4H and daily charts

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Lakshmi Institutional Flow Engine

This indicator serves as a grid range plugin for the Grid Bot framework by calculating an RSI-based channel. Plotted in a separate pane, it computes smoothed RSI levels, overbought and oversold thresholds, and channel width constraints using custom multi-timef

Indicator v6 Oscillators & momentumVolatility & bands Repaints
Updated 8 months ago · MIT GitHub repository of Grid Bot Grid Range Plugin RSI Channel [psyll]

Swing Structure - Exact Coordinates

by ifreddyman2014-tech
2 stars

This indicator identifies market structure by calculating pivot highs and lows, detecting breaks of structure (BOS), and highlighting order blocks directly on the price chart. It checks for displacement during breaks using candle body size relative to a simple

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Swing Structure - Exact Coordinates

Reverse Stochastic

by mushroom-men-Trading
2 stars

This indicator converts a smoothed stochastic oscillator back into price levels. It calculates a reverse stochastic from close, high, and low using configurable K length, D length, and smoothing, then maps fixed scale points, including bull and bear control zo

Indicator v6 Oscillators & momentumSupport & resistance
Updated 9 months ago · None stated GitHub repository of Reverse Stochastic

Box Scalper v4

by wynnforthework
2 stars

Box Scalper v4 is a strategy that plots buy and sell signals on the price chart using ADX trend filters, QQE momentum oscillator, and BOX channels. It signals entries based on crossovers and zone conditions, with trailing stop loss and take profit targets. Par

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Box Scalper v4

2b Reversal

by ashwagamma
2 stars

This indicator identifies 2B reversal patterns across auto-detected or user-defined price levels on the chart. It monitors breakdowns and breakouts against key references such as regular trading hours highs and lows, overnight swings, previous day boundaries,

Indicator v5 BreakoutSupport & resistance
Updated 1 year ago · None stated GitHub repository of 2b Reversal

Breakout Strategy

by Web3Degenerate
2 stars

This strategy detects price breakouts beyond the high or low of a higher timeframe (default Daily) on an intraday chart. When the close crosses above the higher-timeframe high or below its low, it enters long or short, limiting execution to one breakout per di

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

HTF Candles & Pivots

by itmakesyousick
2 stars

HTF Candles & Pivots overlays higher timeframe candles and pivot point levels directly onto the main price chart. It renders customizable higher timeframe candle bodies, wicks, and labels while calculating pivot points, Central Pivot Range, and projected price

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

This overlay indicator combines several ZigZag lengths with an ATR-based ZigZag Supertrend and oscillator settings to mark trend direction on the price chart. It reads close or an optional alternative source and keeps a limited pivot history. A movable table s

Indicator v5 TrendVolatility & bands
Updated 3 years ago · None stated GitHub repository of Multi-ZigZag Multi-Oscillator Trend Detector

This indicator plots volume-based support and resistance zones on the price chart. It marks high, low, and close levels when volume exceeds a moving-average threshold, and can shade zones between those lines. Users choose up to several time frames, line style

Indicator v5 Support & resistanceVolume
Updated 4 years ago · MIT GitHub repository of Volume-based Support & Resistance Zones V2

Order 65 bars

by DaniilOkrug
2 stars

This indicator calculates the percentage distance between the current price and the highest high price over the last 65 bars. It maintains an array of closing prices for the specified number of bars and identifies the maximum high value. The script then plots

Indicator v5 Volatility & bandsSupport & resistance
Updated 4 years ago · MIT GitHub repository of Order 65 bars
1 stars

A test indicator on the price chart that plots a trailing stop level derived from the wick of the last closed candle. The long stop sits below the previous low and the short stop above the previous high, each offset by an amount that can combine an ATR multipl

Indicator v6 Support & resistanceVolatility & bands
Updated 2 days ago · None stated GitHub repository of Wick Trailing SL Test

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