Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 53)

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

The Probability Grid indicator calculates statistical probability distribution levels derived from historical pivot high and low points. It analyzes price movements over a configured swing length and maximum reversal count to project probability zones directly

Indicator v6 Support & resistanceVolatility & bands
Updated 8 months ago · None stated GitHub repository of Probability Grid [LuxAlgo]
1 stars

This strategy detects liquidity sweeps and break of structure events using SMC concepts. It plots BOS labels, sweep markers, and matrix floor ceiling lines on the price chart. The SMC structure sensitivity setting adjusts lookback for scalping, standard, or sw

Strategy v6 SMC / ICT / price actionBreakout
Updated 2 months ago · None stated GitHub repository of TN SMC Matrix Sovereign v6
46 stars

This overlay indicator marks Asia, London and New York sessions using New York clock times. It draws a session candle plus an optional vertical line at the session open, horizontal open, high, mid and low lines, and a 25 percent level of the session range. Use

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of Session Range Candles + 25% Level

This overlay indicator scores liquidity-sweep reversals on the price chart. It looks for a swing high or low violation followed by a recovery close, then grades optional conditions such as RSI and structure into a 0–2 quality score with separate long and short

Indicator v6 SMC / ICT / price actionOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Reversal Engine Score v1 [WavesUnchained]

CRT State Engine v6

by alboogycOdR
6 stars

This overlay indicator tracks an institutional CRT state machine on the price chart. It can plot draw-on-liquidity lines from pivot strength, session boxes for CBDR, Asia, London, London lunch and New York, and key levels colored for consolidation, manipulatio

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine v6
1 stars

Fibo Boxes projects price and time step zones directly on the chart starting from a designated target start time. It steps through historical data using an initial bar count and step multiplier, establishing high and low bounding boxes across calculated step r

Indicator v5 Support & resistanceMoving averages
Updated 7 weeks ago · None stated GitHub repository of Fibo Boxes by BITMOON618

Kenyon Legacy

by vedkanani123
1 stars

A price-chart indicator that combines two independent parts. The first is a Q-Trend line built from the midpoint of a long highest-lowest range, shifted by an ATR multiple, with buy, sell and strong signals, bar colouring and two signal modes. The second finds

Indicator v6 SMC / ICT / price actionTrend
Updated 2 months ago · None stated GitHub repository of Kenyon Legacy

TN SMC Sovereign

by raybird
1 stars

TN SMC Sovereign identifies Smart Money Concepts structural changes, Order Blocks, and Fair Value Gaps on the price chart. It determines market direction by tracking swing highs and lows for Break of Structure events. Long entries occur when the structure is b

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of TN SMC Sovereign

Distance from High

by be-thomas
65 stars

This indicator measures the number of bars since the highest high over a user-defined lookback period. It divides the lookback duration into five segments and applies a progressively lighter background color to the main price chart as the distance from the pea

Indicator v4 Support & resistance
Updated 6 days ago · GPL-3.0 GitHub repository of Distance from High
46 stars

This overlay indicator projects higher-timeframe open, high, and low statistics onto the price chart. It can show one or two selected timeframes, with an optional New York midnight session start, and uses a lookback window to draw average and median levels. Pl

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Statistical OHLC Projections

This ex-post diagnostic indicator identifies confirmed pivot highs and lows, classifying subsequent price action into four outcome types: Snapback, Grind, Fake/Pullback, or Chop. It evaluates forward performance across an ATR-based risk window, factoring in Wa

Indicator v6 Support & resistanceOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Reversal Type Classifier [WavesUnchained]

Replay Footprint

by eddiebelaval
7 stars

An overlay indicator that constructs footprint volume profiles and value areas directly on the price chart using lower-timeframe detailed volume data. It segregates buy and sell volume across automatic or fixed tick-sized price rows, identifying the Point of C

Indicator v6 VolumeSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Replay Footprint

This indicator overlays moving average clouds, swing pivots, and trade signals directly on the price chart. It combines a fast and slow moving average cloud with a long-term trend filter moving average. Trade signals are triggered by moving average crossovers

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Heikin Ashi with Pivot Trendlines

Linear GANN 2.0

by vedkanani123
1 stars

A price-chart indicator that draws horizontal Gann price levels derived from a square-number sequence, with optional price labels. Settings control line colour and width, label size, how many levels appear around a reference price, the number of interval divis

