Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 59)

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

Mirror Oscillator Pro is a momentum oscillator plotted in a separate pane. It detects pivot highs and lows on a user-selected timeframe and price source using specified pivot lengths. The indicator builds multiple bands including highest-lowest ranges, ATR ban

Indicator v5 Oscillators & momentumVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscillator Pro by Morindok

MD Range Finder 2

by mikeyhu70
1 stars

A Pine Script v4 indicator that finds a recent price range over a set period and draws its baselines at 0, 0.5 and 1 on the price chart, then projects Fibonacci-style extension lines from it at ratios such as 0.382, 0.618, 2, 3 and 4. The timeframe can be auto

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 2
7 stars

The Per Bak Self-Organized Criticality indicator calculates a composite fragility score by blending weights for tail risk from the SKEW index, volatility regimes from VIX terms, credit stress from HYG and LQD, and positioning from short volume data. It plots t

Indicator v5 Volatility & bandsSupport & resistance
Updated 3 months ago · None stated GitHub repository of Per Bak Self-Organized Criticality
6 stars

The ORB + Fib + MACD Indicator combines Opening Range Breakout mechanics with Fibonacci retracement levels and MACD momentum filtering. It determines the high and low bounds of a user-defined initial session window, projects Fibonacci entry zones, and calculat

Indicator v5 Sessions & timeSupport & resistance
Updated 7 months ago · None stated GitHub repository of ORB + Fib + MACD Indicator
1 stars

Mirror Oscillator Signals Only is an overlay indicator that projects Fibonacci wave symmetry and calculates signals based on user-selected chart anchor points and Williams Fractals. The script uses interactive time and price coordinates to establish wave refer

Indicator v5 Oscillators & momentumSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscillator Signals Only

MD Range Finder 3

by mikeyhu70
1 stars

A Pine Script v4 indicator, the base version of the range finder, that locates a price range over a 50-bar period with a delay of three bars and draws baselines at 0, 0.5 and 1 on the price chart. Fibonacci-style extension lines are projected from the range an

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3
106 stars

This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status

Strategy v4 Screeners & dashboardsBreakout Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 1St Bar GAP+BkOut Screener v2 by RM

This overlay indicator draws prior month, week, and day reference levels on the price chart, plus current month levels. It plots prior month high and low, open and close, and point of control, current month high and low and point of control, prior week high an

Indicator v5 Support & resistanceSessions & time

ORB + Fib + MACD Strategy

by alboogycOdR
6 stars

This strategy builds a timed opening range and tracks session high and low on the price chart. It flags bullish and bearish breakouts of that range and uses Fibonacci levels for an entry zone, a default stop, and an optional take-profit extension. Take profit

Strategy v5 BreakoutSupport & resistance
Updated 7 months ago · None stated GitHub repository of ORB + Fib + MACD Strategy

HTF Liquidity Levels

by regalouisei
2 stars

This indicator tracks and draws higher-timeframe liquidity levels directly on the price chart using customizable horizontal lines. It plots upper and lower liquidity reference boundaries across up to five user-configured timeframes, ranging from monthly down t

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of HTF Liquidity Levels
1 stars

Reflects past swing pivots across a chosen time axis on the price chart. The user selects a mirror time and a ratio; the script records confirmed pivot highs and lows that occurred before that time, using adjustable left and right lengths of five bars. When a

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirrored Pivots - Time Reflection

MD Range Finder 3 (V2)

by mikeyhu70
1 stars

A Pine Script v4 indicator, a second variant of the range finder, that locates a price range over a 500-bar period and draws baselines at 0, 0.5 and 1 on the price chart, with Fibonacci-style extension lines projected from it. Lines extend to the right by defa

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3 (V2)
6 stars

This Pine Script indicator calculates the Opening Range Breakout (ORB) high and low within user-defined New York or London session times. It plots a colored box on the price chart marking the ORB range and its start bar index. After the session ends it detects

Indicator v5 BreakoutSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of ORB + ICT Hybrid Indicator
2 stars

This indicator tracks and visualizes cyclical turning points based on Hurst cycle principles in a separate pane. It identifies confirmed pivot highs or lows across multiple harmonic lengths ranging from half-cycle to 32x cycles. For each cycle length, it calcu

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Hurst Diamond Notation Pivots
1 stars

Mirrored Price Polyline reflects price action across an interactive reference line drawn directly on the price chart. Users select two anchor points with custom time and price coordinates. The script calculates the slope between these points to define a centra

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Mirrored Price Polyline

MD Range Finder 3 (V3)

by mikeyhu70
1 stars

