Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 10)

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

This indicator finds pivot highs and lows with an adjustable detection length and margin, then draws buyside and sellside liquidity zones and level lines on the price chart. Zones can be coloured separately and given their own margin. Optional liquidity voids

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Buyside & Sellside Liquidity

Liquidity Zones

by MarcosACH
1 stars

Liquidity Zones highlights bars where volume is above a multiple of its moving average while short-term price volatility is below half of the average volatility. Matching bars are shaded as zones, with optional labels showing the zone volume in units or curren

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Liquidity Zones

Consolidation Zones

by MarcosACH
1 stars

Consolidation Zones draws boxes over periods when price stays inside a band around a simple moving average. A zone forms when every close in the last minimum-zone-length bars sits within one ATR of the average. Overlapping zones are extended and merged, and zo

Indicator v6 Volatility & bandsSupport & resistance
Updated 1 year ago · None stated GitHub repository of Consolidation Zones

Market Structure

by MarcosACH
1 stars

Market Structure plots swing highs and swing lows, found as the highest or lowest bar within a configurable window, and marks change of character events when the close breaks the latest swing level in the opposite direction. Pivot colors, visibility and the nu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Market Structure
1 stars

Dynamic Anchored VWAP calculates a volume-weighted average price starting from a selected dynamic or manual anchor point, such as the chart start, daily start, weekly start, monthly start, or a specific timestamp. It calculates and plots the anchored VWAP alon

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · GPL-3.0 GitHub repository of Dynamic Anchored VWAP

Crown Club Strategy

by GigantePT
1 stars

Crown Club Strategy is an overlay indicator that plots two simple moving averages, 50 and 200 by default, together with the previous week's and yesterday's high and low. For each period it adds Fibonacci levels and a golden zone, oriented by a long or short bi

Indicator v6 Support & resistanceMoving averages Repaints
Updated 1 year ago · Custom licence GitHub repository of Crown Club Strategy

Draw-On-Liquidity

by harshaldulera
1 stars

Draw-On-Liquidity is an overlay indicator that marks liquidity on the price chart. It reads highs and lows from a chosen higher timeframe and draws extended lines with buy-side and sell-side liquidity labels when consecutive values fall within a percentage thr

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of Draw-On-Liquidity
1 stars

A strategy meant for one-minute charts that buys when price is near a recent pivot low, RSI is below an oversold level, a hammer or bullish engulfing candle appears and price is above an EMA. Sells mirror this near pivot highs with overbought RSI, bearish patt

Strategy v6 Candlestick patternsSupport & resistance

An overlay indicator that detects swing structure on up to three configurable timeframes and marks break of structure and market structure shift events with lines and labels. Each timeframe has its own swing length, line style, colours and a choice between clo

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Multi Timeframe Break of Structure (BOS) & Market Structure Shift (MSS)
1 stars

Calculates take profit and stop loss levels from the Average True Range and shows them on the price chart for long and short setups. Settings are the ATR period and separate multipliers for the stop loss and the take profit. The levels are computed from the la

Indicator v5 Volatility & bandsSupport & resistance
Updated 1 year ago · None stated GitHub repository of ATR Auto TP/SL Calculator
1 stars

Scans recent price swings on the chart for four harmonic patterns, Bat, Butterfly, Crab and Shark, checking Fibonacci ratios within an adjustable tolerance over a lookback window. Detected patterns are drawn with labels, price levels, a completion marker and a

Indicator v5 Support & resistance
Updated 1 year ago · MIT GitHub repository of Harmonic Pattern Recognition

A pivot breakout strategy for the S50 futures on a 30-minute chart. Swing highs and lows are found from left and right bar counts, with stop entries placed beyond them. Each entry has an exit order with a stop one ATR past the pivot and a limit set by a risk t

Strategy v6 BreakoutSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of S50 TFEX Strategy LeftBar RightBar

BTC Fair Value Levels

by PitzTech
1 stars

An indicator that plots a 200-period simple moving average on the price chart and builds colour-filled bands from multiples of it: half, one and a half, two, two and a half and three times the average. The length is adjustable, and the intended use is the 200-

Indicator v6 Support & resistanceMoving averages
Updated 1 year ago · None stated GitHub repository of BTC Fair Value Levels
1 stars

Auto Trend Line Indicator is a minimal overlay script that looks back over a set number of bars for the most recent swing high and swing low, then draws a green line joining them. Swing length and lookback period are the only settings. A new line is created on

Indicator v5 Support & resistance Repaints
Updated 1 year ago · GPL-3.0 GitHub repository of Auto Trend Line Indicator

Forex Sessions

by klimasevskiy
1 stars

This indicator highlights key trading sessions directly on the price chart to help identify periods of high volatility. It visualizes Asian, Frankfurt, London, and New York killzones using configurable background boxes, high and low boundary lines, and pip-ran

Indicator v5 Sessions & timeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Forex Sessions

Liquidation Levels

by mrgunkin
1 stars

This indicator calculates estimated long and short liquidation prices from a manually entered base price and five leverage settings. A maintenance-margin factor shifts each level, and a nonlinear option changes the leverage used for inverse-style contracts. It

