Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 2)

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

1BullBear

by KweeBoss
10 stars

The 1BullBear indicator is an all-in-one chart utility that displays key trading sessions, reference levels, and market structure helpers directly on the price chart. It highlights Asian, London, and New York sessions with customizable background ranges, label

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of 1BullBear

This indicator detects and visualizes Smart Money Concepts (SMC) and Inner Circle Trader (ICT) structures directly on the price chart. It performs multi-timeframe analysis across customizable trend (H1), entry (M15), and micro (M5) timeframes to identify bulli

Indicator v6 SMC / ICT / price actionSupport & resistance
9 stars

This indicator implements Chanlun (Zen Theory) structural concepts directly on the main price chart. It identifies top and bottom fractals using five-bar pivot conditions and dynamically tracks high and low arrays to plot strokes (Bi) and segments. Traders can

Indicator v5 Support & resistanceCandlestick patterns
Updated 12 months ago · None stated GitHub repository of Chanlun Buy Sell Points Indicator
8 stars

This indicator analyzes Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE) across hourly and multi-hour intraday trading sessions. It plots session open baselines, historical excursion boundaries, custom probability target zones, and time hi

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 8 days ago · None stated GitHub repository of Hourly Time and Price [JerryG & Smitty]

Larper Suite

by DeolinNaidoo
8 stars

Larper Suite is an overlay indicator for ICT and quarterly-theory analysis. It plots true session, daily, weekly, monthly, and yearly opens plus prior and current high-low liquidity levels. It tracks multi-asset SMT, swing divergence, fair-value-gap fills, and

Indicator v6 SMC / ICT / price actionDivergence Repaints
Updated 3 months ago · GPL-3.0 GitHub repository of Larper Suite
8 stars

Plots institutional price action and smart money concepts directly on the price chart. It detects swing and internal market structures, marking Break of Structure (BOS) and Change of Character (CHoCH) levels, swing points, and strong or weak highs and lows. Th

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · MIT GitHub repository of Price Action Concepts Open Source

KY SMC Indicator

by yusin99
8 stars

This indicator plots smart money concepts on the price chart. It marks internal and swing market structure, optional short, intermediate, and long-term swing points, and strong or weak highs and lows. It can draw internal and swing order blocks, filtered by AT

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of KY SMC Indicator

Natural Squares

by NQ-stats-MX
7 stars

This indicator plots Gann natural squares and fractional Square of Nine levels as horizontal lines on the price chart. It scales price, takes the square root, and draws a chosen number of levels above and below the close, with optional root, angle, price, and

Indicator v6 Support & resistance
Updated 10 days ago · MIT GitHub repository of Natural Squares

This indicator plots core Inner Circle Trader (ICT) concepts directly on the price chart. It visualizes session killzones (Asia, London, NY AM, London Close, NY PM) with high and low boundaries, opening price levels, multi-timeframe Fair Value Gaps with conseq

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 3 weeks ago · GPL-3.0 GitHub repository of All-in-One ICT v1.2 + RTH Gap + HTF Candles

1-Min Gold Taylor Technique

by eddiebelaval
7 stars

This intraday strategy implements session-based trading rules tailored for gold on short timeframes. It tracks the Asian session price range, VWAP, 20-period EMA, and previous day high and low levels to identify liquidity sweeps during London and New York trad

Strategy v6 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of 1-Min Gold Taylor Technique

Bullish Engulfing Low

by chargersfan47
7 stars

Bullish Engulfing Low is an overlay indicator that marks a two-candle pattern: a bullish bar whose close is above the prior bar open and whose low stays above the prior low, after a bearish bar. When that condition is true it draws a right-extended horizontal

Indicator v6 Candlestick patternsSupport & resistance Repaints
Updated 5 months ago · None stated GitHub repository of Bullish Engulfing Low
7 stars

