Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 6)

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

Fractal Fibonacci

by Metaprogramlabs
1 stars

An overlay indicator that builds a dealing range from the latest fractal high and fractal low, using a 3-bar or 5-bar fractal with an adjustable confirmation period. It draws Fibonacci levels at 0, 0.5 and 1 to separate discount, equilibrium and premium, and r

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · Custom licence GitHub repository of Fractal Fibonacci

Ichimoku Cloud

by hongdangcs
1 stars

Plots the standard Ichimoku Cloud on the price chart: conversion line, base line, leading spans A and B and lagging span, using Donchian midpoints with default lengths of 9, 26 and 52. Lengths and displacement can be adjusted. The script also holds a group of

Indicator v5 TrendSupport & resistance
Updated 4 days ago · None stated GitHub repository of Ichimoku Cloud

Session Context

by jometa9
1 stars

An overlay that draws higher-timeframe candles on the chart, either over the lower-timeframe bars or projected as a mini chart to the right of the last bar. The timeframe is automatic or custom, drawing can be limited to a time window, and a countdown to the c

Indicator v6 Sessions & timeSupport & resistance Repaints
Updated 4 days ago · None stated GitHub repository of Session Context

EMA · RSI

by Tomas-Cyberia
1 stars

The EMA RSI indicator plots multiple moving averages including EMAs and MAs on the price chart and the RSI oscillator in a separate pane. It identifies when a trending asset returns to support with RSI in oversold, using green signals and confirmations at key

Indicator v6 TrendMoving averages
Updated 4 days ago · None stated GitHub repository of EMA · RSI

Mahi_varma PA

by manthenamahendravarma-IO
1 stars

This indicator maps market structure and price action levels directly on the price chart. It detects Break of Structure (BOS) and Change of Character (CHOCH) patterns alongside swing points. The script identifies key zones including Quasimodo Levels (QML), Sup

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 days ago · MIT GitHub repository of Mahi_varma PA

Liquidity Sweeps MTF

by Metaprogramlabs
1 stars

The indicator identifies multi-timeframe swing highs and swing lows to track liquidity levels across different chart horizons. When price wicks through a higher timeframe level and closes back inside, it plots a sweep line and label directly on the price chart

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 days ago · Custom licence GitHub repository of Liquidity Sweeps MTF

CRT

by Metaprogramlabs
1 stars

CRT is an overlay indicator based on candle range theory. It plots the high and low of a higher-timeframe candle and extends both levels to the right, with nine selectable timeframes from H1 to 12M. A range stays active while later candles remain inside it and

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 4 days ago · Custom licence GitHub repository of CRT

J13 Adv

by moonyroy
1 stars

This indicator overlays the developing 60-minute candle on the price chart as a wick box and a body box that update until the hour closes. It tracks the hour high and low, records the first extreme, and connects successive swing pivots with lines stored in a c

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 5 days ago · None stated GitHub repository of J13 Adv

Session Levels

by allanninal
1 stars

This indicator draws the Asia, London and New York sessions as boxes on the price chart, with the session high and low as the edges, in New York time with daylight saving handled. It also draws the previous day high and low, previous week high and low and toda

Indicator v6 Sessions & timeSupport & resistance
Updated 7 days ago · Custom licence GitHub repository of Session Levels

SMC Zones

by allanninal
1 stars

SMC Zones is an overlay indicator that identifies Smart Money Concepts structure on the price chart using closed-bar logic. It calculates and plots order blocks, fair value gaps, BOS and CHoCH break lines, and optional liquidity sweeps. Users can adjust swing

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 days ago · Custom licence GitHub repository of SMC Zones

Prior Day Breakout

by allanninal
1 stars

This strategy plots the previous trading day's high and low on the price chart and enters on the first close beyond either level, once per side per day, between 01:00 and 20:00 server time. A long starts above the high and a short below the low. The stop sits

Strategy v6 BreakoutSupport & resistance
Updated 7 days ago · Custom licence GitHub repository of Prior Day Breakout

Harmonic Signal Alerts

by allanninal
1 stars

