Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 7)

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

Bitmoon System

by morindok
1 stars

The Bitmoon System calculates symmetrical price projections and mirrored fractal levels directly on the price chart. It allows users to set central mirror levels, reference price points, and reference time anchors to project past fractal patterns forward or ac

Indicator v6 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Bitmoon System

IFVG + OTE Indicator

by tshepang31
1 stars

This indicator plots Inverse Fair Value Gaps (IFVG) and Optimal Trade Entry (OTE) zones directly on the price chart. It identifies bullish and bearish IFVGs from swing points and marks OTE levels at 0.62, 0.705 and 0.79 Fib extensions. The script detects confl

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 weeks ago · None stated GitHub repository of IFVG + OTE Indicator

XAUUSD LiqSweep+MSS+VP System

by MuthuvelMukesh
1 stars

This intraday strategy executes trades on gold (XAUUSD) 5-minute charts using 15-minute higher-timeframe bias. It identifies key liquidity levels—such as previous day highs and lows, session levels, swings, and equal highs or lows—and waits for confirmed liqui

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of XAUUSD LiqSweep+MSS+VP System

AIO Albi

by Albidev1
1 stars

An all-in-one overlay that draws a fast EMA and a slow EMA taken from other timeframes, current day, previous day and previous week highs and lows, and unfilled daily fair value gaps with a dotted midline. Optional extras are untouched daily swing points, the

Indicator v6 Support & resistanceMoving averages
Updated 2 months ago · None stated GitHub repository of AIO Albi

MKUMARAN RRMS Strategy

by shadowmarketai
1 stars

A long and short strategy that finds the lowest low and highest high over a swing lookback of 20 bars. It enters long near the low or short near the high when the reward-to-risk ratio meets a minimum, sizing each trade from a capital figure and a risk percenta

Strategy v5 Support & resistanceMean reversion
Updated 2 months ago · None stated GitHub repository of MKUMARAN RRMS Strategy

4Y AVWAP SIP

by sidd99-nit
1 stars

This indicator calculates four-year accumulated volume weighted average prices with recency weighting for the current year, previous year, two years ago and three years ago. It plots lines for each individual AVWAP, a recency-weighted composite and an equal-we

Indicator v6 Moving averagesSupport & resistance
Updated 2 months ago · None stated GitHub repository of 4Y AVWAP SIP

MP TD Sequential V1

by mikepardo
1 stars

A Pine v6 overlay that implements a Tom DeMark style Sequential count. It tracks Setup counts of nine bars and Countdown counts to thirteen, with options for price flip, the 13-versus-8 qualifier, TDST cancellation, opposing setup cancellation and recycling. I

Indicator v6 Oscillators & momentumSupport & resistance
Updated 2 months ago · None stated GitHub repository of MP TD Sequential V1

CH033 ORB+ PRO

by sandovalchristian033
1 stars

This indicator identifies failed opening range breakouts and plots session-based analytical overlays directly on the price chart. It defines the New York opening range from 09:30 to 09:45, identifies false breakouts that return inside the range, and triggers r

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of CH033 ORB+ PRO

Key Levels

by insomniac-asif
1 stars

Plots common futures reference levels on the price chart: previous day high, low and close, overnight high and low, the opening range, VWAP with bands, round numbers and a session background. Sessions use New York time, with a regular session of 0930 to 1600 a

Indicator v6 Support & resistanceSessions & time Repaints
Updated 2 months ago · MIT GitHub repository of Key Levels

Very Long Term RVOL Pro

by monikerprivacy-byte
1 stars

This indicator is drawn on the price chart and classifies relative volume against a simple moving average of volume. It combines volume with candle-body effort, close location, wick bias, and ATR to label bullish, bearish, or mixed conditions. Configurable thr

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of Very Long Term RVOL Pro

Magama SMC OB Alert

by Lleyton20
1 stars

An overlay indicator that finds swing highs and lows with pivots and flags a break of structure when the close crosses the latest swing point. On a break it marks the last opposing candle within a lookback as an order block, drawing a box with an optional 50 p

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Magama SMC OB Alert

SMC Entry Filter

by andriiops
1 stars

This overlay indicator tracks confirmed swing highs and lows as liquidity levels and marks a break of structure when the close moves beyond the last swing. It detects bullish and bearish fair value gaps that meet a minimum ATR size, then plots filtered long an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of SMC Entry Filter

MMC Order Block Strategy

by vproptrader10010-cmyk
1 stars

An indicator that detects swing highs and lows using a lookback setting and treats them as liquidity pools, plotting the latest ones as lines. It flags a stop-hunt sweep when price pushes beyond a swing level and closes back inside with an engulfing or hammer-

Indicator v6 SMC / ICT / price actionCandlestick patterns
Updated 2 months ago · None stated GitHub repository of MMC Order Block Strategy

POC VA MACD HA v1

