Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 45)

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

6 stars

This indicator detects Turtle Soup liquidity sweeps and Candle Range Theory setups directly on the price chart. It checks breakout distances against ATR boundaries while requiring optional volume spikes and momentum shifts to confirm reversal signals or flag i

Indicator v5 SMC / ICT / price actionSupport & resistance
5 stars

This indicator combines pivot-based support and resistance levels with multi-timeframe MACD crossovers and a higher-timeframe exponential moving average trend filter. It identifies support and resistance touches using pivot highs and lows within a user-defined

Indicator v4 Oscillators & momentumSupport & resistance Repaints
Updated 3 years ago · Apache-2.0 GitHub repository of MACD + Support / Resistance
3 stars

Pieki Algo is an all-in-one technical analysis indicator that overlays trading signals, trend visualizers, and Smart Money Concepts onto the main price chart. It plots buy and sell signals based on configurable sensitivity settings, colors candles by trend or

Indicator v5 SMC / ICT / price actionTrend Repaints
Updated 12 months ago · None stated GitHub repository of Pieki Algo Signals & Overlays

IMBA Algo

by TamTH-Dev
2 stars

IMBA Algo is a price chart overlay indicator designed to simulate trading setups with detailed position visualisations. It calculates entry points, automatic or fixed percentage stop losses, break-even levels, and four distinct take profit targets with customi

Indicator v5 TrendScreeners & dashboards
Updated 6 weeks ago · None stated GitHub repository of IMBA Algo

Supply & Demand Zones

by jayadevrana
1 stars

The Supply & Demand Zones indicator calculates and plots potential institutional supply and demand levels directly on the main price chart. It defines base candles by measuring body size against total candle range, and detects impulse candles when candle body

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 4 days ago · MPL-2.0 GitHub repository of Supply & Demand Zones
1 stars

This indicator draws a visible-range volume profile directly on the main price chart as a companion tool for smart money concepts (SMC) analysis. It calculates volume distribution across selectable price rows, plotting high-volume nodes, a configurable Value A

Indicator v6 VolumeSupport & resistance
Updated 4 days ago · None stated GitHub repository of SMC Volume Profile Overlay
1 stars

Calculates a volume profile across a user-selected historical time range and projects it forward from a designated mirror timestamp directly onto the price chart. The script collects price and volume data between start and end timestamps, splits the range into

Indicator v6 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of TimeMirrorVol {Morindok}

A Pine Script v5 indicator in a separate pane that uses Hurst-style bandpass filters on a selectable price source, defaulting to the low, to mark cycle pivots from the 80 day range up to 18 years. Every cycle has its own bandwidth and period setting, plus a ba

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Diamond Notation Pivots 80D to 18Y
1 stars

This overlay indicator builds support and resistance channels from confirmed pivot highs and lows. It groups nearby pivots into channels whose width is limited by a percentage of the recent high-low range, then draws up to a set number of channels on the price

Indicator v4 Support & resistance
Updated 9 months ago · None stated GitHub repository of Support Resistance Channels
55 stars

This indicator automatically identifies swing highs and lows over a 100-bar lookback window on the most recent bar to draw Fibonacci technical overlays. It plots a primary trendline between the detected swing points, alongside extended speed fan lines at stand

Indicator v5 Support & resistance Repaints
Updated 6 months ago · Apache-2.0 GitHub repository of Fibonacci Speed Fan & Time Zones

FairValueGap C003

by ruckard
13 stars

FairValueGap C003 is an overlay strategy that identifies Fair Value Gaps (FVG) and opens trades expecting price to return and fill the gap. It calculates the distance between current price levels and recent gap boundaries to aim for partial or full gap fills.

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FairValueGap C003

714AutoM8tr

by alboogycOdR
6 stars

714AutoM8tr is a Smart Money Concepts indicator that plots internal and swing market structures directly on the price chart. It identifies Break of Structure and Change of Character points alongside internal and swing order blocks. Users can customize order bl

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of 714AutoM8tr
5 stars

This indicator overlays higher-timeframe candles on the price chart as body and wick boxes. It requests open, high, low, close, and bar times from a chosen higher timeframe, then compares stored wick boxes to mark imbalances above or below price. Settings choo

Indicator v4 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of MTF Order Block and Imbalance

This strategy combines MACD momentum signals with support and resistance levels from pivot points and an EMA100 trend filter for long positions. It plots the 100-period EMA on the price chart and signals when price breaks above the EMA or forms bullish pivot p

Strategy v4 TrendOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of MACD + Support / Resistance Long Strategy

Premium Lux Algo

by IAMATOMIC001
3 stars

Premium Lux Algo is a multi-indicator overlay designed for price charts. It combines components including Supertrend, Parabolic SAR, pivot-based support and resistance levels, moving average bands, and range filters into a single tool. Traders can toggle speci

