Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 62)

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

Lowest Value (LOWEST)

by mihakralj
99 stars

This indicator plots the lowest value of a chosen source over a rolling lookback. It uses a monotonic deque so each bar updates the window minimum without scanning the whole period. A period input sets the lookback length, and a source input selects the series

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

This overlay indicator marks the high and low of the 19:30 SAST Wednesday bar and draws a separate pair of horizontal lines for the first through fifth Wednesday of the month. Each Wednesday has its own high and low colours and line widths, and each pair can b

Indicator v5 Support & resistanceSessions & time
1 stars

This strategy detects pivot highs and lows to establish swing structure, then identifies liquidity sweeps where price breaks the wick of the most recent pivot and closes back inside it. After a one-bar delay on continuation, it fires long entries on bullish st

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe liquidity-sweep-probe-integration
1 stars

This indicator calculates dynamic symmetry lines by reflecting lagged price points across upper and lower boundary bands. Users can choose between Bollinger Bands or Donchian Channels to define the baseline boundaries. The script generates alternating BUY and

Indicator v5 Volatility & bandsSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Spiral Symmetric Signals
1 stars

Tick-chart-friendly overlay indicator extending the volume order block engine with multi-zone and cluster detection. Six sensitivity tiers build zones from fast and slow EMA crossovers, and the default view shows only VLB bull and bear markers, which need zone

Indicator v5 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Multiples Tick-Friendly

Percent Rank

by regalouisei
2 stars

The Percent Rank indicator plots the percent rank of closing prices for ten different cryptocurrency symbols in columns within a separate pane. It calculates the rank relative to previous values over a user-defined length period, defaulting to 60 bars. Columns

Indicator v5 Oscillators & momentumSupport & resistance
Updated 8 months ago · None stated GitHub repository of Percent Rank

This strategy detects market regime state transitions based on pivot high and low break levels. It calculates pivot highs and lows using a specified strength setting and updates the market state when the close price breaks above the last pivot high or below th

Strategy v6 TrendBreakout
Updated 6 days ago · Apache-2.0 GitHub repository of PF Probe Market Shift Probe 03 Shift Driven Entry
1 stars

This strategy calculates dynamic upper and lower boundaries over a specified lookback period alongside expanding mathematical spiral levels. It monitors price rejections where candles penetrate the upper or lower spiral bounds but close back within them. When

Strategy v5 Support & resistanceMean reversion
Updated 7 weeks ago · None stated GitHub repository of Spiral Symmetric Strategy
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 v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11 Multiples Tick-Friendly

MGA-tracker

by Allen1212
303 stars

This Pine Script indicator plots ARK Invest trade labels directly on the price chart for selected stocks. Labels show buy or sell events with share volumes and ETF weights, including counts for multiple ETFs trading the same day. The main input setting allows

Indicator v4 Support & resistanceScreeners & dashboards
Updated 2 years ago · None stated GitHub repository of MGA-tracker

MA Envelope (MAE)

by mihakralj
99 stars

The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p

Indicator v6 Moving averagesSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of MA Envelope (MAE)

Range Analysis

by be-thomas
65 stars

Analyzes price action over a rolling five-day lookback window calculated from the current real-time timestamp. The indicator identifies bars that fall within the five-day period, computes the highest high across that window, and plots a marker at that price le

Indicator v4 Support & resistance Repaints
Updated 5 days ago · GPL-3.0 GitHub repository of Range Analysis
1 stars

This strategy maintains a market regime state based on breaks through recent pivot highs and lows. It tracks pivot levels with user-set strength and flips from neutral to bull on price closing above the last pivot high or to bear on closing below the last pivo

Strategy v6 TrendSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF Probe Market-Shift-Probe-01-Shift-State

VOB v11.10

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on a single candle, tier clusters and all-time-high-volume

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.10

MGIC-tracker

by Allen1212
303 stars

The MGIC-tracker is a TradingView indicator that overlays ARK Invest trade records onto stock price charts. It plots buy and sell labels at the exact timestamp of each transaction, showing share volume and ETF weight. Users select a specific ETF type via setti

