Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 42)

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

1 stars

Marks the bar where a volume order block zone is first confirmed, at the completion of the moving average crossover, so the marker does not shift to an earlier bar afterwards. A sensitivity bank input selects the six sensitivity lengths, or custom values can b

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Birth Bar Study v1.3

This intraday strategy fades tests of the previous day high and low during the New York morning session. It identifies mean-reversion opportunities when price touches within a few ticks of the prior day high or low, closes back inside, confirms with above-aver

Strategy v6 Mean reversionSupport & resistance
Updated 2 months ago · None stated GitHub repository of TeleNexus Sovereign PDH/PDL Fade V6

VWAP Basic

by shubhamtaywade82
1 stars

Calculates a volume-weighted average price that resets each day, week or month and plots it on the price chart. Two optional standard deviation bands use adjustable multipliers, with a shaded channel between the inner pair. A small table shows the current VWAP

Indicator v6 VolumeSupport & resistance Archived
Updated 5 months ago · None stated GitHub repository of VWAP Basic
1 stars

This overlay indicator draws liquidation heatmap pockets on the price chart. It estimates pocket intensity from volume, price range, or their product over a configurable lookback, then filters by a minimum intensity and merges nearby labels. Two swing widths m

Indicator v6 VolumeSupport & resistance
Updated 7 months ago · None stated GitHub repository of Liquidation Heatmap[Modual]
1 stars

VABOAlgo is a Pine Script v5 strategy that detects breakouts from a value area. It uses VWAP as a POC proxy and ATR to calculate VAH and VAL, requiring volume above average for confirmation and prior bar consolidation within the VA. Long entries trigger on bre

Strategy v5 BreakoutVolume
Updated 8 months ago · None stated GitHub repository of VABOAlgo (Value Area Breakout)

V5 Combination by YZZ

by webcrack4
1 stars

This indicator script combines Volume Profile or Market Profile (Time Price Opportunity) calculations with a MACD oscillator overlay directly on the price chart. It measures volume or time distribution across configurable ranges such as visible range, anchored

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

This strategy overlay calculates custom pivot high and low levels, averaged price sources, and Ichimoku Cloud components (Tenkan-sen, Kijun-sen, Senkou Span A/B). It also requests lower low price data from a 360-minute timeframe with lookahead enabled, introdu

Strategy v5 TrendSupport & resistance Repaints
Updated 7 weeks ago · None stated GitHub repository of Futures - No Repaint ES 1.0
228 stars

Linear Regression Reversal Strategy is a Pine Script chart overlay indicator that plots a linear regression trendline with upper and lower standard deviation channel bounds for a specified date range. Users can select exact start and end timestamps directly on

Indicator v6 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of Linear Regression Reversal Strategy

ABCD Strategy

by hasnocool
106 stars

Identifies harmonic ABCD chart patterns using pivot highs and pivot lows over a configurable lookback length. The strategy evaluates price retracement and extension ratios across four consecutive alternating pivot points to trigger long or short positions. It

Strategy v5 Support & resistanceMean reversion
Updated 2 years ago · GPL-3.0 GitHub repository of ABCD Strategy
55 stars

This indicator builds a simulated volume profile on the price chart. On the last bar it finds the highest high and lowest low across the previous 200 bars, splits that range into 50 price bins, and adds each bar's volume to the bin of its close. It draws a hor

Indicator v6 VolumeSupport & resistance
Updated 6 months ago · Apache-2.0 GitHub repository of Volume Profile (Simulated)

Range Probability - NQ

by TamaraKGreen
46 stars

This overlay indicator measures fixed-length ranges from a New York session anchor and draws them on the price chart. Boxes mark a range as forming, closed above the previous high, closed below the previous low, or closed inside. It plots the prior range high,

Indicator v6 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Range Probability - NQ

SMC Trade with Dhruv

by MeridianAlgo
9 stars

This indicator maps Smart Money Concepts directly onto the price chart. It identifies internal and swing market structure, highlighting break of structure and change of character events alongside strong and weak swing highs and lows. It also plots internal and

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 months ago · MIT GitHub repository of SMC Trade with Dhruv
7 stars

Volumetric Supply and Demand identifies and renders supply and demand zones directly on the price chart using pivot swings and ATR-based impulse triggers. Within active zones, it constructs localized volume profiles, highlights Point of Control levels, and dis

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 3 months ago · None stated GitHub repository of Volumetric Supply and Demand [BOSWaves]
6 stars

This hybrid trading strategy combines wick rejection support and resistance levels with Smart Money Concepts. It calculates entry confidence scores based on multi-timeframe structure, Fair Value Gap taps, Order Block alignment, and recent Change of Character o

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of WR-SR + SMC Strategy ENHANCED
5 stars

This overlay indicator is a research diagnostic that builds a volume profile between two user-set 15-minute swing times. It bins each bar's volume by high-low tick overlap on fine, base, and coarse row sizes, then applies local density gates and a paired-node