This indicator finds ABCD, Gartley and Bat harmonic patterns from confirmed swing points and draws the XABCD legs, a dotted reversal zone and point labels on the price chart. It marks the closed bar where price reaches the reversal zone and can send one alert

Indicator v6 Support & resistance
Updated 7 days ago · Custom licence GitHub repository of Harmonic Signal Alerts

Risk Position Tool

by allanninal
1 stars

This indicator calculates position sizing and risk parameters directly on the price chart. Users set entry, stop loss, and take profit levels interactively or via inputs, and the script computes broker lot sizes based on specified account balance and risk pref

Indicator v6 Screeners & dashboardsSupport & resistance
Updated 7 days ago · Custom licence GitHub repository of Risk Position Tool

A Pine v6 day trading research strategy for crypto charts. It blends RSI, Fibonacci Bollinger Bands, trend and higher timeframe filters, pivot support and resistance zones, Ichimoku and pattern modules into a weighted score for entries. A session filter, auto-

Strategy v6 Support & resistanceSessions & time
Updated 11 days ago · MIT GitHub repository of Crypto TA Pro Day Trading S/R Execution
1 stars

This strategy identifies an Opening Price Range during a specified time window and trades breakouts above or below the established range during the New York trading session. Entries can be filtered using optional RSI extremes and EMA trend direction, restricte

Strategy v6 BreakoutSessions & time
Updated 12 days ago · None stated GitHub repository of NQ NY Session OPR Breakout Strategy

Calculates an Average True Range (ATR) trailing stop that trails price by a configurable distance multiplier. It draws the trailing stop line on the price chart and marks flip points when price crosses the line. The indicator allows confirmation of flips on ba

Indicator v6 TrendVolatility & bands
Updated 13 days ago · MPL-2.0 GitHub repository of Taught to Trade - ATR Trailing Stop with Flip Audit

CISD with Projections

by Just-beyond-z
1 stars

An ICT-style overlay that marks a change in state of delivery, drawing a line at the open of the opposing candles once price closes through it, in blue for bullish and red for bearish. The direction can be set to both, bullish only or bearish only, and the num

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 13 days ago · None stated GitHub repository of CISD with Projections

Session Sweep Model

by kxngHADES
1 stars

Detects liquidity sweeps of the Asian or London session range, followed by a reclaim and a break of structure, on the 5-minute chart. It plots entry, stop and take-profit levels with a reward-to-risk target, skips setups whose stop exceeds a multiple of ATR, a

Indicator v6 SMC / ICT / price actionSessions & time
Updated 13 days ago · Custom licence GitHub repository of Session Sweep Model

This indicator marks key reversal candles that print a new high or low versus the prior lookback window. A bullish signal needs a lower low, a close above the previous close, and a bullish candle; a bearish signal is the opposite. Double reversals also compare

Indicator v6 Candlestick patternsSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of Key Reversals with 20-Bar High/Low Lines
1 stars

A Pine v6 indicator that puts intraday reference points on the price chart. It draws Asia, London, New York AM and PM session boxes and kill zones, session highs and lows that extend until swept, period opens with previous highs and lows, fair value gaps, and

Indicator v6 SMC / ICT / price actionSessions & time Repaints
Updated 2 weeks ago · Custom licence GitHub repository of Arnoldd Key Levels, Gaps and Kill Zones

Key Levels + Multi-Period VWAP

by RealTrueReality
1 stars

A Pine v6 indicator that draws key reference levels on the price chart as lines with right-edge labels. Levels include period opens, previous highs, lows and midpoints for day, week, month and quarter, a Monday range, and daily, weekly and monthly anchored VWA

Indicator v6 Support & resistanceVolume Repaints
Updated 2 weeks ago · MPL-2.0 GitHub repository of Key Levels + Multi-Period VWAP
1 stars

A prototype indicator that bins recent price interaction into a right-side profile of buy-side and sell-side bands drawn as boxes on the price chart. In Reaction mode it weights candle volume and body size over a lookback window; in Liquidity mode it follows u

Indicator v6 Support & resistanceVolume Repaints
Updated 3 weeks ago · None stated GitHub repository of Reaction Heatmap Prototype

Flux Lab SMC

by darup67
1 stars