A Pine Script v4 indicator, a third variant of the range finder, that locates a price range over a 500-bar period and draws baselines at 0, 0.5 and 1 on the price chart, with Fibonacci-style extension lines projected from it. Lines extend to the right by defau

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3 (V3)
6 stars

This indicator tracks opening range breakout (ORB) windows for the London and New York sessions and identifies ICT-style liquidity grabs. It calculates the high and low boundaries during the configured session periods and plots visual boxes directly on the pri

Indicator v5 BreakoutSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of ORB + ICT Hybrid Indicator

Ichimoku Kinkō Hyō

by regalouisei
2 stars

This indicator plots an enhanced version of the traditional Ichimoku Kinkō Hyō on the main price chart. It calculates adaptive Tenkan-Sen and Kijun-Sen lines using dynamic lookback periods adjusted by volume, ATR volatility, and Chikou trend filters. Users can

Indicator v5 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of Ichimoku Kinkō Hyō

TL Range X V3

by vedkanani123
1 stars

An indicator for the price chart that builds a ladder of resistance and support levels from a daily range divided by a divisor, measured from the daily, weekly or monthly open, with extra levels unlocking on strong runs and optional Fibonacci lines inside each

Indicator v6 Support & resistanceSessions & time Repaints
Updated 2 months ago · None stated GitHub repository of TL Range X V3

MD Range Finder 3 (V4)

by mikeyhu70
1 stars

A Pine Script v4 indicator, a fourth variant of the range finder, that locates a price range over a 500-bar period and draws baselines at 0, 0.5 and 1 on the price chart, with Fibonacci-style extension lines projected from it. Lines extend to the right by defa

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3 (V4)
106 stars

This overlay strategy plots a two-timeframe Ichimoku setup on the price chart, with Tenkan, Kijun, Chikou, and Kumo from a base higher timeframe and an optional highest-timeframe cloud. It allows two entries in the same direction and uses ATR-based trailing st

Strategy v4 TrendVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of 2Tier Ichimoku Pyramiding [Takazudo]

ORB + ICT Hybrid Strategy

by alboogycOdR
6 stars

This strategy builds a New York and London opening range from user-set start and end times and stores the session high and low on the price chart. After the range, it flags a bullish or bearish liquidity grab when price trades beyond the prior range and closes

Strategy v5 Sessions & timeSMC / ICT / price action Repaints
Updated 7 months ago · None stated GitHub repository of ORB + ICT Hybrid Strategy

The Morindok Dynamic Gann Spiral Ratio indicator computes time and price angles derived from a dynamic N value based on volatility and a selected price source. It calculates a ratio between these angles and generates buy or sell signals when the ratio approach

Indicator v5 Support & resistanceTrend
Updated 7 weeks ago · None stated GitHub repository of Morindok Dynamic Gann Spiral Ratio

MD Range Finder 3 (V5)

by mikeyhu70
1 stars

A Pine Script v4 indicator, a fifth variant of the range finder, that locates a price range over a 500-bar period and draws baselines at 0, 0.5 and 1 on the price chart, with Fibonacci-style extension lines projected from it. Lines extend to the right by defau

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of MD Range Finder 3 (V5)
99 stars

This indicator plots the highest value of a chosen source over a rolling lookback. It maintains a monotonic deque and a circular buffer so each bar updates the window maximum. The period input sets the lookback length and the source input selects the series, d

Indicator v6 Support & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Highest Value (HIGHEST)

Target Radar

by eddiebelaval
7 stars

Target Radar is a multi-factor forecasting indicator that plots projection bands, forward boxes, and dynamic target zones directly on the main price chart. It calculates a forecast score by combining z-scores for trend, momentum, volume pressure, and volatilit

Indicator v5 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Target Radar

ORB ON SLVRBL

by alboogycOdR
6 stars

ORB ON SLVRBL is a strategy that combines Opening Range Breakouts with ICT Silver Bullet concepts, including Fair Value Gaps (FVG) and Market Structure Shifts (MSS). It identifies breakouts based on candle closes or wicks within designated session windows. Tra

Strategy v5 SMC / ICT / price actionBreakout Repaints
Updated 7 months ago · None stated GitHub repository of ORB ON SLVRBL
1 stars

This strategy detects value area rejections on the price chart. It calculates a fair value midpoint using a simple moving average of length 50 and ATR-based bands. Bullish and bearish rejection signals trigger when price crosses the value area boundaries and c

Strategy v6 Mean reversionVolatility & bands
Updated 2 months ago · None stated GitHub repository of Tn Value Area Rejection v6

Peak Activity Levels

by mikeyhu70
1 stars

A Pine Script v4 indicator, credited to LuxAlgo, that draws horizontal levels on the price chart at prices where volume pivot highs formed. It finds pivots in volume over a set length, stores the closing price at each, and shows a chosen number of recent level