Indicator v5 TrendSupport & resistance
Updated 12 months ago · None stated GitHub repository of Premium Lux Algo

Market Cipher A

by TamTH-Dev
2 stars

Market Cipher A plots an exponential moving average ribbon on the price chart alongside visual trend signals. It computes eight EMAs of varying lengths to construct the ribbon, tracks daily pivot high and low levels, and calculates momentum using internal wave

Indicator v5 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Market Cipher A

BPR [TFO] - Modified

by alvinng214
2 stars

This indicator draws Balanced Price Range zones on the price chart. It looks for a bullish fair value gap and a bearish fair value gap that form within a set number of bars, then boxes their overlapping range when that range is at least the threshold. Boxes ca

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of BPR [TFO] - Modified
2 stars

Calculates Murrey Math Lines support and resistance levels anchored to the largest price impulse found within a rolling lookback window via Kadane's algorithm. It projects fractional Murrey grid lines alongside base and inverse lines with text labels directly

Indicator v6 Support & resistance
Updated 8 months ago · None stated GitHub repository of Rolling Largest Impulse Murreys Lines

Candle Filters

by Web3Degenerate
2 stars

Candle Filters is an overlay indicator that marks bullish and bearish engulfing candles on the price chart. A bullish signal requires a prior down candle whose body is engulfed by the current candle near a swing low, while a bearish signal does the reverse nea

Indicator v5 Candlestick patternsMoving averages
Updated 2 years ago · None stated GitHub repository of Candle Filters

Hurst Peak Marker

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane that runs a bank of Hurst bandpass filters, from 1 day to 18 year cycles, over the hl2 price and marks cycle peaks with labels and lines. Auto or manual modes control cycle selection, peak selection, composite line

Indicator v5 Oscillators & momentumSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker

Trend Lines v2

by webcrack4
1 stars

This indicator automatically draws trend lines on the price chart based on detected pivot points. It identifies pivot highs and lows using a user-specified period and checks combinations of these points to determine valid trend lines that do not get violated b

Indicator v4 TrendSupport & resistance
Updated 9 months ago · None stated GitHub repository of Trend Lines v2
257 stars

Snag - ES 1m Strategy Candle Bar is an overlay strategy designed for 1-minute index futures charts like the S&P 500 E-mini. It plots dynamic support and resistance levels derived from pivot highs and lows alongside a custom smoothed filter line and a 3-period

Strategy v5 TrendSupport & resistance Repaints
Updated 7 weeks ago · None stated GitHub repository of Snag - ES 1m Strategy Candle Bar

Hour Stats with Levels

by TamaraKGreen
46 stars

This indicator draws hourly statistics and reference levels on the price chart. It plots optional target lines for the previous hour open, high, low, and midpoint, plus the current hour open. Dashed reversal lines mark the 25th, median, and 75th percentile swe

Indicator v5 Support & resistanceScreeners & dashboards
Updated 8 weeks ago · None stated GitHub repository of Hour Stats with Levels

FairValueGap D003

by ruckard
13 stars

This strategy measures the distance between the current price and the opposite end of the latest fair value gap, entering trades on the expectation that price will fill the gap. It plots signals and execution levels directly on the price chart. Users can confi

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FairValueGap D003

Assistant

by eddiebelaval
7 stars

Assistant is an overlay indicator that marks candles with small or missing upper and lower wicks, using a threshold relative to body size. It plots three-candle and five-candle swing fractals as triangles two bars back, and fires alerts when a bullish or beari

Indicator v6 Candlestick patternsSupport & resistance
Updated 3 months ago · None stated GitHub repository of Assistant

714AutoM8trDST

by alboogycOdR
6 stars

Calculates Smart Money Concepts market structure elements including internal and swing breaks of structure, change of character, and order blocks directly on the price chart. It highlights bullish and bearish structures, customizable internal and swing order b

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of 714AutoM8trDST

VuManChu B Divergences

by jerryinyang
5 stars

VuManChu B Divergences is a momentum indicator that plots WaveTrend oscillator values and an MFI area in a separate pane. It calculates signals for long entries on bullish crosses below zero levels and short entries on bearish crosses above zero levels. The sc

Indicator v4 Oscillators & momentumSupport & resistance
Updated 2 years ago · None stated GitHub repository of VuManChu B Divergences

The MACD + Support / Resistance Short Strategy is a Pine Script v4 strategy that generates short signals on the price chart. It plots the 100-period EMA as a trend filter, the MACD line and histogram, and pivot highs and lows as support and resistance levels.

Strategy v4 Oscillators & momentumTrend
Updated 3 years ago · Apache-2.0 GitHub repository of MACD + Support / Resistance Short Strategy
3 stars

