Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 13)

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

Resistance 20 Periods

by jpiedrafita
2 stars

This indicator calculates and plots the highest close price over the preceding 20 bars directly on the main price chart. Designed to highlight key resistance levels and potential breakout points, it displays a single gray line representing the rolling 20-perio

Indicator v5 Support & resistanceBreakout
Updated 2 years ago · None stated GitHub repository of Resistance 20 Periods
2 stars

This indicator overlays multiple moving averages on the price chart including 5, 10, 21, 30, 50, 150 and 200 period EMAs and SMAs. It draws D-Day markers with labels, identifies buying and selling climaxes, plots 52-week high and low levels, and detects VIX in

Indicator v5 Moving averagesSupport & resistance Repaints
Updated 2 years ago · MIT GitHub repository of Combined Candle Counter

Saty ATR Levels

by mikah13
2 stars

Saty ATR Levels calculates projected support, resistance, trigger, and target levels overlaid on the price chart using Average True Range and Fibonacci ratios. It supports multiple trading modes, including Day, Multiday, Swing, Position, and Long-term options.

Indicator v5 Volatility & bandsSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of Saty ATR Levels

HTF Candles & Pivots

by itmakesyousick
2 stars

This indicator overlays higher-timeframe candles and traditional pivot levels on the price chart. It draws open-close or high-low candle bodies, optional wicks, and history modes that include shifting the previous higher-timeframe candle onto the current one.

Indicator v5 Candlestick patternsSupport & resistance
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

Smart Money Concepts [LuxAlgo]

by srinivas-yarramsetti
2 stars

This indicator plots Smart Money Concepts elements on the price chart including internal and swing order blocks, bullish and bearish structures with BOS and CHoCH breaks, fair value gaps, equal highs and lows, and swing points. It can color candles according t

Indicator v5 SMC / ICT / price actionCandlestick patterns Repaints
Updated 3 years ago · None stated GitHub repository of Smart Money Concepts [LuxAlgo]

This indicator overlays a Supertrend calculation with filled trend zones and ATR-based premium or discount offset lines directly on the price chart. Upon direction changes in the Supertrend, it identifies highest highs and lowest lows during the preceding tren

Indicator v5 TrendSupport & resistance
Updated 3 years ago · None stated GitHub repository of [JL] Supertrend Zone Pivot Point with Zigzag Fib

Manual DR w/ Waddah

by theupslidedown
2 stars

This indicator calculates and displays Defining Range (DR) and implied Defining Range (iDR) levels across selected trading sessions, such as main, early, and Asian ranges. It plots session high and low lines, extended projections, range boxes, and Fibonacci le

Indicator v5 Support & resistanceSessions & time
Updated 3 years ago · None stated GitHub repository of Manual DR w/ Waddah

Initial Balance

by MuMuLLC
2 stars

The Initial Balance indicator highlights high, low, and 50% midpoint levels calculated over a defined session timeframe, such as the opening hour. It draws primary initial balance bounds, optional extended x2 projection levels, intermediate 50% levels, and sha

Indicator v5 Support & resistanceSessions & time
Updated 3 years ago · MIT GitHub repository of Initial Balance

Breaking fractals

by DaniilOkrug
2 stars

This strategy identifies trend changes using fractals from a higher timeframe and the current chart timeframe. It opens buy or sell orders on breaks of lower-timeframe fractals aligned with the higher-timeframe trend. Normal trading mode exits on trend reversa

Strategy v5 TrendBreakout
Updated 4 years ago · MIT GitHub repository of Breaking fractals

Gamma/X Killzone Sweeps (strategy)

by OverleveragedWhale
1 stars

A strategy version of the killzone sweep idea. In the Asia, London, New York AM and PM windows it waits for the previous killzone's high or low to be swept and reclaimed, then enters on the close with a stop just past the wick and a fixed point target for ES o

Strategy v6 SMC / ICT / price actionSessions & time

Auto Trend Lines

by majixai
1 stars

An indicator that finds small and large pivot highs and lows and automatically draws trend lines through them on the price chart. A line proximity filter based on ATR reduces clutter, and a breakout is flagged after a set number of consecutive closes beyond a

Indicator v6 Support & resistanceBreakout
Updated 2 days ago · None stated GitHub repository of Auto Trend Lines
1 stars