A smart money concepts overlay that marks swing-based break of structure and change of character, order blocks that are removed once broken, fair value gaps above a minimum ATR size, equal highs and lows within a tolerance, and a premium and discount equilibri

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of Flux Lab SMC

Swing Failure Pattern

by jericoquek
1 stars

This indicator marks swing failure patterns on the price chart: a wick takes out a standing structural high or low and a later 15-minute candle closes back inside. It then tracks a short-term and an intermediate-term market structure shift, and the intermediat

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 weeks ago · None stated GitHub repository of Swing Failure Pattern

And Detector

by moonyroy
1 stars

The indicator detects the three largest rises and three largest declines in a symbol's price over the last N years. It tracks price movements by identifying when price exceeds a percentage threshold T in the opposite direction from the current leg, then record

Indicator v6 TrendSupport & resistance
Updated 3 weeks ago · None stated GitHub repository of And Detector

Smart Money Concepts Engine

by quantumalgo-official
1 stars

Smart Money Concepts Engine automatically identifies and plots key SMC price levels directly on the main price chart. It detects swing and internal market structure events such as breaks of structure and changes of character. The script highlights bullish and

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of Smart Money Concepts Engine

Draws market structure breaks and order block boxes on the price chart, based on a zigzag of swing points. Bullish and bearish order blocks and breaker blocks appear as coloured boxes that are removed once price breaks them. Settings set the zigzag length, the

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 weeks ago · None stated GitHub repository of Market Structure Break & Order Block (fixed)
1 stars

This indicator draws a developing current-day point of control, value area high, and value area low on the price chart for intraday timeframes. It builds an approximate volume profile by distributing each stored chart bar's volume across a configurable number

Indicator v6 VolumeSupport & resistance
Updated 3 weeks ago · MIT GitHub repository of [ad] Current Day POC / VAH / VAL
1 stars

Fractal Model Professional is an overlay indicator that looks for higher-timeframe reversal sequences. It plots the previous higher-timeframe high and low, marks sweeps when price trades beyond a level and closes back inside, flags a reversal candle as C2, and

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · None stated GitHub repository of Fractal Model Professional
1 stars

A top-down order block indicator that reads market structure breaks on a 12-hour timeframe to set a directional bias, then looks for a lower-timeframe structure shift as the trigger. It draws order block and breaker zones, a 50 percent fib of the bias swing, s

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · MIT GitHub repository of Roman Trade Setup (H12 to H1)
1 stars

Identifies stop hunt sweeps where price wicks past recent pivot highs, pivot lows, or previous day high and low levels before closing back inside the range. It plots sweep markers, connecting level lines, and previous day levels directly on the price chart, wi

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · None stated GitHub repository of Liquidity Sweep Pro

Daily FVG Draw Bias

by mengxuan-finlab
1 stars

Tracks the latest unfilled daily fair value gap above and below price and scores each by gap size relative to its distance from the daily close, to suggest which side price may be drawn towards. A minimum gap size is set as a fraction of daily ATR, and an opti

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 weeks ago · None stated GitHub repository of Daily FVG Draw Bias
1 stars

SMC Swing 1H/4H Signal is an overlay indicator that applies smart money concepts to swing charts. It marks swing highs and lows using a configurable bar count, draws break of structure and change of character lines, and shades fair value gaps above a minimum s

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · None stated GitHub repository of SMC Swing 1H/4H Signal

TradeGuard Trailing Floor

by gnitro215-beep
1 stars

A Pine v5 indicator that plots a trailing drawdown floor under the price high-water mark, aimed at futures and prop-firm style limits. A dollar drawdown buffer is converted to price points using the dollar value per point and the number of contracts. The floor

Indicator v5 Support & resistance
Updated 4 weeks ago · MIT GitHub repository of TradeGuard Trailing Floor
1 stars

Opposing Tick Zones identifies supply and demand areas based on swing high and low bars using a configurable swing strength setting. The indicator marks the high of the lowest bar as demand and the low of the highest bar as supply. When price sits between both

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 4 weeks ago · None stated GitHub repository of Opposing Tick Zones

Gap and Go

by JACKZHOU0521
1 stars