Indicator v6 Support & resistance
Updated 2 months ago · None stated GitHub repository of Linear GANN 2.0

Position Tool

by ivansoft
1 stars

An indicator that draws a long or short position box on the price chart from an entry point, a take profit level and a stop loss level that the user clicks on the chart. It sizes the trade from an account size, a risk amount given as a percentage or in account

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Position Tool
9 stars

The RJ-Wave Fibonacci Validator tracks and validates wave structures using Fibonacci retracement and extension levels directly on the price chart. It identifies impulse movements and evaluates pullback candidates using configurable pivot sensitivity and Fibona

Indicator v6 Support & resistanceTrend
Updated 3 days ago · MIT GitHub repository of RJ-Wave Fibonacci Validator
6 stars

CRT State Engine CURSOR is an overlay indicator that implements Candle Range Theory (CRT) models alongside Smart Money Concepts (SMC) frameworks. It tracks session ranges including Asia, London, New York, and CBDR, while identifying Direction of Liquidity (DOL

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine v7.2 CURSOR

This strategy plots dual moving average clouds and a long-term trend filter directly on the price chart alongside Heikin Ashi data. It triggers long and short entry signals using moving average alignments and pivot trendline levels, with optional filtering via

Strategy v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Heikin Ashi with Pivot Trendlines Strategy

AutoView Trailing Stop

by Web3Degenerate
2 stars

This indicator calculates an Average True Range (ATR) trailing stop level based on market structure swing points and outputs dynamic alert syntax formatted for the AutoView trading automation extension. Users select long or short direction, lookback length, an

Indicator v4 Volatility & bandsSupport & resistance
Updated 2 years ago · None stated GitHub repository of AutoView Trailing Stop
1 stars

This indicator projects cyclical wave paths and moving averages directly onto the price chart based on two user-defined reference anchor points. It derives a base cycle length from the time difference between the anchors and scales a second period using the 1.

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Fibo Wave MA - Auto Path (Plot)

Liquidity Pools Pro

by vedkanani123
1 stars

A liquidity indicator on the price chart. It detects pivot highs and lows with an adaptive or manual length and groups pivots that sit within an ATR-based tolerance into pools, shown as zones with a strength bar. Strength decays over time and can be volume-wei

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Liquidity Pools Pro
1 stars

This indicator draws a zig-zag of swing highs and lows on the price chart using depth, deviation and backstep settings, and labels each leg with its bar count and optional price. It can mark higher highs and lower lows and shade upswings and downswings. The Re

Indicator v5 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of ZigCycleBarCount 2024-2

An indicator on the price chart that draws daily and weekly separator lines and marks the previous day's high and low. Daily separators carry a label with the weekday, date and time, weekly separators are drawn separately, and the previous day levels appear as

Indicator v5 Support & resistanceSessions & time
Updated 1 year ago · None stated GitHub repository of Previous Day High and Low with Separators

Bjorgum Double Tap

by hasnocool
106 stars

Bjorgum Double Tap is a price-chart strategy that detects double-bottom and double-top patterns from pivots. It enters long or short when those patterns form, and it can flip into the opposite direction while a position is open. Targets and stops are Fibonacci

Strategy v5 Support & resistanceBreakout
Updated 2 years ago · GPL-3.0 GitHub repository of Bjorgum Double Tap
47 stars

The Price Channel indicator calculates and plots the dynamic highest high and lowest low over a user-defined lookback period, alongside a central midpoint line. Built using monotonic deques for optimized streaming runtime efficiency, it plots an upper channel

Indicator v6 Support & resistanceVolatility & bands
Updated 8 months ago · MIT GitHub repository of Price Channel (PCHANNEL)

CRT State Engine v7.3

by alboogycOdR
6 stars

This TradingView indicator for XAUUSD gold analyzes market structure, order blocks, liquidity pools, and volume profiles to generate entry signals on the price chart. It includes session monitoring engines and risk management modules that can be toggled via in

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of CRT State Engine v7.3
1 stars

Fibo Wave MA - Auto Path (Plot) is an overlay indicator that projects Fibonacci-based wave structures and moving averages onto the price chart. The script calculates a wave period from two user-selected interactive anchor points and generates a secondary movin

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Fibo Wave MA - Auto Path (Plot)

CRT State Engine v7.6

by alboogycOdR
6 stars

CRT State Engine is an institutional trading framework based on Smart Money Concepts and Candle Range Theory. It plots session ranges, order blocks, Fair Value Gaps, liquidity sweeps, and Draw on Liquidity levels directly on the main price chart. The indicator

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine v7.6
1 stars

Fibo Wave MA - Auto Path Plot is an indicator that calculates and plots base moving averages along with Fibonacci-extended moving averages on the price chart. Users define a custom wave period by setting start and end times t1 and t2, with an adjustable center

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Fibo Wave MA - Auto Path Plot
1 stars

This Pine v5 indicator draws Future Line of Demarcation lines on the price chart: the price source is shifted forward by half a cycle for up to three cycle periods, with automatic or manual periods and bar multipliers based on the chart timeframe. Projected fo

Indicator v5 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of FLD with Projection Simple V4
9 stars

This indicator calculates and plots multi-timeframe support and resistance zones using ATR-based reversal structure swings. It builds zones across configurable higher timeframes and the current chart timeframe, applying scoring based on touch quality, rejectio

Indicator v6 Support & resistance
Updated 3 days ago · MIT GitHub repository of S/R Zones MTF [WavesUnchained]
6 stars

This indicator draws the high and low of one selected higher-timeframe candle as horizontal lines on the price chart. It reads the 4-hour or 1-hour candle that starts at a chosen New York hour (1 AM, 5 AM, or 9 AM) and extends both levels for a user-set number

Indicator v5 Support & resistanceSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of Dual-Mode CRT Levels (Corrected)
3 stars

Hercules Indicator 1.7 is a multi-filter trade signal generator designed to overlay entry conditions directly on the price chart. It evaluates engulfing candle patterns alongside multiple configurable filters, including trading session windows (Sydney, Tokyo,

Indicator v5 Candlestick patternsSessions & time
Updated 5 months ago · None stated GitHub repository of Hercules Indicator 1.7

Meridian Flow

by vedkanani123
1 stars

A market structure indicator on the price chart. It finds swing pivots, labels them HH, HL, LH and LL, and marks break of structure and change of character events using close or wick confirmation. Order blocks can be created from those events, tracked until mi

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Meridian Flow

Gann Box 2024

by mikeyhu70
1 stars

This indicator draws a Gann box on the price chart between the latest swing high and swing low found within a lookback window, with Fibonacci-style percentage levels, labels and optional grid lines. Gann fans, angles and curves can be turned on, and the box ca

Indicator v5 Support & resistance
Updated 6 months ago · None stated GitHub repository of Gann Box 2024

My Script

by ricardosantos79
261 stars

This indicator plots a normalized candle dynamic visualization inside a custom 500x500 Gann square grid within a separate pane. It normalizes each bar's open and close prices relative to its high-low range, storing the resulting coordinate pairs in fixed-size

Indicator v5 Support & resistanceCandlestick patterns
Updated 4 years ago · None stated GitHub repository of My Script

Signal Quality Engine [WavesUnchained] is a range-fade indicator that identifies exhaustion at range extremes and signals potential reversals. It applies an ADX and EMA slope regime gate to stand down during strong trends. Using distance, structure, and moment

Indicator v6 Mean reversionSupport & resistance
Updated 3 days ago · MIT GitHub repository of Signal Quality Engine [WavesUnchained]
7 stars

Smart Krypto Futures Daytrade Suite is an all-in-one technical indicator tailored for intraday cryptocurrency trading. It plots higher-timeframe supply and demand zones, Fair Value Gaps with optional mitigation filtering, session VWAP, dynamic moving averages,

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Smart Krypto Futures Daytrade Suite
6 stars

This indicator draws high and low levels from a chosen one-hour or four-hour candle that starts at a selected New York hour. It stores those prices once each New York day, plots them as lines on the price chart, and extends the lines for a user-set number of s

Indicator v5 Support & resistanceSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of Dual-Mode CRT Levels (Corrected)

Hercules Rewrite

by g-moe
3 stars

Hercules Rewrite is a signal and visual trade management indicator that overlays entry setups directly on the price chart. It detects candle setups based on minimum tick movement and engulfing patterns, filtering entries through parameters like moving averages

Indicator v5 Candlestick patternsTrend
Updated 5 months ago · None stated GitHub repository of Hercules Rewrite

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