This strategy plots dynamic pivot-based support and resistance trendlines on the price chart and trades breakouts beyond those lines. By default it allows longs only when EMA 50 is above EMA 200 and an RSI-SMA momentum filter is met, with an ATR entry buffer.

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Easy Trendline - XAUUSD 30m
7 stars

Calculates volume profile levels over a lookback window to identify support, resistance, and Point of Control (POC) lines on the price chart. It executes trades based on price interaction with these low-volume zones, featuring customizable signal inversion and

Strategy v6 ScalpingVolume
Updated 1 year ago · None stated GitHub repository of Enhanced NQ1 Scalping Strategy

LIT - Timing

by rpanchyk
7 stars

LIT - Timing plots key market session ranges directly on the price chart based on Liquidity Inducement Theorem concepts. It renders customizable boxes alongside horizontal projection lines representing the high, low, and midpoint for the Asian, London, and New

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 2 years ago · MIT GitHub repository of LIT - Timing

Optimizer v1

by QuantGeekDev
7 stars

This strategy generates long signals on the price chart using multiple technical indicators. It computes EMA 70 and 100, SMA 70, ADX with DMI, CCI, and MACD values. A long entry occurs when EMA crossover condition, SMA condition, ADX above 15, CCI above 30, an

Strategy v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Optimizer v1

FX Market Sessions

by itmakesyousick
7 stars

This indicator draws custom trading session boxes directly on the price chart, with presets for London, New York, and Tokyo sessions. It calculates and outlines session ranges using boxes and lines, with optional extensions, opening ranges, and Fibonacci retra

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

SRI Indicator ft. MSB

by kingmalitha
7 stars

This indicator overlays an all-in-one technical analysis toolkit on the price chart. It plots multiple moving averages, including standard EMAs, SMAs, and a Trend Regularity Adaptive Moving Average, alongside Bollinger Bands, Supertrend, Nadaraya-Watson envelo

Indicator v5 Moving averagesTrend Repaints
Updated 3 years ago · None stated GitHub repository of SRI Indicator ft. MSB

Head

by dgnsrekt
7 stars

This indicator template generates an options reticle overlay on the price chart, plotting horizontal out-of-the-money strike price targets and vertical expiration crosshairs. It includes a fill mode that dynamically shades the area between historical price and

Indicator v4 Support & resistanceScreeners & dashboards
Updated 6 years ago · MIT GitHub repository of Head

FxHD Strategy v2.0

by alboogycOdR
6 stars

FxHD Strategy v2.0 is a Fibonacci multi-timeframe strategy drawn on the price chart. It reads a higher timeframe, defaulting to four hours, and sets bias with CRT kill zones, the last two candles, dynamic CRT, or market structure, plus a fallback method. It pl

Strategy v6 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of FxHD Strategy v2.0

Mxwll Suite

by eonfutures
6 stars

Mxwll Suite is a comprehensive price action and Smart Money Concepts (SMC) technical indicator that plots market structure, key price levels, and order flow zones directly on the main price chart. It detects internal and external market structures including Br

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of Mxwll Suite

Wiseplat Sideways

by WISEPLAT
6 stars

The Wiseplat Sideways indicator identifies dynamic consolidation periods and highlights ranging price action directly on the chart. It evaluates price variation across consecutive bars against a configured percentage threshold to detect sideways movement. When

Indicator v5 Volatility & bandsSupport & resistance
Updated 2 years ago · None stated GitHub repository of Wiseplat Sideways

VOIDRLM

by voidrlm
6 stars

The script VOIDRLM combines multiple technical analysis tools into a single overlay indicator on the price chart. It calculates multi-timeframe pivot points, volume-weighted average price (VWAP), customizable moving averages, moving average clouds, supply and

Indicator v5 TrendMoving averages Repaints
Updated 3 years ago · None stated GitHub repository of VOIDRLM
6 stars

This indicator plots average-range high and low levels on the price chart. It averages the previous bar range with a simple moving average and projects an upper and lower level for the current period from the bar's high, low, and close. Separate counts, lookba