Indicator v6 Support & resistance
Updated 1 year ago · MIT GitHub repository of Liquidation Levels

This indicator combines Fibonacci Golden Zone retracements, VWAP-based divergence detection, and RSI optimized with Kernel Density Estimation (KDE). It identifies high and low swing points to overlay key Fibonacci retracement levels directly on the main price

Indicator v6 Support & resistanceOscillators & momentum

Mxwll Suite Strategy

by nishimweprince
1 stars

A strategy built on a smart money concepts toolkit that draws internal and external market structure with break of structure and change of character labels, swing order blocks, fair value gaps, previous day and 4-hour highs and lows, and automatic Fibonacci le

Strategy v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Mxwll Suite Strategy
1 stars

A Pine v6 strategy on the price chart that applies a range filter to smooth price and detect direction, optionally on Heikin Ashi candles, with sampling period and multiplier settings. It also draws pivot-based support and resistance levels. Trades can be limi

Strategy v6 TrendSupport & resistance
Updated 1 year ago · MIT GitHub repository of Range Filter Buy and Sell
1 stars

A short overlay indicator that plots rolling resistance and support lines using the highest high and lowest low over a lookback period, 20 bars by default. When a level changes it adds a small label marking the new resistance or support. Inputs set the lookbac

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Support/Resistance Indicator

MACD and SR Channel

by sina-parsania
1 stars

An overlay indicator that merges pivot-based support and resistance channels with MACD signals and a visual backtest module. Channels are built from pivot points inside a loopback window, with limits on width, strength and count, and are coloured when price si

Indicator v5 Support & resistanceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of MACD and SR Channel

An overlay indicator combining several tools. It finds pivot highs and lows and groups them into support and resistance channels, limited by width, count and minimum strength, drawn with a chosen line style and colours. It also plots three smoothed moving aver

Indicator v5 Support & resistanceMoving averages
1 stars

A smart money concepts toolkit on the price chart that marks market structure with internal and swing structure, order blocks, equal highs and lows, fair value gaps and premium, discount and equilibrium zones. It can colour candles, flag boring candles and sho

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of My Algo Smart Money Concepts
1 stars

A Pine v5 overlay that plots four EMAs (20, 50, 100 and 200) together with a daily central pivot range, taken from the previous day's values, and a full set of pivot point support and resistance levels. Pivot types include Traditional, Fibonacci, Woodie, Class

Indicator v5 Support & resistanceMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of Scalping EMA and Daily Pivots

LWTI-pro

by 78i87
1 stars

LWTI-pro is a custom momentum oscillator plotted in a separate pane. It computes a normalized line from the difference between current and per-bar-close prices divided by ATR then scaled to center at 50. Optional smoothing applies SMA EMA WMA or RMA to the lin

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of LWTI-pro

Kavi's Custom Indicators

by kavichelvan
1 stars

A chart overlay combining pivot-based support and resistance lines, five smoothed moving averages (10, 21, 50, 100 and 200), and a zigzag with order block and breaker block boxes. Break labels appear when price crosses a pivot level with a volume-oscillator fi

Indicator v5 Support & resistanceMoving averages
Updated 2 years ago · None stated GitHub repository of Kavi's Custom Indicators

ARI wrong gap finder

by alessioricco
1 stars

ARI wrong gap finder is an overlay indicator that searches recent bars for bearish and bullish price gaps. It compares an older low or high range with the current bar and marks a gap only when the percentage difference exceeds the minimum allowed. A qualifying

Indicator v4 Support & resistance
Updated 2 years ago · Apache-2.0 GitHub repository of ARI wrong gap finder
1 stars

A smart money concepts overlay that marks swing pivots, break of structure and change of character events, liquidity sweeps, and liquidation wicks on the price chart. The pivot length and liquidation validity window are adjustable, candles can be coloured by c

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of SMC Market Structure

Thange Woodwind Playbook

by govindthange
1 stars

A chart indicator built on Ichimoku-style components, with short-term, mid-term and long-term equilibrium lines, a lagging span and a cloud called the resistance band. It shows entry and exit signals and plans position size from an account size and maximum ris

Indicator v5 TrendSupport & resistance
Updated 3 years ago · Custom licence GitHub repository of Thange Woodwind Playbook
1 stars

Auto Fib Retracement + Extension draws selectable Fibonacci retracement and extension levels on the price chart from recent price pivots. A lookback sets how far back pivots are found, and a setting extends earlier Fibonacci sets. Traders can show or hide indi

Indicator v4 Support & resistanceOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of Auto Fib Retracement + Extension

YIGITBOX PHL2

by hassonya
1 stars

An overlay that draws two sets of pivot levels from the previous day's range: a classic pivot with first resistance and support, and a close-based pivot with levels half a range above and below. The range comes from daily data, or weekly or monthly on higher c

Indicator v5 Support & resistanceSessions & time
Updated 3 years ago · None stated GitHub repository of YIGITBOX PHL2

Sweeps

by lesari08
1 stars

The Sweeps indicator detects and plots bullish and bearish liquidity sweeps and raids directly on the main price chart. It identifies instances where price moves beyond significant swing highs or lows on a selected timeframe without closing past them, indicati

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of Sweeps

