Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 11)

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

This strategy executes trades based on pivot levels, an exponential moving average, and a multi-stage smoothing trend line. It identifies support and resistance points from pivot highs and lows, combining them with price relationship rules against a custom smo

Strategy v5 TrendMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of Binancash - Candle Strategy Futures on Binance

Gann Square of Nine: Planetary Degrees

by blueprintresearch-dev
42 stars

This indicator maps planetary positions onto W.D. Gann's Square of Nine grid using astronomical ephemeris algorithms. It tracks pivot highs and lows with corresponding planetary longitude degrees, projects future target degrees ahead on the chart, and supports

Indicator v6 Support & resistanceScreeners & dashboards
Updated 2 weeks ago · None stated GitHub repository of Gann Square of Nine: Planetary Degrees
27 stars

This indicator calculates an approximate volume profile directly on the price chart for a specified block of historical bars. It divides the high-low price range of the block into discrete rows, distributes bar volume across overlapping rows, and visually plot

Indicator v4 VolumeSupport & resistance Repaints Archived
Updated 2 years ago · MPL-2.0 GitHub repository of Poor Man's Volume Profile
23 stars

DeltaFlow Volume Profile builds a price-bin volume profile over a user-set lookback and draws it on the price chart to the right of the last bar. It splits each bin into bullish and bearish volume by comparing close with open, then scales bar length to the bin

Indicator v6 VolumeSupport & resistance Repaints
Updated 3 weeks ago · Custom licence GitHub repository of DeltaFlow Volume Profile [BigBeluga]

This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo

Indicator v6 Support & resistanceSMC / ICT / price action Repaints

ORB Pro - Research-Based ORB

by Mrshahidali420
16 stars

The ORB Pro indicator calculates and plots Opening Range Breakout levels, stop-loss and take-profit zones, signal labels, and an status dashboard on the price chart. Built on academic research, it evaluates trades using an opening-candle direction filter, open

Indicator v6 BreakoutSessions & time Repaints
Updated 3 months ago · None stated GitHub repository of ORB Pro - Research-Based ORB

Key Intraday Levels

by traderdiegox
16 stars

This indicator plots key reference levels directly on the price chart, focusing on Smart Money Concepts (SMC) and intraday trading benchmarks. It identifies and displays previous session ranges, previous opens, and daily and weekly reference points, including

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Key Intraday Levels
16 stars

This overlay indicator visualizes Smart Money Concepts on the price chart. It marks buy-side and sell-side liquidity from selectable 1-minute, 5-minute, 15-minute, and 1-hour swings, then recolors levels after they are swept. It also plots market structure shi

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of PHASE 404 - Smart Money Indicator
13 stars

This script identifies and visualizes bullish and bearish order blocks on the price chart. It detects low-volatility consolidation ranges followed by breakout moves accompanied by high trading volume. Users can select between Simple, Relative, or Weighted volu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of Advanced Order Blocks with Volume
12 stars

This indicator tracks swing highs and lows to detect market structure closures, specifically monitoring C2 and C3 candle closure progressions based on the TTrades Next Candle Model. It draws active, swept, and closed-through swing lines directly on the price c

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of C2 Next Candle Statistics Tracker

RS: Market Profile

by agejevasv
12 stars

This indicator plots a Market Profile on the price chart using time-price opportunity letters or symbols. It marks the point of control, a configurable value area, and the initial balance, and it can highlight a volume-profile point of control and session VWAP

Indicator v5 VolumeSupport & resistance
Updated 2 years ago · None stated GitHub repository of RS: Market Profile

Market Trend

by azamiftikhar1000
12 stars

Market Trend is an overlay indicator that identifies market direction and key price levels. It calculates a Relative Strength Index with Bollinger Bands to construct a 20-step color gradient reflecting momentum shifts. The script incorporates exponential movin

Indicator v4 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Market Trend
11 stars

Calculates upper and lower Donchian Channel bands over a customizable lookback length and plots them on the main price chart. At a specified exchange hour, the strategy places a long buy stop order at the upper Donchian Channel level. Unfilled pending orders a

Strategy v6 BreakoutSupport & resistance
Updated 5 months ago · Apache-2.0 GitHub repository of Estrategia Donchian Breakout

This indicator estimates crypto liquidation levels by tracking Open Interest changes from Binance USDT perpetual contracts. It calculates Open Interest delta spikes relative to a simple moving average and projects estimated liquidation price levels across mult

Indicator v5 Support & resistanceSMC / ICT / price action

Nexural ORB

by JasonTeixeira
9 stars

This indicator plots opening range breakout levels across multiple timeframes, including five, fifteen, thirty, and sixty minutes, directly on the price chart. It also displays the session open and overnight high and low levels. The script calculates an openin

Indicator v6 BreakoutSessions & time
Updated 13 days ago · Custom licence GitHub repository of Nexural ORB
9 stars

This multi-timeframe indicator detects and visualizes Smart Money Concepts (SMC) and ICT market structures on the price chart. It maps higher-timeframe dealing ranges, premium and discount zones, break of structure (BOS), change of character (CHoCH), order blo

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of SMC/ICT Zones Pro Generalized
9 stars