by syrilj
1 stars

A chart-overlay indicator that builds an approximate volume profile over a recent window, plotting the point of control and the value area high and low. It also computes a Heikin-Ashi version of a range-normalised MACD. A long condition is flagged with a green

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of POC VA MACD HA v1

Contra v6

by jayadevrana
1 stars

This Pine Script strategy fades exhaustion moves into the Pivot Point SuperTrend band. It buys when price stretches down into the band and sells when price stretches up, using touch, reversal or both triggers. Entries support pyramiding with configurable steps

Strategy v6 Mean reversionVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Contra v6
1 stars

This Pine Script indicator plots a range filter line along with high and low target bands on the price chart. It calculates a smoothed average range using a sampling period and multiplier, then applies a filter to detect upward and downward trends. Signals tri

Indicator v5 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Range Filter Buy and Sell 5min

3 - 30 Formula

by jayadevrana
1 stars

A Pine v5 strategy that enters on a 3-period and 30-period EMA crossover when the candle is strong, meaning its body is at least 80 percent of its full range. A bullish cross on a strong green candle opens a long, and a bearish cross on a strong red candle ope

Strategy v5 Moving averagesTrend
Updated 2 months ago · Custom licence GitHub repository of 3 - 30 Formula

Triangle Patterns

by atroopa
1 stars

An indicator that draws sloping upper and lower trendlines from confirmed pivot highs and lows, forming triangle-style channels. The slope can be calculated with ATR, standard deviation or linear regression, scaled by a slope multiplier, and breakouts through

Indicator v5 Support & resistanceBreakout Repaints
Updated 2 months ago · None stated GitHub repository of Triangle Patterns

ICE Genesis

by ernest8707
1 stars

ICE Genesis is an overlay indicator that approximates ICT and smart money concepts on the price chart. It draws break of structure and change of character lines, liquidity, displacement, order blocks and fair value gaps, and adds a higher-timeframe bias engine

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

A Pine v5 research overlay for gold on 15 or 5 minute charts. It shades a New York morning entry window, shows a bias dashboard from fast and slow EMAs, and draws 4 hour and 1 hour fair value gaps and order blocks as higher timeframe areas of interest. A break

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of HTC v0.1 Gold Research
1 stars

This indicator plots High Timeframe Opening Gaps for Monthly, Weekly, and Daily sessions on the price chart, highlighting price levels formed by previous period closes to current opens. It displays Opening Price Lines at selected times including 00:00, 08:30,

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Opening Levels — Gaps + OPL

聪明钱概念 SMC [LuxAlgo]

by RouZuoMong2003
1 stars

This script provides a Chinese localization of the LuxAlgo Smart Money Concepts suite, plotting market structure directly onto the price chart. It detects both internal and swing market structure shifts, including break of structure (BOS) and change of charact

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · Custom licence GitHub repository of 聪明钱概念 SMC [LuxAlgo]

Liquidity Magnet

by VVASILEVSS
1 stars

A Pine v6 overlay that finds swing high and low pivots as resting liquidity pools and ranks them with a composite score. The score weighs volume at the pivot, distance from price on a log scale, pool age and momentum direction. Nearby pivots are merged into eq

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

Bitcoin Cycle Phase Map

by BitcoinDaily
1 stars

Bitcoin Cycle Phase Map is an overlay indicator that shades the Bitcoin chart by days since the latest halving, split into boom, bust and recovery zones. The zone boundaries, set at 520 and 910 days by default, can be changed. It projects upcoming zones forwar

Indicator v6 Sessions & timeSupport & resistance
Updated 3 months ago · Custom licence GitHub repository of Bitcoin Cycle Phase Map

ICT Liquidity Engine - Base

by annihilateiwnw-create
1 stars

The ICT Liquidity Engine - Base indicator identifies key liquidity levels and market sessions on the price chart using the New York time zone. It calculates and plots previous daily, weekly, and monthly high and low levels to highlight institutional liquidity

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of ICT Liquidity Engine - Base

This indicator plots an adaptive RSI on the price chart for gold. It calculates RSI with adaptive lookback and filters signals using EMA trend, higher timeframe bias, slope threshold, ATR volatility, and structure confirmation near swings. Signals appear as bu

Indicator v6 Oscillators & momentumDivergence
1 stars

This indicator overlays precomputed Elliott Wave count structures directly on the price chart for ETHUSD. It draws motive and corrective wave paths across primary and alternate wave scenarios, along with wave projections, subwaves, channels, invalidation level

Indicator v6 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of ETHUSD Elliott Wave Count
1 stars

Plots horizontal lines representing Deribit Bitcoin options max pain strike prices for multiple expirations directly on the price chart. Each line extends from the latest bar to its settlement timestamp, with line width dynamically scaled according to open int