This overlay indicator measures the opening gap between the session open and the prior daily close, then checks whether price continues to hold beyond that close. After a user-defined opening window in minutes, it marks an up signal when an up gap holds and th

Indicator v6 BreakoutSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Gap and Go
1 stars

This indicator marks fair value gaps and new day and new week opening gaps on the price chart. Inside a New York session window it looks for the first presented gap, optionally requiring a displacement candle, and can also draw later gaps. Boxes expire after u

Indicator v6 SMC / ICT / price actionSessions & time
Updated 5 weeks ago · MIT GitHub repository of Bullseye FVG & Opening Gaps

A Pine v6 overlay that maps smart money concepts on the price chart. It detects internal and external swing structure with break of structure and change of character, equal highs and lows with sweep detection, order blocks, fair value gaps, imbalances and gaps

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of DC ALPHA Market Cognition Engine

Investment Master Indicator

by diwakarsingh01-tech
1 stars

A multi-module overlay aimed at stock investing, with a master toggle panel for each part. Modules include a percentage envelope, 52-week high and low, Bollinger Bands, Knoxville divergence, a set of four SMA lines, automatically merged support and resistance

Indicator v6 Support & resistanceVolatility & bands
Updated 6 weeks ago · None stated GitHub repository of Investment Master Indicator

Mac Buy/Sell Indicator

by acquillemac
1 stars

A SuperTrend-style indicator built on ATR and RMA bands that prints buy and sell signals when the direction flips, optionally filtered by a 9 and 21 EMA cross. It draws two ATR-based take profit levels, background colour and a stats table that scores past sign

Indicator v6 TrendSMC / ICT / price action
Updated 6 weeks ago · None stated GitHub repository of Mac Buy/Sell Indicator
1 stars

This indicator plots Malaysian support and resistance levels on the price chart. It finds swing highs and lows, then marks those prices as support or resistance and labels each level Fresh, Unfresh, or Flip after retests and breaks. Separate major swing settin

Indicator v5 Support & resistance
Updated 6 weeks ago · None stated GitHub repository of Layer 1: Malaysian SNR Framework

Composite Market Bias

by mrme000m
1 stars

Composite Market Bias is a separate-pane indicator that scores bullish and bearish conditions from RSI, fast versus slow EMA, MACD histogram, Bollinger Band position, and price versus a 50-period EMA. It plots the resulting bias score with RSI, EMA trend, MACD

Indicator v5 Oscillators & momentumMoving averages
Updated 7 weeks ago · None stated GitHub repository of Composite Market Bias

BTC Trading Assistant

by tc3oliver
1 stars

BTC Trading Assistant is an indicator for discretionary Bitcoin traders. It calculates cost-aware position size from supplied direction, stop price, equity and risk percentage. The tool draws risk and reward zones, break-even line, R targets and estimated net

Indicator v6 Support & resistanceScreeners & dashboards
Updated 7 weeks ago · MPL-2.0 GitHub repository of BTC Trading Assistant
1 stars

A Pine v6 overlay that tracks 39 key price levels, including 4 hour, daily, weekly, monthly, quarterly and yearly opens, previous highs, lows and midpoints, the Monday range, and London and New York session ranges. For each level it flags two events: a sweep,

Indicator v6 Support & resistanceSessions & time
Updated 7 weeks ago · MIT GitHub repository of Key Level Sweep & Rejection

BTCUSD Long Only

by Pr-ashant-pawar
1 stars

This overlay indicator detects candles that stay entirely below a short exponential moving average and groups them into a sequence. When price later closes above the sequence high, it waits for a pullback that touches that level and then marks a long entry, re

Indicator v6 Moving averagesBreakout
Updated 7 weeks ago · None stated GitHub repository of BTCUSD Long Only

ADR 50 SR Pro

by DEVfancybear
1 stars

ADR 50 SR Pro calculates key support and resistance levels based on 50% of the Average Daily Range (ADR) projected above and below the daily opening price. It plots horizontal level lines and customizable shaded zone boxes directly on the main price chart. Tra

Indicator v6 Support & resistanceVolatility & bands
Updated 7 weeks ago · MIT GitHub repository of ADR 50 SR Pro

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