Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 17)

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

2 stars

This indicator detects and draws trendlines, zones, and neutral bands directly on the price chart. It generates long and short breakout signals when price breaches detected trendlines, displaying configurable target and stop-loss lines based on an adjustable r

Indicator v5 BreakoutSupport & resistance
Updated 7 months ago · None stated GitHub repository of SilverHawk Trendline Breakouts

This indicator calculates grid range boundaries for the Grid Bot system using two moving averages. It supports nine different moving average types, including SMA, EMA, HMA, DEMA, TEMA, and ZLEMA, across customizable fast and slow periods. Users can configure d

Indicator v6 Moving averagesSupport & resistance Repaints
Updated 8 months ago · MIT GitHub repository of Grid Bot [Grid Range Plugin] Two Moving Averages

Smart Money / LIT - M1 Structure & OB

by ifreddyman2014-tech
2 stars

This overlay indicator marks market structure on the price chart. It finds swing highs and lows with a configurable pivot length, flags displacement candles whose body exceeds the recent average body by a set factor, and can label breaks of structure. It also

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Smart Money / LIT - M1 Structure & OB

HAZZONES

by ashwagamma
2 stars

This indicator plots support and resistance zones on the price chart using Heikin Ashi data. It detects strong bullish and bearish trends by counting consecutive Heikin Ashi candles that meet specific body and wick conditions. Up to 15 support and 15 resistanc

Indicator v5 Support & resistanceCandlestick patterns
Updated 1 year ago · None stated GitHub repository of HAZZONES

Tik 2 USD

by keiru517
2 stars

Tik 2 USD is an overlay indicator that plots a grid of fixed price level lines and entry/exit offset lines across a user-defined price range. It uses a loop between specified start and end ratios to draw main target levels along with intermediate subdivided ra

Indicator v6 Support & resistance
Updated 1 year ago · None stated GitHub repository of Tik 2 USD

Mc War OB + EMA

by tuanmcwar
2 stars

Plots 34-period and 89-period exponential moving averages alongside Smart Money Concept order blocks directly on the price chart. It visualizes bullish and bearish order block zones as customizable boxes, identifies confluence between order blocks and fair val

Indicator v5 SMC / ICT / price actionMoving averages
Updated 2 years ago · None stated GitHub repository of Mc War OB + EMA
2 stars

Weekend Trend Trader Overlay plots a 20-bar highest close as a resistance line and a ratcheting trailing stop on the price chart. It reads a chosen index, by default NASDAQ:NDX, on the chart timeframe and compares that close with a 10-bar simple moving average

Indicator v5 TrendSupport & resistance
Updated 2 years ago · None stated GitHub repository of Weekend Trend Trader Overlay
2 stars

Combined Candle Counter overlays multiple technical analysis tools directly onto the price chart. It features configurable EMA and SMA moving average presets with automated toggles based on intraday, daily, or weekly timeframes. The indicator draws 52-week hig

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

Saty Pivot Ribbon

by mikah13
2 stars

Saty Pivot Ribbon plots a three-EMA ribbon on the price chart to show trend direction and dynamic support or resistance. Fast, pivot, and slow exponential moving averages form two colored clouds that switch between bullish and bearish colors. Optional convicti

Indicator v5 TrendMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of Saty Pivot Ribbon

HTF Candles & Pivots

by itmakesyousick
2 stars

This multi-functional indicator overlays higher timeframe (HTF) candles directly on the main chart alongside custom pivot points and an anchored Volume Profile. It calculates pivot levels from R5 to S5, Central Pivot Range (CPR), and price range forecasts whil

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

My CPR V2.0

by srinivas-yarramsetti
2 stars

An overlay indicator that calculates and plots Central Pivot Range levels alongside standard pivot points on the price chart. It computes daily, weekly, and monthly pivot lines including Central Pivot, Top Central, and Bottom Central, as well as three tiers of

Indicator v4 Support & resistance Repaints
Updated 3 years ago · None stated GitHub repository of My CPR V2.0
2 stars

This indicator plots a momentum-based ZigZag on the price chart from a QQE calculation driven by a multi-timeframe RSI. It marks bullish and bearish ZigZag segments, optional divergence and convergence between price and that RSI, and an optional Supertrend lin