Draws confluence zones and options open interest levels on the price chart from a text block pasted into a settings box. Zones are coloured by how many layers of levels overlap (two, three, or four and more), and can be limited to volume-anchored zones. Open i

Indicator v6 Support & resistance
Updated 2 days ago · None stated GitHub repository of C.og - Confluence Zones + OI v2

Muster-Scanner v9.1

by mohidamini-prog
1 stars

A chart pattern scanner that confirms pivots after a set number of bars and then draws classic formations on the price chart, including head and shoulders, double and triple tops and bottoms, triangles, rectangles, wedges, megaphones and V reversals, plus gold

Indicator v5 BreakoutSMC / ICT / price action
Updated 2 days ago · None stated GitHub repository of Muster-Scanner v9.1
1 stars

A rule-based smart money confluence indicator for the price chart, with a recommended 15-minute chart. It scores a higher timeframe EMA bias, break of structure, liquidity sweep, fair value gap point of interest and rejection candle, then grades setups by scor

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · None stated GitHub repository of TraderWatch SMC/ICT Confluence v6
1 stars

This indicator overlays rolling cost anchors, volatility-derived GetDelta bands, and liquidity provider ranges onto the price chart alongside pinbar candlestick detection. It calculates market valuation zones, shading discount and premium areas while tracking

Indicator v6 Candlestick patternsVolatility & bands
Updated 2 days ago · AGPL-3.0 GitHub repository of BL-ESW Pinbar Market Lab Pro

Custom Imbalance

by teshmi9z-beep
1 stars

A simple indicator that draws boxes on the price chart over fair value gaps, also called imbalances. A bullish gap is flagged when the current low is above the high from two bars earlier, and a bearish gap when the current high is below the low from two bars e

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · MIT GitHub repository of Custom Imbalance

RCCE Scanner v6

by cianfru
1 stars

A strategy that combines four engines into one signal: a Z-score regime classifier, a weekly midline heat score, an exhaustion detector for absorption and climax bars, and a synthesizer that weighs them using confidence thresholds. Entries and exits appear as

Strategy v6 TrendVolatility & bands Repaints
Updated 3 days ago · None stated GitHub repository of RCCE Scanner v6

IQ Trend Beams

by ankurksoni
1 stars

A price-chart overlay that fits trend support and resistance channel lines using a Kalman-filter based engine fed by intrabar volume and price data. Lines are shown forming, then lock in place and are later restyled as broken history. A tempo mode of fast, med

Indicator v6 Support & resistanceTrend
Updated 3 days ago · None stated GitHub repository of IQ Trend Beams

Elliott Wave Impulse

by arnjesix
1 stars

An overlay that builds a zigzag from pivot highs and lows over a chosen length and searches those pivots for a five-wave Elliott impulse structure within an error tolerance. When one is found it draws the wave lines, labels and target levels on the price chart

Indicator v4 Support & resistance Repaints
Updated 5 days ago · MIT GitHub repository of Elliott Wave Impulse

j14-E1 adv

by moonyroy
1 stars

j14-E1 adv is an overlay indicator that maps higher-timeframe price structure on the chart. It builds a developing higher-timeframe candle as a wick box and a body box, tracks whether the last bar is inside the previous range, and draws aqua and orange zigzag

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 6 days ago · None stated GitHub repository of j14-E1 adv

ATAS Levels

by ElroyvOuwerkerk
1 stars

An indicator that redraws levels exported from an ATAS workspace onto a TradingView chart. The user pastes a text feed of lines, rectangles and full-width zones, and the script draws those matching the chart's ES or NQ family with their labels, colours and tim

Indicator v6 Support & resistance
Updated 8 days ago · None stated GitHub repository of ATAS Levels

A strategy that defines a 30-minute range, waits for a breakout, then looks for a retracement into a configurable percentage band before entering on a lower-timeframe trigger. The range can be each closed 30-minute candle, the session opening range, or a matur

Strategy v6 BreakoutSupport & resistance Repaints
Updated 8 days ago · GPL-3.0 GitHub repository of 30m Range Retracement + 5m Entry Strategy

Phantom Flow Core

by darup67
1 stars

A price-chart indicator that combines an ATR trend line, similar to a SuperTrend with a configurable multiplier and source, with market structure tools. The trend line switches colour and prints buy and sell labels when the trend flips, with an optional backgr