N Pattern

by itmakesyousick
1 stars

This indicator searches recent pivots for an N-shaped pattern of points A, B and C and projects a future point D on the price chart. Pivot left and right bars, lookback, and validation rules based on ATR and leg volume control which patterns qualify. Projected

Indicator v5 Support & resistanceBreakout Repaints
Updated 3 years ago · None stated GitHub repository of N Pattern

LP Breakeven v2

by ubiquity
1 stars

This indicator charts a Uniswap V3 liquidity position against price, for an ETH and stablecoin pair. The user enters the deposit time and price, the original and current token amounts, and unclaimed fees. It draws dotted lines at the fixed range bottom and top

Indicator v5 Support & resistance Archived
Updated 3 years ago · None stated GitHub repository of LP Breakeven v2
1 stars

An overlay indicator that plots the previous week high and low as stepped lines and uses them with previous month and quarter levels to decide when a close counts as support or resistance. Circles mark those support and resistance points, and the chart backgro

Indicator v4 Support & resistanceBreakout
Updated 4 years ago · None stated GitHub repository of Universal Support and Resistance

The script calculates two exponential moving averages with 21 and 34 periods and plots them on the price chart. It fills the area between them in a color that changes from green to red based on whether the fast MA is above the slow MA. This creates support ban

Indicator v5 Moving averagesTrend Archived
Updated 4 years ago · MPL-2.0 GitHub repository of MehdiJangjou - BullMarket Support Type 2
1 stars

A Pine v4 overlay that draws a volume profile on the price chart. Volume over a lookback window is split into price bins and shown as horizontal bars, with an optional point of control line at the busiest level. Settings control lookback depth up to 1000 bars,

Indicator v4 VolumeSupport & resistance
Updated 5 years ago · None stated GitHub repository of Volume Profile + 3EMA

Donchian Ichimoku Hybrid

by rocketbrainsurgeon
1 stars

This indicator builds a Donchian channel with midlines between the extremes, then uses Ichimoku-style logic to classify the market as trending up, trending down or ranging. Bars are coloured green, red or gray and the zones near the basis are shaded. An option

Indicator v4 TrendBreakout
Updated 5 years ago · GPL-3.0 GitHub repository of Donchian Ichimoku Hybrid

This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr

Strategy v6 BreakoutTrend
Updated yesterday · AGPL-3.0 GitHub repository of Forven S01509 - Simple Donchian 20/10 Breakout
257 stars

This strategy plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos

Strategy v6 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Best Chart 1m Strategy Candle Bar
228 stars

This indicator plots a customizable horizontal price line directly on the price chart and displays dynamic distance metrics, including ticks, dollars, and points relative to the current close. It monitors price interactions to trigger cross alerts and construc

Indicator v6 Support & resistance
Updated 3 months ago · None stated GitHub repository of Advanced Order Line with TradersPost

Deduct

by TaichiS
219 stars

This indicator displays moving average deduction reference points directly on the price chart. It plots dynamic labels on historical bars corresponding to short, medium, and long lookback periods, defaulted to 20, 60, and 120 bars. Each text label displays the

Indicator v4 Moving averagesSupport & resistance
Updated 5 years ago · None stated GitHub repository of Deduct

Fractal Model

by fxraptor-alpha
138 stars

Fractal Model is a price-chart indicator that tracks multi-timeframe liquidity sweeps, reversal confirmation, and forward projections. It draws higher-timeframe candles beside price, marks high and low sweeps, and tracks CISD plus later IC-CISD levels after a

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 weeks ago · Custom licence GitHub repository of Fractal Model
92 stars

This overlay indicator draws horizontal lines at ten hardcoded ETH long-liquidation prices and ten short-liquidation prices from a Hyperliquid snapshot. Longs use red and amber and shorts use green and cyan, with the three nearest levels on each side drawn thi

Indicator v6 Support & resistance
Updated 2 months ago · Custom licence GitHub repository of Moon Dev Liq Lines — ETH
56 stars

This overlay indicator highlights candles with a body smaller than 50% of their total range by coloring them white on the price chart. Simultaneously, it calculates and plots horizontal lines for open prices across multiple higher timeframes, such as daily, we

Indicator v6 Support & resistanceCandlestick patterns Repaints
Updated 2 months ago · None stated GitHub repository of Daily Weekly Monthly Yearly Opens
55 stars

This indicator automatically identifies structural pivot highs and pivot lows using a fixed 15-bar left and right evaluation window. It stores recent pivot values and timestamps in dynamic arrays and, on the current bar, plots extended trendlines connecting th

Indicator v6 TrendSupport & resistance
Updated 6 months ago · Apache-2.0 GitHub repository of Auto Trendlines using line.*

AM TBR — NQ Stats

by TamaraKGreen
46 stars

The AM TBR indicator calculates statistical levels for NQ futures using standard deviation. It plots a sigma ladder showing touch levels at 0.5 to 2.0 standard deviations, marks touch points, displays Mean Absolute Error (MAE) zones after touches, and shows Me

Indicator v6 Volatility & bandsSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of AM TBR — NQ Stats

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