Indicator v6 Support & resistanceVolume
Updated 3 months ago · MIT GitHub repository of BTC Max Pain (Deribit)
1 stars

High Low - Candle Origin is an overlay indicator that draws the current and previous period high and low as lines starting at the exact candle that formed each extreme. The period can be 1 hour, 4 hour, daily or weekly, and the chart timeframe must be smaller

Indicator v5 Support & resistanceSessions & time
Updated 3 months ago · MIT GitHub repository of High Low - Candle Origin

BTC Master Window Analysis

by ShubhRanpara
1 stars

This overlay indicator divides Bitcoin price history into repeating time windows measured in days, with an optional gap between windows and an optional custom start date that phase-locks each cycle. For each window it sets a center and upper and lower bounds f

Indicator v6 Support & resistanceBreakout
Updated 3 months ago · MIT GitHub repository of BTC Master Window Analysis

Fractal Model (TTrades)

by abhinaynatraj
1 stars

An overlay that draws higher-timeframe candles beside the current chart and adds T-spot detection, sweep logic and fractal model labelling. The higher timeframe is chosen automatically or set manually, with a bias setting, remaining-time timer, labels and an i

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Fractal Model (TTrades)
1 stars

BottleRocket Pivot Breakout is an intraday trading strategy designed to capture breakout moves above daily pivot levels. It derives floor trader pivots and ATR values from prior-day session data to avoid lookahead bias. Entries are filtered using a minimum sto

Strategy v6 BreakoutSupport & resistance Repaints
Updated 4 months ago · None stated GitHub repository of BottleRocket Pivot Breakout
1 stars

Marks order block zones on the price chart for gold. A displacement candle is one whose range is at least 1.2 times ATR on above-average volume; the last opposite-colour candle before it becomes the zone. Each zone is scored on five checks such as clean body,

Indicator v5 SMC / ICT / price actionScalping
Updated 4 months ago · None stated GitHub repository of Krishna Simple OB Scalper - XAUUSD
1 stars

An overlay that scans for trend-continuation pullbacks. It reads a 1-hour EMA stack for bias, waits for a close through the latest confirmed swing to mark a market structure shift, then draws the 0.62 to 0.79 Fibonacci optimal trade entry zone of that leg. A s

Indicator v6 SMC / ICT / price actionTrend
Updated 4 months ago · None stated GitHub repository of Market Structure + OTE

Asia Session Box

by riegodavid-git
1 stars

A small overlay indicator that draws a box around a fixed 30-minute window each day, defined in Philippine time (Asia/Manila). The only timing input is the start hour, 7 by default, so the window runs from the start of that hour to half past. The box expands t

Indicator v6 Sessions & timeSupport & resistance
Updated 4 months ago · None stated GitHub repository of Asia Session Box

AI Animal Predator

by unemployedrabi
1 stars

Detects harmonic XABCD patterns on the price chart: Gartley, Bat, Butterfly, Crab, Shark and Cypher, in bullish, bearish and potential incomplete forms. Each pattern receives a score. Settings choose which pattern types to show, an optional lookback in bars, t

Indicator v5 Support & resistance
Updated 4 months ago · MIT GitHub repository of AI Animal Predator
1 stars

An intraday overlay combining candle range theory with price action. It plots break of structure and change of character labels from swing pivots, the previous higher-timeframe candle as a range with premium and discount shading, previous day high and low, the

Indicator v5 SMC / ICT / price actionSessions & time
Updated 4 months ago · MIT GitHub repository of Forex Analyst - CRT + Price Action
1 stars

A price-chart indicator that builds a zigzag from pivot highs and lows and searches it for classic chart patterns such as double and triple tops and bottoms, head and shoulders, triangles, rectangles, cup and handle, flags and falling wedges. Each pattern gets

Indicator v5 BreakoutSupport & resistance
Updated 4 months ago · None stated GitHub repository of Chart Pattern Detector v2
1 stars

An overlay indicator that scans a configurable lookback window for Bat, Butterfly, Crab and Shark harmonic patterns using Fibonacci ratio checks with an adjustable tolerance. It draws pattern lines, labels, price levels, a projected completion point and a qual

Indicator v6 Support & resistance
Updated 4 months ago · MIT GitHub repository of Harmonic Pattern Recognition

po3_Cx

by PraiseSinkamba
1 stars

A price-chart indicator for a sweep, change in state of delivery and expansion model. It marks a liquidity sweep of a swing pivot, then a displacement candle that confirms the change within a set number of bars, and draws entry, stop and target lines with a ta

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of po3_Cx

RTE Overlay EURUSD 5M

by Jagadeesh963
1 stars

A generated overlay script that draws a fixed set of horizontal lines, boxes and text labels on the last bar of a EURUSD five-minute chart. The labels cover items such as market structure shifts, buy-side and sell-side liquidity, fair value gaps, an order bloc

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of RTE Overlay EURUSD 5M

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