This indicator overlays smart-money structure on the price chart. It draws supply and demand zones from swing highs and lows, labels those swings as higher or lower highs and lows, and marks zones broken by a close as break-of-structure lines. Fair-value gaps

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

Price Action Concepts [StratifyTrade] identifies smart money concepts directly on the price chart. It plots swing and internal market structure breaks, changes of character, order blocks with volume activity metrics, and equal highs or lows. In addition, it di

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 12 months ago · None stated GitHub repository of Price Action Concepts [StratifyTrade]

Market Cipher SR

by TamTH-Dev
2 stars

This indicator plots daily support and resistance levels, volume-filtered fractal levels, and an optional VWAP overlay on the price chart. It calculates daily pivot highs, lows, and their midpoint, alongside fractal support and resistance based on candle swing

Indicator v5 Support & resistanceVolume Repaints
Updated 6 weeks ago · None stated GitHub repository of Market Cipher SR

cd_sweep&cisd_Cx

by alvinng214
2 stars

This indicator overlays higher-timeframe structure on the price chart. It draws HTF range boxes, an HTF candle, remaining time, and optional bias from a chosen higher timeframe. Sweep boxes mark swept ranges, CISD lines mark delivery shifts, and an SMT view ca

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of cd_sweep&cisd_Cx

Fair Value Gap Strategy

by wynnforthework
2 stars

This strategy identifies and plots Fair Value Gaps (FVG) and Balanced Price Ranges (BPR) directly on the price chart. It generates trading signals when price retraces into active gap zones using a customizable entry ratio coefficient. Stop loss levels are plac

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Fair Value Gap Strategy

My Script

by majixai
1 stars

This indicator draws price data on the chart. It uses a plot budget function to limit the number of plots and displays close, high, and low prices. The script also provides functions to draw dynamic boxes and lines on the price chart. Arrays manage these objec

Indicator v5 Support & resistanceScreeners & dashboards
Updated 2 days ago · None stated GitHub repository of My Script

Hurst Peak Marker V2

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane, the second revision of a Hurst cycle peak marker. It passes the hl2 price through bandpass filters for cycles from 1 day to 18 years and draws labels and lines at cycle peaks. Each cycle has its own bandwidth and

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker V2
114 stars

This indicator calculates key support and resistance levels by analyzing the first and second momentum derivatives of a Double Exponential Moving Average (DEMA). When the second derivative (momentum of momentum) crosses zero, it identifies local turning points

Indicator v4 Support & resistanceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Support and Resistance Levels

Hourly Time Levels

by TamaraKGreen
46 stars

Hourly Time Levels plots opening price horizontal lines and text labels at specific user-selected times of the trading day directly on the main price chart. It marks key intraday timestamps such as midnight, market opens, and specific hourly intervals includin

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Hourly Time Levels

FairValueGap E003

by ruckard
13 stars

Calculates the distance between the current price and the opposite end of the latest fair value gap, entering trades on the expectation that price will partially fill the gap. It incorporates risk management with customizable stop loss, take profit based on ri

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FairValueGap E003
6 stars

This strategy combines Opening Range Breakout (ORB) mechanics with Inner Circle Trader (ICT) concepts like Fair Value Gaps, Order Blocks, and liquidity grabs. It identifies session opening ranges and generates signals when price breaks out with supporting rela

Strategy v5 BreakoutSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Advanced ORB + ICT Strategy
3 stars

This overlay indicator draws supply and demand zones from prior swing highs and lows, treating supply as resistance and demand as support. It places price-action labels at swing points using higher-high, lower-high, higher-low, and lower-low tags. It also plot

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 5 months ago · None stated GitHub repository of CSW Technical-Analysis
3 stars

Price Action Market Structure Sweeps identifies swing and internal market structure events, including Break of Structure (BOS) and Change of Character (CHoCH). It overlays key high and low levels across daily, weekly, monthly, and yearly timeframes, while mark

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 12 months ago · None stated GitHub repository of Price Action Market Structure Sweeps
2 stars

This overlay indicator detects price contractions from confirmed pivot highs and lows. When price later breaks above the contraction high or below the contraction low, it draws a bullish or bearish box between those extremes and a midline at their average. Sep

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 6 weeks ago · None stated GitHub repository of Master Pattern [LuxAlgo]

Hurst Peak Marker V3

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane, the third revision of a Hurst cycle peak marker. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and draws labels and lines where cycle peaks form. Per-cycle bandwidth and period i

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker V3

Combination by Yzz

by webcrack4
1 stars

This indicator merges multiple momentum oscillators including MACD, RSI, Stochastic, CCI, Momentum, OBV, VW MACD, Chaikin Money Flow and Money Flow Index into one chart. It scans for regular and hidden divergences between the chosen indicators to signal potent

Indicator v4 Oscillators & momentumDivergence
Updated 9 months ago · None stated GitHub repository of Combination by Yzz

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