Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 43)

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

46 stars

This indicator draws colored boxes for six four-hour New York sessions, from 6pm through 2pm, and tracks each window's open, high, low, and close. It marks the high of day and low of day and records whether those extremes are later eliminated. A checkpoint tab

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of 4H HOD/LOD Checkpoint Analysis

Exhaustion Scanner is an overlay indicator that measures overextension and reversal risk by evaluating price stretch, momentum exhaustion, and candle triggers. It combines distance from moving averages and Bollinger Bands with momentum oscillators, divergence

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 days ago · MIT GitHub repository of Exhaustion Scanner [WavesUnchained]

XXX

by MeridianAlgo
9 stars

This multi-timeframe scalping strategy plots moving averages alongside Smart Money Concepts elements on the price chart. It calculates trend signals using configurable moving average types like ALMA, Hull MA, or TEMA across alternate timeframes. It also plots

Strategy v5 TrendMoving averages Repaints
Updated 4 months ago · MIT GitHub repository of XXX

2AM-Gold Swing Strategy

by alboogycOdR
6 stars

This indicator plots smart money concepts on the price chart, focusing on session setups initiated at a specified start hour. It calculates swing highs and lows, monitors liquidity sweeps, confirms market structure shifts, and identifies order blocks and fair

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of 2AM-Gold Swing Strategy

VP Sparse Visual Fixture

by 345-strategies
5 stars

This indicator is a visual-design fixture that does not calculate a volume profile. It draws one manually entered, already validated value-area edge, either VAH or VAL, as a thin price zone four ticks wide on the chart. The fixture stays off until enabled, and

Indicator v6 Support & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of VP Sparse Visual Fixture
3 stars

This indicator plots trading signals, swing levels, a trend cloud, and optional take-profit and stop-loss targets directly on the price chart. It calculates advanced historical volatility metrics, including Garman-Klass and Yang-Zhang estimators, to evaluate m

Indicator v5 TrendVolatility & bands
Updated 12 months ago · None stated GitHub repository of Elite Algo Modded By AlgoPoint