Indicator v4 Support & resistanceVolume
Updated 6 months ago · None stated GitHub repository of Peak Activity Levels

My Script

by be-thomas
65 stars

This is a simple Pine Script v4 indicator that overlays elements directly onto the main price chart. It demonstrates basic label creation by placing a label at bar_index plus 100 positioned at the current high price level. No calculations or calculations are p

Indicator v4 Support & resistance
Updated 5 days ago · GPL-3.0 GitHub repository of My Script

ORB Silver Bullet

by alboogycOdR
6 stars

This overlay indicator marks an opening-range breakout for a chosen session and combines it with fair value gaps, market structure shifts, order blocks, and optional liquidity sweeps. Buy and sell signals depend on the selected execution type, close or wick br

Indicator v5 SMC / ICT / price actionBreakout
Updated 7 months ago · None stated GitHub repository of ORB Silver Bullet
1 stars

This indicator calculates W.D. Gann Square of 9 support and resistance levels based on cardinal (90°, 180°, 270°, 360°) and ordinal (45°, 135°, 225°, 315°) polar angles. It anchors calculations to recent swing pivots, highs, lows, or a user-defined manual pric

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Morindok Gannzilla Sq9

HUYA Tracker

by Allen1212
303 stars

The HUYA Tracker indicator plots buy and sell labels on the price chart to mark ARK Invest trading activity in HUYA stock. It displays dates when ARK purchased or sold shares using X1 notation for single share counts. The main setting allows selection of speci

Indicator v4 Support & resistanceSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of HUYA Tracker

Price Action Suite

by alboogycOdR
6 stars

Price Action Suite is an overlay indicator that identifies key price action and smart money concepts directly on the main chart. It plots internal and external market structure events such as Break of Structure and Change of Character, displays swing order blo

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Price Action Suite

Sine Wave for FLD

by mikeyhu70
1 stars

This indicator draws sine waves tied to Future Line of Demarcation cycles in a separate pane. Up to three FLD periods can be set manually or chosen automatically from the chart timeframe, with offsets, line widths and transparency for each. A composite line co

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of Sine Wave for FLD
6 stars

The Professional ORB + ICT System combines Opening Range Breakout (ORB) techniques with Smart Money Concepts on the price chart. It defines session opening ranges across major global sessions, classifies range width using ATR metrics, and tracks Relative Volum

Indicator v5 SMC / ICT / price actionBreakout
Updated 7 months ago · None stated GitHub repository of Professional ORB + ICT System

Moving Box

by morindok
1 stars

This indicator projects dynamic geometric shapes and envelopes directly onto the price chart based on moving averages and extreme price lookbacks. Users can select shapes such as boxes, rhombuses, ellipses, spirals, or hypercubes. The script calculates base, m

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Moving Box
1 stars

The script calculates the yield spread between long-term and short-term US Treasury yields (T10Y2Y or manual US10Y minus US02Y) and plots the spread line on a separate pane. It signals long entries on steepening beyond a user threshold in reversion mode or SMA

Strategy v6 Mean reversionSupport & resistance
Updated 2 months ago · None stated GitHub repository of TN Yield Spread Sovereign v6

Swing High/Low

by mikeyhu70
1 stars

Finds pivot highs and lows using separate left and right bar lengths and draws them on the price chart. A shift setting waits for the bar to close before printing a pivot, and an option shows the most recent low as a stop reference. Levels can extend to the ri

Indicator v4 Support & resistance
Updated 6 months ago · None stated GitHub repository of Swing High/Low

VWAP Trader NXi

by eddiebelaval
7 stars

VWAP Trader NXi calculates a daily session-anchored Volume Weighted Average Price along with two custom standard deviation bands on the main price chart. It plots the core VWAP, Value Area bands, outer extension zones with background shading, and the previous

Indicator v5 VolumeVolatility & bands
Updated 3 months ago · None stated GitHub repository of VWAP Trader NXi
6 stars

This indicator marks a trading session in the GMT+2 timezone and builds a price range from the four hours before the session starts. It requests one-minute highs and lows, stores the range extremes, and draws two horizontal lines on the price chart that extend

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Range Rejection Trading Indicator

The Keltner Center Of Gravity Channel Mutations Indicator calculates adaptive channel metrics based on Donchian range Fibonacci levels (38.2% and 61.8%) and Average True Range (ATR) offsets. The lookback period automatically adjusts according to the active tim

Indicator v5 Volatility & bandsVolume
Updated 8 months ago · None stated GitHub repository of Keltner Center Of Gravity Channel Mutations Indicator

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