Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 49)

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

Modern Trend Regime classifies price action into trend, range, and transition modes using a score rather than a strict conjunction of conditions. It builds fast, base, and slow structure from a price-range, EMA, WMA, or SMA calculation, then compares ATR-norma

Indicator v6 TrendVolatility & bands
Updated 3 days ago · MIT GitHub repository of Modern Trend Regime [WavesUnchained]

This indicator plots custom dual moving average crossovers directly on the price chart to signal potential Call (long) and Put (short) entries. Users can choose from SMA, EMA, WMA, VWMA, or HMA types for both moving averages. Upon a confirmed crossover, the sc

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of Dual MA Crossover Call Put Targets
3 stars

This indicator plots trading signals and overlays directly on the price chart. It generates directional buy and sell signals filtered by configurable sensitivity, signal tuning, volume, and trend clouds. The script visualizes reversal dots, market structure sw

Indicator v5 TrendSupport & resistance
Updated 12 months ago · None stated GitHub repository of ZZ Algo | Signals & Overlays
2 stars

This library plots order blocks directly on the price chart. It draws lines connecting distal and proximal points of demand order blocks with a middle 50 percent level line and colored zone fills between them. Breaker blocks appear when demand blocks are mitig

Library v5 Support & resistanceSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of OrderBlockDrawing_TradingFinder

Wick Hunter VWAP

by avatar-lavventura
2 stars

Calculates a custom Volume Weighted Average Price (VWAP) over a user-defined rolling period using standard HLC3 price data. It plots the central VWAP value alongside upper and lower percentage bands positioned 0.7 percent above and below the main average line.

Indicator v4 Moving averagesVolume
Updated 7 months ago · None stated GitHub repository of Wick Hunter VWAP
2 stars

The Dynamic Equity Allocation Model is an indicator that calculates and plots dynamic allocation percentages between equity and cash in a separate pane. It weighs five factors including market regime detection, risk metrics, valuation, sentiment, and macro con

Indicator v6 Screeners & dashboardsVolatility & bands
Updated 8 months ago · None stated GitHub repository of Dynamic Equity Allocation Model

SMC Hold Manager

by skipp-dev
1 stars

SMC Hold Manager is a visual decision-support overlay for managing Smart Money Concept trade positions. It connects to the SMC Engine BUS v2 system or accepts manual trade inputs to display trade lifecycle levels on the price chart. The indicator tracks entry

Indicator v6 SMC / ICT / price actionVolatility & bands
Updated 4 days ago · None stated GitHub repository of SMC Hold Manager

A strategy version of a structure indicator that studies how price interacts with confirmed swing zones, role-reversal levels and CUSUM change-point levels. A state machine tracks a level, impulse, pullback and higher-low or lower-high sequence, then grades th

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 8 days ago · GPL-3.0 GitHub repository of Structure Physics v4.2 Rotation Confirmation Strategy
1 stars

This strategy identifies liquidity sweeps around swing pivot levels and trades reversals aligned with higher-timeframe trend context. It enters long when price pierces a prior pivot low and closes back above it while trading above the daily 200 EMA. Short entr

Strategy v6 SMC / ICT / price actionTrend
Updated 2 months ago · None stated GitHub repository of TN Liquidity Sweep Sovereign
1 stars

This indicator calculates and plots a volume profile histogram directly on the price chart using data from a specified lookback period. It divides the price range into horizontal rows to visualize volume distribution across price levels over recent price actio

Indicator v4 VolumeSupport & resistance
Updated 9 months ago · None stated GitHub repository of Volume Profile [LuxAlgo]
1 stars

An indicator component that computes a volume weighted average price with a standard deviation band, restarting at the start of each session by default, and plots the line and the band edges with a fill. The code can also anchor on week, month, quarter, year,

Indicator v5 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Neural Network Sub 43 VWAP
106 stars

Automatic Grid Bot Strategy simulates a grid trading system directly on the main price chart. It sets upper and lower price range boundaries and splits the defined range into grid levels to trade long, short, or both directions simultaneously. Users can config

Strategy v5 Support & resistanceMean reversion
Updated 2 years ago · GPL-3.0 GitHub repository of Automatic Grid Bot Strategy

This indicator implements a Wyckoff method state machine that tracks accumulation, distribution, markup, and markdown regimes across phases A through E. It identifies structural events including springs, UTADs, SOS, SOW, LPS, LPSY, and climactic bars using ATR

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · MIT GitHub repository of Modern Wyckoff State Machine Lite [WavesUnchained]
1 stars

This Pine Script v6 strategy isolates and tests market structure events, specifically Break of Structure (BOS) and Change of Character (CHoCH). Using swing points calculated from configurable pivot strength settings, it tracks structural direction and triggers