Indicator v4 Support & resistanceVolume
Updated 2 years ago · None stated GitHub repository of MGIC-tracker
3 stars

Calculates and projects multi-timeframe supply and demand zones directly on the price chart. The indicator identifies pivot points and renders colored zone boxes across configurable timeframes ranging from 5 minutes to 1 week. Settings allow users to adjust pi

Indicator v5 Support & resistanceSMC / ICT / price action Repaints
Updated 5 months ago · None stated GitHub repository of MTF Supply/Demand

Point of Control

by regalouisei
2 stars

This indicator tracks and plots the Point of Control (POC) directly on the price chart by distributing volume across discrete price increments. It can reset calculations daily, weekly, or after a custom number of bars. Additional options allow plotting histori

Indicator v5 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of Point of Control

This Pine Script strategy computes rolling highest and lowest prices over a user-set window. It draws reference levels on the price chart and issues long signals on close crossing the prior rolling low plus short signals on close crossing the prior rolling hig

Strategy v6 TrendSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe market-shift-probe-02-rolling-extreme

VOB v11.10 Tick

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on a single candle, tier clusters and all-time-high-volume

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.10 Tick

All-time-high

by hasnocool
106 stars

This strategy tracks the highest price on the chart and plots that all-time high plus bands at 90, 80, and 70 percent of it. It enters a long when the close falls below a user-set fraction of the high, defaulting to 80 percent, using full equity. It closes the

Strategy v4 Support & resistanceMean reversion
Updated 2 years ago · GPL-3.0 GitHub repository of All-time-high
3 stars

This indicator draws multi-timeframe supply and demand zones as boxes on the price chart. It uses a swing length to locate pivots and a width setting to set zone thickness, and it can optionally add one-minute and five-minute zones. Users can allow overlapping

Indicator v5 Support & resistanceSMC / ICT / price action Repaints
Updated 5 months ago · None stated GitHub repository of MTF Supply/Demand v2
1 stars

This strategy composes confirmed pivot breaks, a rolling price extreme, and a state-edge detector into overlay entries on the price chart. Market state turns bullish when close breaks the latest confirmed pivot high and bearish on a break of the latest pivot l

Strategy v6 Support & resistanceBreakout
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe market-shift-probe-integration

VOB v11.11

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clusters and all-time-high-volume bars

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.11

Probability Cones

by regalouisei
2 stars

Calculates and projects statistical probability cones forward onto the price chart based on historical sample data over a selectable lookback period. It supports standard deviation, Laplace distribution, and absolute deviation calculation methods. The cone anc

Indicator v5 Volatility & bandsSupport & resistance
Updated 8 months ago · None stated GitHub repository of Probability Cones

VOB v11.11 Tick

by nishpa800
1 stars

Detects volume order block zones from six moving average pairs at different sensitivity lengths and draws them on the price chart. It marks ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clusters and all-time-high-volume bars

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.11 Tick

My Fractals

by g-moe
3 stars

This indicator calculates and plots Bill Williams style swing high and swing low fractals directly on the price chart. It evaluates high and low price relationships across surrounding bars according to a configurable period setting. Reversal points are visuall

Indicator v5 Support & resistanceCandlestick patterns Repaints
Updated 5 months ago · None stated GitHub repository of My Fractals

This indicator provides four selectable analytical datasets directly on the price chart: quartile volume analysis, volume aggregation bars, US range bars, and gap tracking. Depending on the active mode, it plots synthetic candle structures, historical congesti

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Quartile Volume, Volume Aggregation, US Range Bars, Gaps

Spiral{Morindok}

by morindok
1 stars

Spiral{Morindok} draws a geometric spiral on the price chart between a user-selected center point and an edge point. It expands the curve with a growth ratio that defaults to a Fibonacci value, and it lets the user set turn count, start angle, clockwise direct

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Spiral{Morindok}

VOB v11.9

by nishpa800
1 stars

Detects volume order block zones from six pairs of moving averages at different sensitivity lengths and draws them on the price chart. It marks combined events such as strict ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clu

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.9
1 stars