Indicator v4 Volatility & bandsSupport & resistance Repaints
Updated 5 years ago · None stated GitHub repository of Average Daily Range High Low

Cross Levels (ES-SPY/SPX)

by 345-strategies
5 stars

Translates key reference levels between CME E-mini S&P 500 futures (ES) and cash equity equivalents (SPY or SPX), displaying them directly on the price chart. When applied to an ES chart, it projects cash session highs, lows, opens, prior period levels, and ga

Indicator v6 Support & resistanceSessions & time
Updated 3 days ago · MPL-2.0 GitHub repository of Cross Levels (ES-SPY/SPX)

Pivot Trendline Trading

by AllienNova
5 stars

Pivot Trendline Trading is an automated strategy that identifies pivot-constrained trendlines and calculates quality scores for potential setups. It uses an Efficiency Ratio and EMA cross count to determine trending regimes before entering on trendline breakou

Strategy v6 TrendBreakout
Updated 8 weeks ago · None stated GitHub repository of Pivot Trendline Trading

BPA [yohtza]

by forecho
5 stars

This indicator plots key session-based price action reference levels on the price chart. It calculates and displays the current session open, previous day close, Globex session high and low, weekly open, and higher-timeframe boundaries. It also supports bar co

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of BPA [yohtza]

HH-LL Buy/Sell + EMA

by vinitpatil519
5 stars

This overlay indicator classifies market structure with an ATR-based ZigZag that marks higher highs, higher lows, lower highs, and lower lows. A state machine plots buy and sell labels on the confirmation bar, not on the earlier pivot, and by default waits for

Indicator v5 TrendSupport & resistance
Updated 2 months ago · None stated GitHub repository of HH-LL Buy/Sell + EMA

ORB Algo | Flux Charts

by vaskosmihaylov
5 stars

This indicator calculates and visualizes Opening Range Breakout (ORB) zones directly on the price chart. Breakout signals are identified when the close or an EMA crosses the opening range boundary, with entry sensitivity managed by retest requirements. It mode

Indicator v6 BreakoutSessions & time
Updated 2 months ago · GPL-3.0 GitHub repository of ORB Algo | Flux Charts
5 stars

This overlay marks order blocks on the price chart at the origin of an impulsive move when that candle anchors a Fair Value Gap. Several recent swings are tracked so clustered highs and lows each keep a block. Detection uses the first gap off a swing or a stru

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · MIT GitHub repository of FVG Validated Order Blocks
5 stars

This strategy enters one long trade when the bar low comes within a set point tolerance of the prior day's low and the close finishes above that level. Entries are allowed only inside a UTC session and are blocked after a Friday cutoff hour. It stays flat unti

Strategy v5 Support & resistanceMean reversion Repaints
Updated 5 months ago · MIT GitHub repository of PDL — Prior Day Level Retest (Bull)

Path A — ORB (Demo)

by plutothedev
5 stars

This indicator calculates the opening range high and low for the first N minutes of a user-defined session. It plots the ORB levels on the price chart and emits long breakout signals when price closes above the ORB high and short breakout signals when price cl

Indicator v5 BreakoutSessions & time
Updated 5 months ago · Custom licence GitHub repository of Path A — ORB (Demo)

I2.0 SM Radar

by CedInvest
5 stars

I2.0 SM Radar plots Smart Money Concepts zones on the price chart for crypto. It marks bullish and bearish Order Blocks, Fair Value Gaps with age-based fading, liquidity zones at equal highs and lows, and previous day week month highs and lows. It also detects

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · Custom licence GitHub repository of I2.0 SM Radar
5 stars

This indicator implements Tom DeMark's TD Sequential methodology on the price chart to detect trend exhaustion and reversal zones. It counts the Setup phase of nine consecutive bars comparing closes to four bars prior, tracks setup perfection, and advances int

Indicator v6 TrendMean reversion
Updated 1 year ago · None stated GitHub repository of TD Sequential - Official DeMark
5 stars