Indicator v6 VolumeSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of VP RSD Paired Node Consensus Diagnostic
5 stars

This indicator calculates central tendencies and intermediate channel bounds over a configurable lookback period and plots them directly on the price chart. Users can select the central basis measure from mid-range, simple moving average mean, or 50th percenti

Indicator v4 TrendSupport & resistance
Updated 8 months ago · None stated GitHub repository of Rolling Midpoints

CSW Auto Fib

by g-moe
3 stars

CSW Auto Fib draws Fibonacci retracement and extension levels on the price chart from the high and low of a selected time period. It tracks that period's extremes and plots horizontal lines at user-defined ratios, with optional labels and colors. Period choice

Indicator v5 Support & resistance Repaints
Updated 5 months ago · None stated GitHub repository of CSW Auto Fib

Criptom4N(r)

by IAMATOMIC001
3 stars

This indicator plots SuperTrend lines and SMA values on the price chart. It generates buy and sell signals from crossovers between close price and SuperTrend. Additional features include ATR-based stop loss and take profit levels, candlestick coloring, and swi

Indicator v5 TrendMoving averages Repaints
Updated 12 months ago · None stated GitHub repository of Criptom4N(r)

Smart Money Concepts

by TamTH-Dev
2 stars

This indicator maps market structure and session activity directly on the price chart. It detects and labels internal and swing structures with customizable confluence filters and candle coloring. Additionally, it highlights major trading killzones including N

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 6 weeks ago · None stated GitHub repository of Smart Money Concepts

ZigZag Supertrend

by WISEPLAT
2 stars

This overlay indicator draws a ZigZag from recent pivot highs and lows and feeds those extremes into a Supertrend-style calculation that uses ATR. Pivot length, stored history, and ATR period and multiplier change how swings and the trend band form. Optional w

Indicator v4 TrendVolatility & bands Repaints
Updated 3 years ago · None stated GitHub repository of ZigZag Supertrend

Yaroslav93rus

by DaniilOkrug
2 stars

This TradingView Pine Script strategy overlays two exponential moving averages (lengths 10 and 28) on the price chart along with markers for pivot highs and lows. It optionally displays support and resistance levels based on user settings. The script includes

Strategy v4 Moving averagesSupport & resistance Repaints
Updated 4 years ago · MIT GitHub repository of Yaroslav93rus
1 stars

JAT+BSM Pro v13 Extended is a multi-timeframe trading strategy overlay that combines kinematic regression models, Bayesian inference, and consolidation zone analysis. It processes multi-layer volatility bands, volume profile buckets, and pattern structure targ

Strategy v5 TrendVolatility & bands
Updated 2 days ago · None stated GitHub repository of JAT+BSM Pro v13 Extended

SR v5

by 7b809
1 stars

An overlay indicator that marks support and resistance from pivot lows and highs filtered by a volume delta, with zones sized by ATR. Each signal is numbered and given a status of allowed or ignored, depending on whether it repeats the previous allowed type, a

Indicator v5 Support & resistanceVolume
Updated 2 weeks ago · None stated GitHub repository of SR v5

SR Breakout Auto TP/SL

by vedkanani123
1 stars

An overlay indicator that detects pivot highs and lows and draws the latest resistance and support as extended lines. A buy signal fires when the close crosses above resistance, and a sell when it crosses below support. Each signal draws entry, stop loss and t

Indicator v6 Support & resistanceBreakout
Updated 2 months ago · None stated GitHub repository of SR Breakout Auto TP/SL
1 stars

Marks the bar where a volume order block zone is first confirmed, at the completion of the moving average crossover, so the marker does not shift to an earlier bar afterwards. A sensitivity bank input selects the six sensitivity lengths, or custom values can b

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Birth Bar Study v1.3 Tick
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. The first version uses one pivot setting and tables show the pivot dates and nearby future dates, with colours for bu

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

This indicator overlays several optional trend tools on the price chart. It draws a ZigZag from a deviation setting and can plot a multi-timeframe Tillson T3, a Jurik moving average, an ALMA, and a Range Filter. Users switch each tool on or off and change leng

Indicator v6 TrendMoving averages
Updated 7 months ago · None stated GitHub repository of Quad Trend Master & KalmanOSC

V5 Combination by yzz

by webcrack4
1 stars

Combines multiple analytical tools on the main price chart, prominently featuring an interactive Volume Profile and Market Profile alongside an overlaid MACD indicator. It calculates volume or price distribution over visible, anchored, or full ranges, plotting

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

This is a futures trading strategy for instruments like ES. It plots an Ichimoku Cloud using Tenkan, Kijun, Senkou A, Senkou B and Chikou lines along with pivot highs and lows to mark resistance and support levels directly on the price chart. Inputs let users

Strategy v5 TrendSupport & resistance Repaints
Updated 7 weeks ago · None stated GitHub repository of Futures No Repain ES

Liquidity Zones - ICT