This indicator plots currency strength values for EUR, USD, JPY, GBP, CHF, AUD, CAD, NZD and optionally XAU or XAG on a separate pane. It computes strength by comparing current pair closes to daily closes using broker-specific data from OANDA, FX or FOREXCOM.

Indicator v4 Oscillators & momentumSupport & resistance Repaints
Updated 5 years ago · None stated GitHub repository of 4th Dimension Currency Strength

PA Trade Overlay

by Enesp4rl4k
7 stars

This script plots horizontal trade plan levels generated by an external trade assistant directly onto the price chart. It draws visual lines and text labels for entry, stop-loss, and up to two take-profit targets based on template parameters. Additionally, it

Indicator v6 Support & resistanceScreeners & dashboards
Updated 6 days ago · MIT GitHub repository of PA Trade Overlay
7 stars

This strategy plots DeMark pivot, support, and resistance levels on the price chart. It can keep several historical daily pivots, draw labels and prices, and mark crosses of the pivot. When strategy trading is enabled, it sizes trades from a risk-per-trade per

Strategy v6 Support & resistanceBreakout Repaints
Updated 1 year ago · MPL-2.0 GitHub repository of DeMark Pivot Points Strategy

Signals

by Harshil427
7 stars

Calculates and plots dynamic support and resistance zones alongside manipulation zones directly on the price chart. It identifies price interactions around these levels, generating signals for bullish and bearish breakouts, tests, retests, and rejections. Sett

Indicator v5 Support & resistanceBreakout
Updated 1 year ago · None stated GitHub repository of Signals

FX Market Sessions

by itmakesyousick
7 stars

This indicator highlights key trading sessions directly on the price chart using colored boxes and text labels. It tracks up to three customizable sessions, defaulting to London, New York, and Tokyo, and can display opening ranges, session extensions, and Fibo

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

Calculates price projection ranges over a specified horizon using Monte Carlo simulations via empirical bootstrap or parametric normal distributions. It plots projected price range boundaries directly on the price chart alongside a distribution profile histogr

Indicator v6 Support & resistanceVolatility & bands
6 stars

This indicator detects and visualizes Candle Range Theory (CRT) setups directly on the price chart across defined session windows. It tracks 1-hour and 4-hour key ranges for Asian, London, and New York sessions using higher-timeframe data. The script draws hor

Indicator v6 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT All-Models Visual Suite v6

Swing Points

by eonfutures
6 stars

Calculates and identifies local swing highs and swing lows on the main price chart based on a configurable lookback length. The indicator marks identified pivots with customizable labels and shapes, and can project horizontal lines across the chart from pivot

Indicator v5 Support & resistance
Updated 2 years ago · None stated GitHub repository of Swing Points
5 stars

RG Structure Break-Retest Strategy estimates pivot-constrained support and resistance trendlines and evaluates market regimes. It enters trades upon two-stage break and retest confirmation, scoring setup quality to dynamically scale position sizing between tie

Strategy v6 TrendSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of RG Structure Break-Retest Strategy

PA Indicators

by forecho
5 stars

This indicator plots price action tools directly on the main price chart. It shades candles according to Internal Bar Strength (IBS) and optional wick-length thresholds to differentiate trend bars from trading ranges. The script tracks session bar counts durin

Indicator v6 Candlestick patternsMoving averages
Updated 8 weeks ago · None stated GitHub repository of PA Indicators

TradeKit

by tanishq-rocks
5 stars

TradeKit is an all-in-one technical analysis indicator that consolidates multiple chart overlays into a single script on the price chart. It plots up to four customizable moving averages (SMA, EMA, SMMA, WMA, or VWMA), Bollinger Bands, VWAP, and reference leve

Indicator v6 Moving averagesCandlestick patterns
Updated 3 months ago · MPL-2.0 GitHub repository of TradeKit
5 stars

This strategy executes long trades when price retests the prior week's low level within a specified tolerance and closes above it. Entries are restricted to configurable UTC trading hours, excluding Mondays and late Friday sessions. Stop loss and take profit t

Strategy v5 Support & resistanceSessions & time Repaints
Updated 5 months ago · MIT GitHub repository of WKL v2 — Prior Week Low Retest (Fixed)

ZigZag

by rubystar0512
5 stars

This library calculates ZigZag pivots and draws connecting lines on the price chart. It changes direction when price moves beyond a percentage deviation after a set pivot depth, then stores each pivot with optional labels for reversal price, cumulative volume,

Library v5 Support & resistance
Updated 2 years ago · None stated GitHub repository of ZigZag

HTF Raid Indicator

by jerryinyang
5 stars

HTF Raid Indicator plots higher timeframe candle overlay boxes and tracks liquidity raids directly on the price chart. It calculates higher timeframe open, high, low, and close values using a custom tracking function and renders the higher timeframe candles us

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

Custom AAVWAP

by ak2k2
5 stars

Custom AAVWAP is an indicator that automatically calculates and plots three Anchored Volume Weighted Average Price (AVWAP) series directly on the price chart. It locates the highest price, lowest price, and highest volume bars within a user-defined lookback pe

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