This overlay indicator marks market structure on the price chart. It detects swing highs and lows with a configurable lookback, then labels Break of Structure only after a two-candle retracement check. It also marks Change of Character and a dual Change of Cha

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BOS & CHOCH with FVG & Fib Zones
5 stars

This indicator detects classic price structure on the chart by finding swing pivot highs and lows over a user-defined period. It draws connecting lines and labels for lower lows, lower lows with lower highs, higher highs, and higher highs with higher lows, plu

Indicator v6 TrendSupport & resistance
Updated 1 year ago · None stated GitHub repository of Chart Patterns [ActiveQuants]

CTF Raid Indicator

by jerryinyang
5 stars

This indicator detects stop hunts, liquidity raids, and Rob Hoffman Inventory Retracement Bar breakouts directly on the main price chart. It tracks bullish and bearish retracement bars using dynamic arrays, identifying when incoming price action breaks these s

Indicator v5 SMC / ICT / price actionBreakout
Updated 2 years ago · None stated GitHub repository of CTF Raid Indicator
5 stars

This indicator plots three volume-weighted average price lines on the price chart. Each line is anchored at a swing low, a swing high, or the highest-volume candle found inside a user-set lookback measured in days. It requests daily timestamps and chart-timefr

Indicator v5 VolumeSupport & resistance Repaints
Updated 3 years ago · MPL-2.0 GitHub repository of Armaan-Harpal-Custom-AAVWAP

ZigZag++ Lucem Anb

by Kasra-Saeid
5 stars

ZigZag++ Lucem Anb calculates and plots MetaTrader 4 style ZigZag swing high and swing low points directly on the price chart. It connects major highs and lows with colored trend lines and marks market structure pivots with higher high, lower high, lower low,

Indicator v4 Support & resistanceTrend Repaints
Updated 3 years ago · MIT GitHub repository of ZigZag++ Lucem Anb

Smart Money Concepts

by northvia
5 stars

This indicator plots smart-money market structure on the price chart. It marks internal and swing breaks of structure and changes of character, optional swing points, and strong or weak highs and lows. It draws internal and swing order blocks filtered by volat

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 years ago · None stated GitHub repository of Smart Money Concepts
5 stars

This indicator identifies Fair Value Gaps by detecting price imbalances between the current bar and two bars prior on both current and higher timeframes. It draws shaded boxes on the price chart representing bullish and bearish gaps, along with optional midpoi

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of Fair Value Gap SpaceManBTC

This overlay indicator plots Central Pivot Range levels and bands across yearly, quarterly, monthly, weekly, daily, and six-hour periods. Each timeframe can be shown or hidden, and pivot and band colors are set separately. It also marks MACD momentum and EMA t

Indicator v5 Support & resistanceOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Pivot Boss Multi Timeframe CPR with MACD and EMA

[innoobwetrust] Key Gaps

by InNoobWeTrust
4 stars

This indicator detects large price gaps by comparing each candle’s high-to-low range with the previous ATR and requiring a minimum body percentage. Qualifying candles are stored in a rolling buffer and drawn as price zones on the chart, limited to the most rec

Indicator v6 Support & resistanceVolatility & bands
Updated yesterday · None stated GitHub repository of [innoobwetrust] Key Gaps
4 stars

This indicator overlays an order flow intelligence suite directly on the price chart. It renders a liquidity heatmap across configured price zones, alongside an on-chart information panel displaying volume delta, cumulative volume delta, a momentum compass bas

Indicator v6 VolumeScreeners & dashboards
Updated 2 weeks ago · MIT GitHub repository of GHOST — OrderFlow Intelligence

42H Map

by aurorascarlet1102
4 stars

42H Map calculates custom time cycle structures and session ranges directly on the price chart. It partitions market action into forty-two-hour cycles, ten-and-a-half-hour micro-sessions, half-week periods, and quarter-month segments to track highs, lows, and

Indicator v5 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of 42H Map

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