Indicator v5 Oscillators & momentumDivergence
Updated 3 years ago · None stated GitHub repository of Modified Momentum QQE-ZigZag

LevelZ

by ClimberMel
2 stars

LevelZ plots key session-based price levels directly on the main price chart. It calculates and displays the open, high, and low of the current regular trading hours (RTH) session, the overnight session high and low, and yesterday's RTH open, high, low, and cl

Indicator v5 Support & resistanceSessions & time Repaints
Updated 4 years ago · MIT GitHub repository of LevelZ

Impulse

by DaniilOkrug
2 stars

Impulse marks the start of a two-candle bullish or bearish push on the price chart when the second candle stays beyond a Fibonacci fraction of the first candle's range. It tracks each move's high and low, cancels the setup if price crosses back through the cho

Indicator v5 Candlestick patternsSupport & resistance
Updated 4 years ago · MIT GitHub repository of Impulse

Gamma/X Session Sweeps

by OverleveragedWhale
1 stars

An indicator that looks for a sweep and reclaim of the prior session's high or low during the first hour after the Asia, London and New York opens. Setups are marked on the price chart with a stop past the sweep, a fixed ES or NQ point target and an optional b

Indicator v6 SMC / ICT / price actionSessions & time
Updated 2 days ago · None stated GitHub repository of Gamma/X Session Sweeps
1 stars

Detects liquidity sweeps around higher-timeframe compression zones and generates reversal trade signals. It screens setups using four layers: compression zones, volume vacuum detection, sweep classification (spike or grind), and pressure gradient momentum. An

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · None stated GitHub repository of Liquidity Echo[BullByte]

Draws weekly and monthly volatility forecast levels on the price chart from a text block pasted into a settings box. Lines show 75th percentile and median ranges for five-day and month high-low and open-close moves, together with week open, week high and low,

Indicator v6 Volatility & bandsSupport & resistance
1 stars

This script is a deprecated compatibility stub for the Market Lab indicator. It intentionally plots no data on the price chart and emits no formulas, signals, or alerts. The purpose of this stub is to direct users toward the canonical Market Lab script. The as

Indicator v6 Screeners & dashboardsSupport & resistance
Updated 2 days ago · AGPL-3.0 GitHub repository of DEPRECATED - use canonical Market Lab

Imbalance

by teshmi9z-beep
1 stars

An indicator that highlights imbalances, or fair value gaps, with yellow boxes on the price chart. It looks at three-bar sequences and draws a box where the low of one bar and the high of the bar two candles later do not overlap, in either direction. A strict

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

A multi-part overlay that combines a Gravity Squeeze module, supply and demand inflection zones and optional pivot levels. The squeeze module filters by minimum volume and a maximum ADX and can draw shark icons and support markings. Inflection zones are boxes

Indicator v6 Support & resistanceVolatility & bands Repaints

Booming Bulls Sniper

by jayadevrana
1 stars

Implements liquidity sweep and prop firm breakout strategies inspired by the Booming Bulls methodology. The script monitors previous-day, previous-week, and current-day highs and lows for liquidity sweeps where price wicks beyond a level without closing past i

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of Booming Bulls Sniper

j14-E1 adv

by moonyroy
1 stars

This indicator plots ZigZag lines connecting swing highs and lows to map price structure. It draws candle body and shadow boxes on the price chart and detects CHoCH for potential trend shifts and BOS for continuation signals. The main setting toggles candle di

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

A Pine v6 research strategy for slower accumulation on crypto charts. It uses fast and slow trend EMAs, a weekly higher timeframe filter, an RSI accumulation threshold and a multi-timeframe regime cascade. Up to three entries can be added with a minimum bar ga

Strategy v6 TrendSupport & resistance
Updated 12 days ago · MIT GitHub repository of Crypto TA Pro Long Term Hold Companion

Fractal Model

by Just-beyond-z
1 stars

An overlay that draws higher-timeframe candles beside the live chart so the structure of larger candles can be read while trading a lower timeframe. Up to six timeframes can be shown, from 15 minutes to daily, in automatic or manual selection, with a set numbe

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