The strategy calculates the point of control and value area from the volume profile using a lookback of 150 bars and 24 rows. It applies a fast EMA trend filter, a V18 coherence resonance check with minimum threshold of 1.6, and an ATR volatility filter requir

Strategy v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of TnSovereignVolumeProfileScalpV6

Aphrodite

by hasnocool
106 stars

This Pine Script strategy overlays signals directly on the price chart, combining pseudo-random normal distribution calculations with price primeness detection. It sizes positions using a fixed percentage of equity and accumulates long entries with heavy pyram

Strategy v4 TrendSupport & resistance
Updated 2 years ago · GPL-3.0 GitHub repository of Aphrodite

This indicator calculates a staircase trailing trend line based on recent highest highs and lowest lows over a customizable lookback period. It plots a step-line directly on the price chart, changing color between green for uptrends and red for downtrends. It

Indicator v5 TrendSupport & resistance Repaints

VOB v11.9 Tick

by nishpa800
1 stars

Detects volume order block zones from six pairs of moving averages at different sensitivity lengths and draws them on the price chart. It marks combined events such as strict ladder patterns across the six tiers, multi-zone coincidences on one candle, tier clu

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB v11.9 Tick
65 stars

Calculates pivot high points based on user-defined left and right leg lengths and displays up to a specified number of recent pivot high labels on the main chart pane. It utilizes an array queue to track active label IDs, automatically deleting older labels wh

Indicator v4 Support & resistance
Updated 5 days ago · GPL-3.0 GitHub repository of Show Last n High Pivots
1 stars

PF Probe Trendmaster Trend Line Projection is a Pine Script strategy designed to evaluate trend line projections and slope math. It identifies swing pivot highs and lows using a configurable pivot strength setting and draws trend lines directly on the price ch

Strategy v6 TrendSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF Probe Trendmaster Trend Line Projection

Super Mirror

by morindok
1 stars

Super Mirror indicator plots multiple symmetric and reflected price lines directly on the price chart. It computes a moving average whose length varies based on the time interval between start and end times, then creates mirrored versions at two user-defined p

Indicator v5 Oscillators & momentumSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror
1 stars

This strategy detects long and short signals using a fast EMA crossing above or below a slow EMA. Entries only trigger when a recent pivot exists for anchoring. Long entries place a stop loss at the last pivot low and a take profit at 2R distance using the ent

Strategy v6 TrendMoving averages
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe trendmaster-probe-03-pivot-tp-sl
1 stars

Takes two user-chosen anchor points of time and price, adds an optional sloped angle scaled per bar, and computes a simple moving average whose length equals the number of bars between the anchors. It detrends the sloped levels and the average, builds mirrored

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror - Signals Only
1 stars

Super Mirror By BITMOON618 is an overlay indicator on the TradingView price chart. It calculates mirrored price levels based on user-defined price1 and price2, and a moving average of close. The indicator monitors price movements within a specified time range

Indicator v5 Support & resistanceSessions & time
Updated 7 weeks ago · None stated GitHub repository of Super Mirror By BITMOON618
106 stars

An intraday trading strategy that calculates daily pivot points, support and resistance levels, previous day high/low, and typical price. Designed around specific trading sessions like Indian market hours (09:15 to 15:30), it draws key reference levels directl

Strategy v4 Support & resistanceSessions & time Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of ARR-Pivote-India-Stategy

Opening Range

by g-moe
3 stars

The Opening Range indicator combines multiple technical analysis tools onto the main price chart. It calculates MACD momentum sequences alongside Stochastic oscillator limits to generate buy and sell triangle shapes. Additionally, it evaluates trend alignment

Indicator v5 TrendOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of Opening Range

Super Mirror Guide

by morindok
1 stars

Projects two vertical guide lines forward from a pivot time the user selects, drawn on the price chart. It builds a Fibonacci number sequence between a minimum and maximum bar count, finds the next number in that progression, and places one line at 0.618 of th

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Super Mirror Guide

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