Indicator v6 TrendSMC / ICT / price action Repaints
Updated 8 days ago · Custom licence GitHub repository of Phantom Flow Core

An earlier Pine v6 version of a day trading research strategy for crypto charts. It combines RSI, Fibonacci Bollinger Bands, trend moving average, Ichimoku, pivot support and resistance, candlestick and chart pattern modules into a weighted score. A trading se

Strategy v6 Support & resistanceSessions & time
Updated 12 days ago · MIT GitHub repository of Crypto TA Pro Day Trading S/R Execution v2

Donchian Breakout

by quantxaashish
1 stars

Donchian Breakout identifies potential momentum shifts based on Donchian channel extremes. It calculates highest highs and lowest lows across a user-defined lookback period. A bullish signal triggers when the current high matches or exceeds the channel high an

Indicator v5 BreakoutTrend
Updated 2 weeks ago · MIT GitHub repository of Donchian Breakout

Fractal

by Just-beyond-z
1 stars

An overlay that draws a projection of higher-timeframe candles next to the chart and tracks a sweep, confirmation and change-in-state-of-delivery sequence between a lower and a higher timeframe. The pair can be set automatically or by hand, with a bias option,

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 weeks ago · None stated GitHub repository of Fractal
1 stars

Williams Swings V2 plots short-term, intermediate-term and long-term swing zigzags on the price chart and marks key and critical levels for each horizon. It flags break-of-structure events and optional critical-break and key-warning alerts. Settings control st

Indicator v6 Support & resistanceSMC / ICT / price action

Fibonacci Retracement

by AkashSasikumar47
1 stars

This indicator automatically calculates and plots Fibonacci retracement and extension levels directly on the price chart. Utilizing a ZigZag library to identify major price swings, it draws horizontal levels corresponding to key ratios such as 0.236, 0.382, 0.

Indicator v6 Support & resistance Repaints
Updated 2 weeks ago · MIT GitHub repository of Fibonacci Retracement
1 stars

A test script that plots a long list of built-in values on the price chart so a converter can be checked against exported chart data. It includes Supertrend, parabolic SAR, VWAP with weekly bands, volume indicators such as OBV and accumulation distribution, pi

Indicator v6 TrendVolume Repaints
Updated 3 weeks ago · Apache-2.0 GitHub repository of AlphaResin Conformance 2

Fibonacci SR Strategy

by moonyroy
1 stars

This strategy identifies bullish and bearish Pin Bar or Engulfing candlestick patterns interacting with Fibonacci levels calculated from a 1,440-bar lookback range. It enters long or short positions when a valid candlestick pattern crosses a Fibonacci level. E

Strategy v6 Support & resistanceCandlestick patterns
Updated 3 weeks ago · None stated GitHub repository of Fibonacci SR Strategy

Options Ladder

by rahul43177
1 stars

Draws an options entry plan on the price chart from a text line pasted into a settings box. The pasted line can carry a status, expiry, near and structural resistance and support bands, a trigger zone, a best candidate strike with premium, alternatives, invali

Indicator v5 Support & resistance
Updated 3 weeks ago · None stated GitHub repository of Options Ladder

[ad] SFP + FVG / IFVG

by amadeo987
1 stars

This overlay indicator draws swing-based liquidity levels, fair value gaps and inverted fair value gaps on the price chart. It marks a sweep as RAW after a wick takes a swing and price closes back, then shows a short confirmation label after a later close beyo

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of [ad] SFP + FVG / IFVG

FVG Screener TW

by gplee789-afk
1 stars

This indicator scans up to 40 symbols across a user-defined timeframe to identify Smart Money Concepts Fair Value Gaps, Inversion FVGs, displacement bars, and internal order blocks. It calculates a weighted quality score for each gap, monitors price proximity,

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 4 weeks ago · MPL-2.0 GitHub repository of FVG Screener TW
1 stars

An overlay that finds bullish and bearish order blocks from a pattern across several candles, with an adjustable lookback, and draws boxes that extend a set number of bars. Blocks below a minimum size in ATR multiples are skipped, and mitigation is judged by w

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · MIT GitHub repository of Enhanced Roman Order Block

ORB + ICT Backtest Strategy v2

by mccallister-dev
1 stars

This strategy defines opening range breakouts within Asian, London and New York sessions using ATR-based width and buffer filters. It identifies potential entries on breakout after a retest followed by continuation, applying ICT-style context and SMC proxies f