A strategy visualizer, with no real orders, that tracks a 200-bar moving average of lows on the 1-hour timeframe. When price touches the average it arms, then marks long or short entries on a wick rejection seen on 5 or 15 minute candles, or a run of three sam

Indicator v6 Mean reversionSupport & resistance Repaints
Updated 2 weeks ago · None stated GitHub repository of MA200 Wick Rejection

Ichimoku Cloud

by AkashSasikumar47
1 stars

The Ichimoku Cloud indicator plots five lines: Conversion Line, Base Line, Lagging Span, Leading Span A, and Leading Span B, forming a cloud on the price chart. It shows trend and momentum by position relative to the cloud: above green is bullish, below red is

Indicator v6 TrendMoving averages
Updated 2 weeks ago · MIT GitHub repository of Ichimoku Cloud

Fibow

by moonyroy
1 stars

Fibow is an intraday trading strategy that tracks daily price extremes to calculate directional Fibonacci support and resistance levels. It monitors price action for Pin Bar and Engulfing candlestick patterns reacting at key Fibonacci retracement thresholds. U

Strategy v6 Support & resistanceCandlestick patterns
Updated 3 weeks ago · None stated GitHub repository of Fibow
1 stars

Computes support and resistance zones on the chart by clustering 1h moving averages, Bollinger bands, daily pivots, volume profile levels and optionally the previous day high and low. It reads weekly, daily, 4h and 1h trend bias and moves a status through wait

Indicator v5 Support & resistanceVolatility & bands Repaints
Updated 3 weeks ago · None stated GitHub repository of Options Short Ladder (Auto)
1 stars

The indicator calculates confirmed pivot highs and lows on up to three user-selectable timeframes using source-timeframe closed bars only. It identifies the nearest resistance above and support below the current price by comparing candidates from each timefram

Indicator v6 Support & resistanceTrend Repaints
Updated 3 weeks ago · MIT GitHub repository of MTF Nearest Support / Resistance

Lunch Range Breakout

by JACKZHOU0521
1 stars

The Lunch Range Breakout indicator identifies and plots a midday consolidation range based on configurable exchange-time hours, defaulting to 11:30 through 13:30. Once the window closes, it plots the session high and low levels directly on the price chart. The

Indicator v6 BreakoutSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Lunch Range Breakout

Liquidity Map

by mrme000m
1 stars

A Pine v5 indicator that overlays a set of reference levels on the price chart. It plots VWAP, 50 and 200 EMAs, a 24-bar high and low, the latest swing high and swing low, a volume point of control approximated from the highest-volume bar, and ATR-based stop r

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 weeks ago · None stated GitHub repository of Liquidity Map

This overlay indicator marks the high and low of four Smart Money Concepts killzones on the price chart. It tracks the Asian range, London open, New York morning, and London close using America/New_York session windows so daylight saving shifts stay aligned. W

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 7 weeks ago · MPL-2.0 GitHub repository of Session Highs and Lows Indicator (SMC Sessions, DST-safe)

Bitmoon System

by morindok
1 stars

Bitmoon System projects mirrored price levels and symmetric price bands directly onto the main price chart. It calculates geometric mirror reflections using central and secondary user-selected price pivots and reference timestamps. The indicator identifies his

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

Leg Delta Profile

by Robwhitlow3
1 stars

This indicator plots a horizontal net delta histogram on the price chart for the current active swing leg, from the last confirmed pivot to the current bar. Delta is approximated using lower-timeframe sub-bars, classifying volume as ask or bid based on close v

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

Smart Money Concepts Pro

by BrandonFreire
1 stars

A smart money concepts indicator for the price chart that labels internal and swing market structure as break of structure or change of character, with filters and a confluence option. It can draw internal and swing order blocks, strong and weak highs and lows

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Smart Money Concepts Pro
1 stars

A chart-overlay indicator meant for 4-hour charts that combines several filters: a Heikin-Ashi MACD read from the daily timeframe without future data, an approximate volume profile with value area, a swing-anchored VWAP, a squeeze momentum reading built from B

Indicator v6 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of POC VA MACD HA v8 4H Daily
1 stars