by TradersPost
228 stars

The Liquidity Zones - ICT indicator identifies and highlights potential buyside and sellside liquidity areas directly on the price chart. It tracks recurring price levels within a specified lookback period, grouping price touches that fall within a configurabl

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Liquidity Zones - ICT
55 stars

Calculates dynamic trendlines and horizontal support and resistance levels using pivot highs and pivot lows with a fixed length of 10 bars. When a new pivot high or low is confirmed, the script updates extended trendlines connecting the two most recent pivots,

Indicator v5 TrendSupport & resistance
Updated 6 months ago · Apache-2.0 GitHub repository of AAPL Dynamic Line Analysis

Session Stat Map

by TamaraKGreen
46 stars

This indicator maps session ranges, opening prices, and derived projections directly onto the price chart. It calculates high and low boundaries during a defined reference session, such as pre-market hours, and overlays session open lines, range boxes, standar

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of Session Stat Map

This indicator implements swing chart construction rules based on Perry Kaufman's Trading Systems and Methods. It runs up to three swing models simultaneously across two, three, and four-bar reversal thresholds, plotting swing lines directly on the price chart

Indicator v5 Support & resistanceTrend
Updated 2 weeks ago · MIT GitHub repository of Zen TSaM Swing Chart Multi-Mode 2/3/4

Elliott Wave Radar identifies and validates Elliott Wave impulse (1-5) and corrective (A-B-C) patterns using a dual-degree ZigZag pivot engine with an ATR noise filter. It checks structural rules and Fibonacci guidelines, scoring counts and projecting price ta

Indicator v6 TrendSupport & resistance
Updated 3 days ago · MIT GitHub repository of Elliott Wave Radar [WavesUnchained]

WR-SR + SMC Strategy v4.0

by alboogycOdR
6 stars

The WR-SR + SMC Strategy v4.0 combines wick rejection for support and resistance level detection with Smart Money Concepts including CHoCH and BOS structure changes, fair value gap zones and order blocks. It signals trading entries and exits on the price chart

Strategy v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of WR-SR + SMC Strategy v4.0

Kenny's Strategy

by jerryinyang
5 stars

Kenny's Strategy combines multiple exponential moving averages to identify trend changes and generate entry signals. It calculates short, medium, and long EMAs from a user-selected source and checks for alignment within specific zones. A long-term EMA filter r

Strategy v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Kenny's Strategy

Volume Profile Lite [Lab]

by mitchell-917
4 stars

This indicator calculates an approximate volume profile over a specified lookback period or current intraday session. It divides the high-low range into a configured number of price bins, assigns each bar's volume to the corresponding bin based on its closing

Indicator v5 VolumeSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Volume Profile Lite [Lab]

MirPapa Library ICT

by alvinng214
2 stars

MirPapa Library ICT is a Pine Script utility library designed to support Inner Circle Trader (ICT) analysis across trading scripts. It exports custom data structures, including BoxData and HTFCache, to manage higher-timeframe historical price data and track zo

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

Bollinger ZigZag ++

by WISEPLAT
2 stars

Bollinger ZigZag ++ combines Bollinger Band percent B calculations, pivot points, and a ZigZag filter to mark potential support and resistance levels directly on the price chart. It detects overbought and oversold thresholds relative to the bands and draws vis

Indicator v4 Volatility & bandsSupport & resistance Repaints
Updated 3 years ago · None stated GitHub repository of Bollinger ZigZag ++
1 stars

This indicator plots mirrored price and parallel lines on the chart. It defines a base line using two input points and calculates the maximum deviation for a price channel by reflecting the close price around the base line. Users can apply the reflection to th

Indicator v6 TrendSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirrored Price & Parallel Lines
1 stars

Finds volume order blocks, zones where heavy volume built up around a moving average crossover, and draws them on the price chart as support or resistance areas. Six sensitivity tiers each produce buy and sell tier signals with mutually exclusive handling, plu

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

Support and Resistance

by rubbermetal
1 stars

Support and Resistance finds pivot highs and lows using configurable left and right bar counts and keeps the most recent levels, merging nearby pivots into one zone and counting touches. Zones are drawn as boxes and lines with optional labels, plus break and t

Indicator v6 Support & resistance
Updated 4 months ago · MPL-2.0 GitHub repository of Support and Resistance
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.1

V5 Combination by yzz

by webcrack4
1 stars

V5 Combination by yzz is a composite chart indicator that integrates a Volume Profile and Market Profile (TPO) tool with a MACD oscillator overlay. The profile section calculates price distribution across configurable range modes, plotting the Point of Control

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

This indicator plots horizontal support and resistance from confirmed pivot lows and pivot highs, using ten bars on each side. When a new pivot appears, it replaces the previous line and extends it ten bars beyond the current bar. A translucent gray fill marks

Indicator v5 Support & resistanceVolume
Updated 6 months ago · Apache-2.0 GitHub repository of AAPL Structural Lines & Fills

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