ICT Time Range

by vitahoang
5 stars

This overlay indicator marks configurable trading sessions and higher-timeframe ranges on the price chart. It draws session boxes with optional high, low, open, and middle lines, labels, and background shading, and it can extend those lines through a chosen ti

Indicator v5 SMC / ICT / price actionSessions & time
Updated 3 years ago · None stated GitHub repository of ICT Time Range
4 stars

Meridian Futures Levels plots session structure for US index futures on the price chart. It marks the full futures session, overnight high and low, an optional overnight midpoint, and the regular-trading-hours open. It draws a configurable opening range with m

Indicator v6 Sessions & timeSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of Meridian - Futures Levels

Alert Examples

by trugurpala
4 stars

This indicator calculates fast and slow exponential moving averages along with RSI for detecting crossovers and overbought/oversold conditions. It plots the two EMAs on the price chart with dynamic coloring and displays triangle shapes on crossovers. Bullish c

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Alert Examples

Confluence Pivot Zones [FEELS]

by VolodymyrFilias
4 stars

Confluence Pivot Zones identifies recent high and low swing pivots and clusters nearby levels into support and resistance zones based on ATR distance. It scores these confluence zones by strength and volume details while filtering out zones that do not meet th

Indicator v6 Support & resistance
Updated 4 months ago · MIT GitHub repository of Confluence Pivot Zones [FEELS]

FluidTrades - SMC Lite

by ShabbirHasan1
4 stars

FluidTrades - SMC Lite identifies Smart Money Concepts (SMC) market structure elements directly on the main price chart. It plots supply and demand zones as styled boxes, along with optional zig-zag structure lines and price action labels such as higher highs,

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · Custom licence GitHub repository of FluidTrades - SMC Lite

AYDIN-FIBO V2

by Kalumur
4 stars

This indicator plots three EMAs with customizable lengths, narrow and wide Bollinger Bands, ALMA with adjustable offset and sigma, and multiple Fibonacci retracement levels on the price chart. It generates buy and sell signals on EMA5 crossing EMA13. Main sett

Indicator v5 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of AYDIN-FIBO V2

This indicator combines three Exponential Moving Averages (EMAs), imbalance gap detection, and a volume profile on the main price chart. It plots customizable short, medium, and long-term EMAs while highlighting Fair Value Gaps (FVG) and Opening Gaps (OG). Add

Indicator v5 Moving averagesSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of Imbalance + 3EMA + Volume Profile
4 stars

Auto Trendline automatically identifies fractal pivot points on the price chart and connects them to draw trendlines. It scans for higher highs, lower highs, higher lows, and lower lows over a customizable fractal period. Users can configure colors and visibil

Indicator v5 Support & resistanceTrend
Updated 3 years ago · None stated GitHub repository of Auto Trendline [DojiEmoji]
4 stars

Calculates the Center of Gravity oscillator to identify momentum and potential turning points. It plots the oscillator alongside an Arnaud Legoux Moving Average trigger line, a Least Squares Moving Average, historical high and low bounds, and optional Fibonacc

Indicator v4 Oscillators & momentumSupport & resistance
Updated 3 years ago · None stated GitHub repository of Center Of Gravity Oscillator
4 stars

This indicator plots standard pivot points on the price chart using prior high, low, and close. It supports Traditional, Fibonacci, Woodie, Classic, Demark, and Camarilla calculations and can show daily, weekly, and monthly levels together. Users choose how ma

Indicator v5 Support & resistance Repaints
Updated 4 years ago · None stated GitHub repository of Pivot Points Standard

SupRes[tytyd]

by setyadhiputrad
4 stars

SupRes[tytyd] is an overlay indicator that calculates and plots dynamic short-term and long-term support and resistance levels directly on the price chart. Using configurable lookback periods, it tracks recent price highs and lows to draw support and resistanc

Indicator v4 Support & resistance
Updated 5 years ago · GPL-3.0 GitHub repository of SupRes[tytyd]

OPTD — Opening Range (ORB)

by drewautomates
3 stars

This indicator plots an opening-range high, low, and midpoint on the price chart. The levels build during a user-defined opening window and remain visible through the regular session before resetting the next day. A breakout marker appears after a chosen numbe

Indicator v6 BreakoutSessions & time
Updated yesterday · Custom licence GitHub repository of OPTD — Opening Range (ORB)
3 stars

Zigzag Impulse Stats calculates statistical metrics across dynamic zigzag segments overlayed on the price chart. It measures segment ratio, depth, heterogeneity, uniformity, trendline deviation, candle deviations, and envelope area. An optional Impulse Mode hi

Indicator v6 TrendSupport & resistance Repaints
Updated 4 days ago · MIT GitHub repository of Zigzag Impulse Stats

ATR Pip Control

by ricksimpsontrading
3 stars

ATR Pip Control is a volatility indicator that plots adaptive upper and lower bands based on ATR calculations. It draws signal triangles, labels, and bar colors on the price chart for breakout direction. Local end support and resistance lines appear on both si

Indicator v6 Volatility & bandsBreakout Repaints
Updated 9 days ago · None stated GitHub repository of ATR Pip Control

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