This Pine Script indicator plots daily support and resistance levels for XAUUSD gold at 08:00 SGT on weekdays. It finds resistance by backward searching 5-minute candles until the 07:55 candle close exceeds the 07:50 high, then repeats for support when the clo

Indicator v5 Support & resistanceVolatility & bands
Updated 2 months ago · None stated GitHub repository of Gold 08:00 SGT Support/Resistance

OB REACT

by Jitheandra98
1 stars

This indicator detects bullish and bearish order blocks on the price chart following swing pivot breaks of structure. It highlights unmitigated supply and demand zones, flagging broken zones as dead to prevent breaker re-entries. The script tracks first-touch

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of OB REACT
1 stars

This indicator plots options Max Pain strike price levels for HYPE from Deribit as horizontal dashed lines on the price chart. Each line extends from the current bar to the expiration settlement timestamp, with line thickness dynamically scaled to relative ope

Indicator v6 Support & resistance
Updated 3 months ago · MIT GitHub repository of HYPE Max Pain (Deribit)

Buddha Market Levels

by DarthBuddha
1 stars

A chart-overlay indicator that draws key intraday reference levels as lines and labels. These include premarket, today, overnight and after-hours highs and lows, the day's open, and shaded opening ranges for the Globex, Asia, London and New York sessions, each

Indicator v6 Support & resistanceSessions & time Repaints
Updated 3 months ago · MIT GitHub repository of Buddha Market Levels

FVG Hunter Pro v3

by DANIELMANZRU
1 stars

An indicator that draws unmitigated bullish and bearish fair value gaps, with a dashboard stating whether to trade long, trade short, wait or stay flat. Gaps pass filters for size, impulse versus ATR, candle body and volume, plus an EMA trend filter and a prem

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of FVG Hunter Pro v3

This strategy calculates multiple technical indicators including EMAs, SuperTrend, ADX, RSI, MACD, Stochastic, and volume MA to generate entry signals for Indonesian stocks. It supports three entry trigger modes: Composite Score, Pullback, and Breakout, with f

Strategy v6 TrendOscillators & momentum
Updated 3 months ago · MIT GitHub repository of Saham: Papan Gerak Strategy By. Akhmfz
1 stars

This indicator identifies Smart Money Concepts market structure directly on the price chart. It detects swing points to label higher highs, higher lows, lower lows, and lower highs based on pivot or session seed calculations. The script marks Break of Structur

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of SMC Market Structure Indicator
1 stars

A strategy version of an ICT optimal trade entry indicator. It finds a swing leg, applies a confluence score from structure shift, liquidity sweep, fair value gap, killzone and higher-timeframe bias, then places a limit entry inside the OTE zone, 0.705 by defa

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of OTE Strategy Confluence

ManipulationX + Liquidity Sentiment is an SMC chart overlay indicator for tracking liquidity, session ranges, and market structure. It detects multi-timeframe Fair Value Gaps (15m, 1h, 4h), inverted FVGs, liquidity sweeps, and Draw on Liquidity swing levels. I

Indicator v6 SMC / ICT / price actionSessions & time
Updated 4 months ago · None stated GitHub repository of ManipulationX + Liquidity Sentiment
1 stars

A price-chart overlay for gold scalping that labels BUY WAIT, SELL WAIT, BUY CONFIRMED and SELL CONFIRMED states. It combines market structure from pivots, liquidity sweeps, candlestick confirmation, breakout and retest logic, an optional higher-timeframe filt

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Abed XAUUSD SMC Scalping PRO v1
1 stars

The Institutional Levels Dashboard v7 indicator plots multi-timeframe key levels on the price chart including previous day, week, month and quarter highs and lows. It displays labeled lines for these levels plus round number grids, previous same-day high and l

Indicator v6 Support & resistanceScreeners & dashboards Repaints
Updated 5 months ago · Custom licence GitHub repository of Institutional Levels Dashboard v7
1 stars

An overlay indicator that follows the Asia, London and New York sessions in a chosen timezone, drawing session highs, lows and opening ranges. It marks sweeps and reclaims of earlier session levels, works out a session bias and lists it on a dashboard whose co

Indicator v6 Sessions & timeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Session Bias v2 Companion

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