Strategy v6 SMC / ICT / price actionBreakout
Updated 7 days ago · Apache-2.0 GitHub repository of Parity Probe 02 - CHoCH/BOS Isolator

Supply & Demand Zones XL

by rosijay17-cmd
1 stars

An overlay indicator that finds swing pivots, with adjustable bars left and right, and turns them into supply and demand zones sized by an ATR multiple. Overlap rules stop zones of the same or opposite type from stacking. Zones can be extended, historical and

Indicator v6 Support & resistanceVolatility & bands Repaints
Updated 8 days ago · GPL-3.0 GitHub repository of Supply & Demand Zones XL
1 stars

This indicator computes the average height of green and red candles inside a user-selected time range. Inputs define start and end timestamps that filter candle data in real time. When the range is active the script accumulates heights for green candles (where

Indicator v5 Support & resistanceCandlestick patterns
Updated 7 weeks ago · None stated GitHub repository of Average Green/Red Candle Heights

Hurst Through Marker

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane that marks cycle troughs, which its title spells as throughs, using Hurst bandpass filters. The hl2 price is filtered for cycles from 1 day to 18 years and labels and lines are drawn where cycle lows form. Bandwidt

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

The Volume Profile [LuxAlgo] indicator calculates volume distribution across price levels using a user-defined lookback period on the TradingView price chart. It plots histogram bars showing volume intensity at each price level, with options to display the rol

Indicator v4 VolumeSupport & resistance
Updated 9 months ago · None stated GitHub repository of Volume Profile [LuxAlgo]
1 stars

An overlay indicator that detects confirmed pivot highs and pivot lows using separate left and right bar counts for each, ten by default. A pivot is only known after the right-hand bars have printed, so it appears with a delay. The visible code defines the det

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Pivot Points High Low

SlimTrades

by tseitz
1 stars

A strategy on the price chart that combines RSI zones, MACD behaviour and long rolling highest and lowest levels to open and close positions. Inputs set the RSI thresholds for opening, adding and closing, the lookback of the two rolling ranges, a maximum numbe

Strategy v4 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of SlimTrades

Volume profile

by dearvn
257 stars

This indicator builds a session volume profile on the price chart for a daily or weekly period. It distributes volume, or open-interest change when that data type is selected, across price rows and plots the point of control plus optional value-area high and l

Indicator v5 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Volume profile
228 stars

This overlay indicator marks confirmed pivot highs and pivot lows and draws horizontal resistance and support lines from those prices. Each line starts at the pivot bar and extends a set number of bars to the right. It keeps up to ten support lines and ten res

Indicator v6 Support & resistance
Updated 3 months ago · None stated GitHub repository of Support & Resistance - Basic

Decay Min-Max Channel

by mihakralj
99 stars

Decay Min-Max Channel plots a price channel whose upper and lower bounds decay toward their midpoint. Each bar it stores highs and lows in a rolling window, tracks the latest extremes, and applies exponential decay when no new high or low appears. The decay co

Indicator v6 Support & resistanceVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Decay Min-Max Channel
46 stars

Range Projections [Statistical Levels] calculates and projects expected price range levels based on historical statistical percentile data for specific trading session opens, such as Globex, London, NY Futures, and NY RTH. It uses day-of-week data to plot stat

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Range Projections [Statistical Levels]

This overlay indicator builds a horizontal momentum profile over a chosen lookback. It splits price into rows and plots the average WaveTrend of each zone as a bar colored by direction, plus an optional MFI reference band that stays gray when real trade volume

Indicator v6 Oscillators & momentumVolume
Updated 3 days ago · MIT GitHub repository of Momentum Profile [WavesUnchained]
2 stars

This Pine Script v5 library exports an order-block refiner for Smart Money Concepts charts. It takes an order-block type, refine flag, refine method, trigger condition and bar index, then measures candle range and body around that bar using a 55-period ATR. Fo

Library v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of OrderBlockRefiner TradingFinder
1 stars

A strategy conversion of a supply and demand zone indicator. Zone detection, strength scoring and break detection are unchanged: pivots with set bars left and right form ATR-sized zones that can be scored and tracked as they break. A new entries section places

Strategy v6 Support & resistanceVolatility & bands Repaints
Updated 8 days ago · GPL-3.0 GitHub repository of Supply & Demand Zones XL Strategy

Bitmoon System

by morindok
1 stars

Calculates dynamic fractal levels and time symmetry dynamic lengths on the main price chart. It uses extended Williams Fractals across a user-defined fractal period to detect key structural pivot highs and lows. The script measures bar distances between detect

Indicator v5 Support & resistanceTrend Repaints
Updated 7 weeks ago · None stated GitHub repository of Bitmoon System
1 stars

A Pine Script v5 indicator in a separate pane, the second revision of a Hurst cycle trough marker, whose title spells trough as through. It runs the hl2 price through bandpass filters for cycles from 1 day to 18 years and draws labels and lines where cycle low

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

SlimTrades 15m

by tseitz
1 stars

A strategy on the price chart with defaults aimed at a 15 minute chart. It uses RSI zones and two rolling highest and lowest ranges to open longs and optionally shorts, and can add to a position on lows or highs when RSI reaches set levels. Exits use RSI close

Strategy v4 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of SlimTrades 15m

VP

by dearvn
257 stars

This indicator calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C

Indicator v5 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of VP
228 stars

This indicator detects horizontal support and resistance zones directly on the price chart using pivot highs and lows. It clusters nearby pivot points within a customizable percentage width to track repeated price touches and recalculates the average level pri

Indicator v6 Support & resistance
Updated 3 months ago · None stated GitHub repository of Support & Resistance Template

Session & RTH VWAP

by TamaraKGreen
46 stars

Calculates and plots session Volume Weighted Average Price along with Regular Trading Hours VWAP, historical session tracking, and statistical deviation bands. The script features customizable time zones, session highlighting, and an optional statistics table

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Session & RTH VWAP

Complete CRT System

by alboogycOdR
6 stars

This indicator identifies time-based candle range theory patterns on a higher timeframe, defaulting to four hours, and projects the matching high and low lines onto the price chart. The user chooses a 1AM, 5AM, or 9AM CRT model and can toggle fair value gap bo

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

This overlay indicator maps ICT Silver Bullet structure on the price chart for the 10-11 AM New York window. It draws demand and supply order blocks and fair value gaps, and marks high and low CISD levels. Users can refine order blocks as defensive or aggressi

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of Silver Bullet ICT Strategy [TradingFinder] 10-11 AM +FVG
1 stars

A Pine Script v5 indicator in a separate pane, the third revision of a Hurst cycle trough marker, whose title spells trough as through. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and marks cycle lows with labels and lines.

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

VP

by dearvn
257 stars

This overlay indicator builds a session volume profile on the price chart. It bins volume into price rows for a chosen session, by default Daily, and draws the profile as up and down volume, total volume, or delta. It marks the point of control and the value-a

Indicator v5 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of VP

Session Based Statistical Levels w/Closes Table calculates and plots key statistical levels across distinct trading session windows on the main price chart. Traders can select standard global trading sessions such as London, Asia, or New York, set custom sessi

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Session Based Statistical Levels w/Closes Table

This indicator plots a directional volume and money flow profile directly on the price chart over a configurable lookback period. It displays total flow reference bars alongside directional delta bars to highlight buyer versus seller dominance at each price ti

Indicator v6 VolumeSupport & resistance
Updated 3 days ago · MIT GitHub repository of Money Flow Delta Profile [WavesUnchained]

Complete CRT System

by alboogycOdR
6 stars

This overlay indicator projects higher-timeframe Candle Range Theory levels onto the current chart, with the analysis timeframe defaulting to H4. It draws CRT high and low lines for a selected time-based model, and can show fair value gap boxes and the most re

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

This SMC indicator plots major and minor order blocks along with fair value gaps on the price chart. It identifies demand and supply zones originating from ChoCh and BoS patterns, with separate main, sub, and all-zone categories. Users can toggle visibility an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Smart Money Concept [TradingFinder] Major Minor OB + FVG (SMC)

HMD Stochastic

by Web3Degenerate
2 stars

This indicator plots the Stochastic oscillator with %K in blue and %D in orange lines. It calculates the values using SMA on the Stoch function based on user inputs for %K length, %K smoothing, and %D smoothing. Long signals trigger on bullish engulfing candle

Indicator v5 Oscillators & momentumCandlestick patterns
Updated 2 years ago · None stated GitHub repository of HMD Stochastic

P_syn_drawings

by GammaExpansion
1 stars

This Pine Script v6 indicator draws multiple objects on the price chart for testing. It creates a red dashed line from the previous low to the current low, a blue line from the previous high to the current high, and connects their endpoints. A green label show

Indicator v6 Support & resistanceCandlestick patterns
Updated 7 days ago · MIT GitHub repository of P_syn_drawings
1 stars

A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst cycle trough marker, whose title spells trough as through. The hl2 price goes through bandpass filters for cycles from 1 day to 18 years, and labels and lines are drawn where cycle l

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

Session First Bar Range

by TamaraKGreen
46 stars

Session First Bar Range calculates and projects the high, low, and mid-level of the opening bar of a specified higher timeframe session. It draws range boxes directly on the price chart, along with historical ranges, statistical standard deviation levels, and

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 8 weeks ago · None stated GitHub repository of Session First Bar Range

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