This indicator plots Fair Value Gaps, Order Blocks and Threeple patterns on the price chart based on ICT concepts. It draws boxes and lines for potential supply and demand zones using higher-timeframe data across multiple charts. Users set box size (open/close

Indicator v6 SMC / ICT / price actionSupport & resistance

3C QFL Mean Reversal

by wynnforthework
2 stars

This strategy implements a Quickfinger Luc mean-reversion trading model tailored for automated execution. It calculates base support levels and volume moving averages across timeframes to identify sharp price dips below established base levels. The script incl

Strategy v5 Mean reversionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of 3C QFL Mean Reversal

Double Mm With Hhll

by WISEPLAT
2 stars

Double Mm With Hhll is an indicator that plots two separate ZigZag lines on the price chart using different periods. It calculates swing highs and lows for each period and connects them into trend lines with customizable colors for up and down moves, line styl

Indicator v4 TrendSupport & resistance
Updated 3 years ago · None stated GitHub repository of Double Mm With Hhll

SMC Profile Engine

by skipp-dev
1 stars

SMC Profile Engine is a Pine Script library designed to build custom volume profiles on TradingView. It provides structured data types including Bucket, ProfileConfig, and Profile to manage volume calculations across price levels. The library facilitates track

Library v6 VolumeSupport & resistance Repaints
Updated 4 days ago · None stated GitHub repository of SMC Profile Engine
1 stars

This indicator plots a dynamic trend level on the main price chart based on an interactively chosen anchor time and price level. It calculates the vertical offset between the selected price level and a moving average at the anchor time, projecting this dynamic

Indicator v6 TrendMoving averages
Updated 7 weeks ago · None stated GitHub repository of Moving Average Trend Line
1 stars

Finds volume order blocks, zones built from heavy volume around moving average crossovers, and draws them on the price chart. This multiples-only edition focuses on combined events: strict ladder patterns across six sensitivity tiers, multi-zone coincidences,

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Multiples HW Coincidence

GitLemon Con

by GreyssonEnterprises
1 stars

GitLemon Con is an overlay indicator that looks for W and M formations on price and optional confirming series. Users can include on-balance volume, Williams %R, money flow index, RSI, and directional movement, each with a strict mode and a shared maximum widt

Indicator v4 Oscillators & momentumVolume
Updated 3 months ago · MIT GitHub repository of GitLemon Con
1 stars

This indicator marks swing highs and lows from pivot bars on the price chart and projects dates ahead using Gann and Hurst cycle timing ideas. Tables show the pivot dates and nearby future dates, with colours for bullish and bearish pivots. The left and right

Indicator v5 Support & resistance
Updated 6 months ago · None stated GitHub repository of Gann Hurst Pivot HL 2024 V1.2

VP Scalper

by Tradehook-org
1 stars

A Pine v5 strategy that trades around point of control and value area levels. These are not a true volume profile: the code builds approximate levels from the previous session's high, low and close, taken from a daily, weekly or monthly timeframe and scaled by

Strategy v5 Support & resistanceScalping
Updated 8 months ago · None stated GitHub repository of VP Scalper

V5 Combination by yzz

by webcrack4
1 stars

This script combines a Volume Profile / Market Profile (TPO) tool with an overlay MACD indicator directly on the price chart. It calculates volume or time-at-price distributions across customizable ranges (Visible Range, Anchored Range, or All Range) to identi

Indicator v5 VolumeSupport & resistance
Updated 9 months ago · None stated GitHub repository of V5 Combination by yzz

Function Polynomial Regression

by ricardosantos79
261 stars

This indicator fits a quadratic polynomial regression through recent fractal pivot highs and lows and plots the result as a channel on the price chart. A reusable function returns fitted values plus maximum, minimum, and average absolute deviations from the cu

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Function Polynomial Regression
257 stars

Marks intraday swing tops and bottoms on the price chart with labels and short horizontal lines. After a morning session reset in the UTC-8 time zone, it tracks the running high and low, measures how far price has moved away from the extreme, and prints a labe

Indicator v5 Support & resistanceSessions & time
Updated 7 weeks ago · None stated GitHub repository of High Low Live Super
55 stars

This indicator draws diagonal trendlines from confirmed swing points on the price chart. It detects pivot highs and pivot lows using a fixed 15-bar lookback on each side. When a new pivot confirms, it connects the last two highs with a solid red line and the l

Indicator v5 TrendSupport & resistance
Updated 6 months ago · Apache-2.0 GitHub repository of Auto Diagonal Trendlines

Zen-DAX GX

by Zen-Tim
29 stars

This indicator calculates and plots session ranges and key breakout levels for DAX futures directly on the price chart. It defines the overnight Globex session, the Frankfurt pre-market range, and the regular trading hours open using European timezone settings

Indicator v5 Sessions & timeBreakout
Updated 2 weeks ago · MIT GitHub repository of Zen-DAX GX

This indicator plots Fibonacci retracement levels anchored to a confirmed structural reference swing and scores them based on historical internal price reactions. Instead of relying purely on geometric levels, it detects ATR-weighted micro-pivots inside the sw

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 3 days ago · MIT GitHub repository of Fib Reaction Memory [WavesUnchained]
7 stars

This indicator identifies market displacement, structure breaks, and Fair Value Gaps (FVGs) directly on the main price chart. It highlights displacement candles using an average range lookback and multiplier factor, with optional structure break filtering usin

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of [CT] Displacement FVG Toolkit
6 stars

The 2AM-Gold Swing Strategy+hist indicator plots Smart Money Concepts (SMC) elements for gold trading overlayed directly on the price chart. Starting at a user-defined session hour (default 2:00 AM UTC+2), it tracks liquidity sweeps, market structure shifts, o

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of 2AM-Gold Swing Strategy+hist

MACD Breakout

by jerryinyang
5 stars

This indicator plots a higher-timeframe MACD breakout setup on the price chart and combines it with linear regression channels. It marks support and resistance zones from MACD histogram sensitivity, then filters them with the MACD zero line, a linear regressio

Indicator v4 Oscillators & momentumBreakout
Updated 2 years ago · None stated GitHub repository of MACD Breakout

CSW Indicators

by g-moe
3 stars

CSW Indicators combines eight technical analysis tools into a single overlay plotted directly on the main price chart. It features automated power support and resistance levels derived from pivot points, distance perimeter bands, a linear regression channel, R

Indicator v5 TrendSupport & resistance Repaints
Updated 5 months ago · None stated GitHub repository of CSW Indicators

Mirpapa_Lib_Structs

by alvinng214
2 stars

Mirpapa_Lib_Structs is a Pine Script library designed to assist in detecting Smart Money Concepts (ICT) market structure shifts. It provides exported custom types and helper functions to manage trend state, track swing highs and swing lows, and verify structur

Library v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Mirpapa_Lib_Structs
2 stars

Trend Direction Helper calculates overall trend direction by combining customized range filters, Williams %R, and multi-period threshold logic to plot directional buy and sell labels. It also features optional percentage-reversal ZigZag lines, pivot-based supp

Indicator v4 TrendSupport & resistance
Updated 3 years ago · None stated GitHub repository of Trend Direction Helper

Session Stats

by jayadevrana
1 stars

Session Stats highlights Asia, London, and New York trading sessions on the chart with distinct background colors while tracking performance metrics. It plots session high and low lines directly on price action and presents a summary table displaying average s

Indicator v6 Sessions & timeScreeners & dashboards
Updated 4 days ago · MPL-2.0 GitHub repository of Session Stats

Highest Lowest Breakout

by pineforge-4pass
1 stars

A channel breakout strategy using the highest high and lowest low over an adjustable lookback. It enters long when the current bar sets a new high and price is above a 50-period EMA, and short when it sets a new low below that EMA. Positions close when price c

Strategy v6 BreakoutSupport & resistance
Updated 7 days ago · Apache-2.0 GitHub repository of Highest Lowest Breakout

Liquidity Entry Zones

by rosijay17-cmd
1 stars

A liquidity sweep entry tool built as a strategy. It stores recent swing highs and lows as liquidity levels, detects sweeps through them, checks that price reclaims and that the candle meets wick, body and range requirements in pips, then confirms within a sho

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 8 days ago · GPL-3.0 GitHub repository of Liquidity Entry Zones

Plots the highest high and lowest low of a lookback window, default 20 bars, plus mirrored levels placed the same distance beyond each extreme, on the price chart. It estimates how much volume traded in the gap between each extreme and its mirror over up to 50

Indicator v6 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of MTF Symmetrical Gap Volume Colored

GitLemon Con

by GreyssonEnterprises
1 stars

An indicator that looks for W and M reversal patterns in price, OBV and Williams %R, with optional MFI, RSI and directional movement, all sharing one maximum width and offset setting. A Fibonacci retracement zone over a 200-bar lookback can be added as a condi

Indicator v4 DivergenceOscillators & momentum
Updated 3 months ago · MIT GitHub repository of GitLemon Con

Gann Pivot HL 2024 V2

by mikeyhu70
1 stars

This indicator marks pivot swing highs and lows on the price chart and lists their dates in separate tables for highs and lows, with an extra table for seasonal dates. Left and right bar counts set pivot detection, and settings control how many swings are kept

Indicator v5 Support & resistance
Updated 6 months ago · None stated GitHub repository of Gann Pivot HL 2024 V2
1 stars

An indicator that fits a linear regression line over a chosen number of bars and draws upper and lower deviation channels around it on the price chart. Length, source and the deviation multipliers are adjustable, and lines can be extended left or right. It can

Indicator v5 TrendSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Linear Regression Channel

Lux Trailing

by dearvn
257 stars

Plots kernel-smoothed price zones on the price chart using a Rational Quadratic kernel from an imported library. It builds an inner and an outer high-low zone from 15-minute highs and lows, plus a smoothed close and a midline, and marks bullish or bearish bars

Indicator v5 Support & resistanceVolatility & bands Repaints
Updated 7 weeks ago · None stated GitHub repository of Lux Trailing
55 stars

This indicator draws dynamic support and resistance trendlines on the price chart. It finds pivot highs and pivot lows with a fixed 15-bar lookback on each side, keeps the last two of each, and on the latest bar connects those highs with a red line and those l

Indicator v5 Support & resistanceTrend
Updated 6 months ago · Apache-2.0 GitHub repository of Auto Dynamic Trendlines

ADR levels

by TamaraKGreen
46 stars

This indicator plots average daily range levels on the price chart, together with optional standard-deviation and Fibonacci levels scaled from that range. Users set the lookback in days, a scale factor, and the visibility, color, and line style of the ADR line

Indicator v5 Support & resistanceVolatility & bands
Updated 8 weeks ago · None stated GitHub repository of ADR levels
9 stars

Fibonacci Retracement Quality evaluates how accurately price pullbacks align with key Fibonacci levels (0.236, 0.382, 0.5, 0.618, and 0.786) following confirmed swing moves. It filters out noise using ATR and calculates a score from 0 to 100 based on proximity

Indicator v6 Support & resistance
Updated 3 days ago · MIT GitHub repository of Fibonacci Retracement Quality

3-Candle Time Pattern

by alboogycOdR
6 stars

This indicator detects three-candle time patterns on the price chart, tracking range, manipulation, and distribution phases based on Smart Money Concepts. It establishes high and low boundaries from the opening candle and identifies boundary rejections during

Indicator v5 SMC / ICT / price actionCandlestick patterns
Updated 7 months ago · None stated GitHub repository of 3-Candle Time Pattern

MACD Breakout

by jerryinyang
5 stars

MACD Breakout builds a higher-timeframe MACD from preset fast and slow lengths using SMA or EMA, and marks support and resistance zones from histogram sensitivity. Optional filters require zero-line agreement, higher-timeframe direction, and linear-regression

Indicator v4 Oscillators & momentumMoving averages
Updated 2 years ago · None stated GitHub repository of MACD Breakout

Ichimoku [trugurpala]

by trugurpala
4 stars

This indicator plots the standard Ichimoku Kinko Hyo components directly on the price chart. It calculates the Tenkan-sen conversion line, Kijun-sen base line, Chikou Span lagging line, and Senkou Span A and B leading lines. The area between Senkou Span A and

Indicator v6 TrendSupport & resistance
Updated 2 months ago · MIT GitHub repository of Ichimoku [trugurpala]
3 stars

This indicator plots horizontal lines representing previous highs, lows, and closes from daily, weekly, monthly, quarterly, and yearly periods on the price chart. These levels serve as potential support and resistance for confluence analysis. Users can toggle

Indicator v5 Support & resistanceScreeners & dashboards
Updated 5 months ago · None stated GitHub repository of CSW Institutional Levels

EzAlgo

by TamTH-Dev
2 stars

EzAlgo is a multi-purpose trading overlay that combines several technical analysis tools into one system. It calculates Ichimoku Cloud components, dynamic support and resistance zones, reversal bands, trend ribbons, and custom buy or sell signals adjusted by s

Indicator v5 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of EzAlgo

Mirpapa_Lib_Unicorn

by alvinng214
2 stars

The Mirpapa_Lib_Unicorn library defines data structures and logic for the Unicorn pattern within smart money concepts trading. It creates UnicornData types that track order blocks, fair value gaps, their overlaps into Unicorn zones, CHoCH confirmations, retest

Library v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Mirpapa_Lib_Unicorn

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