Strategy v6 BreakoutSMC / ICT / price action
Updated 5 weeks ago · None stated GitHub repository of ORB + ICT Backtest Strategy v2

EQH / EQL Liquidity

by mumbi-dev
1 stars

An overlay indicator that finds pivot highs and lows and marks equal highs and equal lows, the areas where buy-side and sell-side liquidity tend to rest. Pivots must match within a percentage tolerance, sit a minimum number of bars apart and pass an ATR promin

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 weeks ago · MIT GitHub repository of EQH / EQL Liquidity
1 stars

An enhanced version of the ATR SuperTrend-style buy and sell indicator. Signals can be gated by a 9 and 21 EMA cross, and two ATR take profit levels are drawn. A smart money layer adds clustered support and resistance zones, break of structure and change of ch

Indicator v6 TrendSMC / ICT / price action
Updated 6 weeks ago · None stated GitHub repository of Zimpact Buy/Sell v3 Enhanced
1 stars

A Pine v5 indicator, written as the second layer of a gold-focused framework, that reads market direction from moving averages across weekly, daily, 4-hour and 1-hour data. A timeframe is bullish when price sits above 9, 21 and 50 averages in order, bearish wh

Indicator v5 TrendSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Market Direction and HTF Bias

Key Level Confluence

by mrme000m
1 stars

The Key Level Confluence indicator plots support and resistance levels on the price chart. It calculates pivot highs and lows, the point of control from a simplified volume profile, VWAP, EMA50 and EMA200, Bollinger Bands, and ATR-based stop levels. Confluence

Indicator v5 Support & resistanceMoving averages
Updated 7 weeks ago · None stated GitHub repository of Key Level Confluence
1 stars

An overlay indicator that draws a heat map to the right of the last bar showing the estimated probability that price touches each of several levels above and below within growing time horizons. Levels are spaced in ATR or percent steps. The estimate uses a clo

Indicator v5 Volatility & bandsSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of ATLAS Probabilistic Reach Map

Bitmoon System

by morindok
1 stars

The Bitmoon System is an overlay indicator that projects geometric price reflections and symmetric channel levels onto the price chart. It calculates mirrored open, high, low, and close values based on user-defined central and secondary price mirror levels, al

Indicator v6 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Bitmoon System

Delta Pulse

by Robwhitlow3
1 stars

Delta Pulse is a price chart overlay indicator that visualizes orderflow delta in three layers. It approximates delta per bar from lower-timeframe tick data by classifying volume as ask or bid. The gradient map colors bars by z-score of delta using configurabl

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · MIT GitHub repository of Delta Pulse

MM Pro v2

by monikerprivacy-byte
1 stars

MM Pro v2 is a supply and demand zone indicator for TradingView. It calculates swing highs and lows based on user-selected sensitivity levels and minimum swing percentage. The indicator draws persistent zone boxes on the price chart using ATR for width. It als

Indicator v6 Support & resistanceTrend
Updated 2 months ago · None stated GitHub repository of MM Pro v2

Liquidity & Inducements

by BrandonFreire
1 stars

An indicator for the price chart, built on an imported price action library, that marks liquidity events and inducements. It detects grabs, larger grabs, sweeps and turtle soups, each with its own pivot lengths, lookback, timeframe and colour, plus equal highs

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

This strategy plots the Donchian Channel bands on the price chart to identify breakouts. It enters a long position by placing a buy stop order when price breaks above the upper band during a target execution hour. The order remains open until filled or cancele

Strategy v6 BreakoutVolatility & bands
Updated 2 months ago · None stated GitHub repository of Tn Sovereign Donchian Breakout
1 stars

A chart-overlay indicator that extends a volume profile and Heikin-Ashi MACD setup with a swing-anchored VWAP. It plots the point of control and value area edges from a recent window, tracks a VWAP that re-anchors at swing highs and lows with an adaptive smoot

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of POC VA MACD HA v2 VWAP

Alien Wash

by XingHan98
1 stars

Alien Wash is a price-chart indicator that draws the latest green horizontal line at the previous candle high after an up close beyond a USD buffer, and the latest red line at the previous candle low after a down close beyond that buffer. A buy signal fires wh

Indicator v5 Support & resistanceOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Alien Wash

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