Pine Library · 3,142 open-source scripts

Free Support and Resistance Pine Scripts (page 60)

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

Moving Box

by morindok
1 stars

This indicator draws customizable boxes, rhombuses, or ellipses on the price chart centered on a selected moving average. It computes the box height from the MA's high-low range over a lookback period and applies optional golden ratio midpoints or symmetry. Sh

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

Ichimoku Cloud

by mihakralj
99 stars

This indicator plots the five classic Ichimoku components on the price chart. It calculates Tenkan-sen, Kijun-sen, and Senkou Span B as midpoints of the highest high and lowest low over their periods, then derives Senkou Span A from Tenkan and Kijun. Chikou Sp

Indicator v6 TrendSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ichimoku Cloud
6 stars

The Shved Supply & Demand indicator identifies and draws dynamic supply and demand zones directly on the price chart using fast and slow pivot points. It determines zone height using an ATR multiplier and categorizes levels by strength, including untested, ver

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Shved Supply & Demand Optimized

Moving Box{Morindok}

by morindok
1 stars

This indicator plots geometric structures and moving averages directly on the price chart. It calculates a simple moving average alongside periodic high and low extremes to construct shapes such as boxes, rhombuses, ellipses, or spirals using polylines. Users

Indicator v5 Moving averagesSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Moving Box{Morindok}
6 stars

This indicator plots smart-money market structure on the price chart. It marks internal and swing breaks of structure and changes of character, order blocks, equal highs and lows, fair value gaps, multi-timeframe highs and lows, and premium and discount zones.

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Smart Money Concepts [LuxAlgo]
3 stars

This indicator combines Bollinger Bands, fractal detection, and RSI-based swing analysis within a customizable trading session. It identifies regular or Bill Williams fractals during active session hours and generates long or short signals when fractal extreme

Indicator v5 Volatility & bandsSessions & time
Updated 5 months ago · None stated GitHub repository of MCF and Trendy Pipsy

Octahedron

by morindok
1 stars

Octahedron draws a geometric shape on the price chart using two user-defined points for time and price. It computes the delta between those points and plots eight blue polylines connecting points at fixed ratios to form the outline of an octahedron. The main s

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Octahedron

This Pine Script indicator plots a ZigZag on the price chart. It identifies reversal points when price moves more than a set percentage from the last pivot. The script calculates forecasts using zigzag data and labels detected geometric patterns including harm

Indicator v4 TrendSupport & resistance
7 stars

This indicator identifies a specific anchor candle based on user-defined start hour, start minute, and time zone inputs. It calculates the high-to-low price range of that anchor bar to project entry levels, stop losses, and target levels for both buy and sell

Indicator v5 BreakoutSupport & resistance
Updated 3 months ago · None stated GitHub repository of XAUUSD Dynamic Breakout + SL Points

Calculates and plots a multi-band envelope on the price chart based on mean reversion principles and Keltner Channel concepts. Instead of standard moving averages, it uses advanced filters such as Ehlers SuperSmoother, Butterworth, Gaussian, or traditional ave

Indicator v5 Mean reversionVolatility & bands
Updated 5 months ago · None stated GitHub repository of Mean Reversion Channel - MRI Variant
1 stars

This indicator detects pivot highs and lows on the price chart using configurable left and right bars. It extends lines from recent pivots in green for lows and red for highs with Fibonacci 1.618 ratio projection. It calculates crossing points of the extended

Indicator v5 Support & resistance Repaints
Updated 7 weeks ago · None stated GitHub repository of Painting Of Price by BITMOON618

Extrapolated Previous Trend

by vedkanani123
1 stars

An overlay indicator that fits a linear regression to closing prices of the previous period on a chosen timeframe, such as the prior day, and extends that line into the current period. The line is teal when the slope was up and red when it was down, candles ar

Indicator v5 TrendSupport & resistance
Updated 2 months ago · None stated GitHub repository of Extrapolated Previous Trend
1 stars

The Parallel Lines Live indicator draws geometric Fibonacci-based horizontal lines on the price chart. It computes a fractal phi ratio using the user-set Fibonacci expansion multiplier and tracks historical price touches along with bullish and bearish outcomes

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Parallel Lines Live by BITMOON618
6 stars

This multi-timeframe indicator combines Smart Money Concepts (SMC) with customizable session killzones for London and New York trading. It identifies market structure points such as Break of Structure (BOS) and Change of Character (CHoCH), alongside Points of

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of SMC Killzone State Engine Enhanced
1 stars

This indicator plots dynamic parallel lines based on logarithmic fractal price grid levels adjusted by a phi ratio multiplier. It scores price levels using a weighted quantitative model incorporating estimated order flow delta, kinetic volatility energy, liqui

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 weeks ago · None stated GitHub repository of Parallel Lines Live V2
1 stars

An overlay indicator that detects pivot highs and lows and marks bullish and bearish market structure breaks with dotted or dashed lines. After a break it trails a stop level that follows price, with an increment factor controlling how fast it tightens. The st

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

SMC Luxmod Nuburo0

by alboogycOdR
6 stars

This indicator maps Smart Money Concepts (SMC) directly onto the price chart. It detects both internal and swing market structure breakouts, labeling Changes of Character (CHoCH) and Breaks of Structure (BOS). It also highlights bullish and bearish internal an

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of SMC Luxmod Nuburo0

SMC Luxmod Nuburo4

by alboogycOdR
6 stars

This indicator identifies Smart Money Concepts (SMC) structure directly on the price chart. It detects and plots internal and swing market structures, including Break of Structure (BOS) and Change of Character (CHoCH). The script highlights order blocks, stron

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of SMC Luxmod Nuburo4

SMC LuxMod Nuburo5

by alboogycOdR
6 stars

This Smart Money Concepts indicator highlights market structure and institutional levels on the main price chart. It detects internal and swing structure breaks (BOS) and character changes (CHoCH), along with strong or weak high and low points. The script iden

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of SMC LuxMod Nuburo5
2 stars

This indicator assists with trade planning and position risk management by projecting trade parameters directly onto the price chart. It draws an interactive entry box defined by time and price boundaries, up to five take-profit levels with percentage allocati

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of MAD Position Starter & Calculator

SMC Mod Nuburo 5

by alboogycOdR
6 stars

The indicator plots Smart Money Concepts market structure directly on the price chart. It detects real-time internal and swing structure breakouts, including Break of Structure and Change of Character, along with strong and weak high or low levels. It identifi

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of SMC Mod Nuburo 5

This overlay indicator enables manual identification and analysis of harmonic patterns on the price chart using interactive point selection. Users select five anchor points (X, A, B, C, and D) directly on the chart via interactive input prompts. The script eva

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Manual Harmonic Patterns - With interactive inputs
1 stars

The strategy detects range expansion by comparing the previous bar's range to its ATR multiple. It places pending stop entries above highs of up bars or below lows of down bars. On trigger it enters positions with take profit and stop loss in ticks using OCA g

Strategy v6 Volatility & bandsSupport & resistance
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe 97 - tp/sl gap reversal oca
1 stars

The indicator combines pivot high and low points with multi-period slope and momentum analysis to identify market trends and range conditions. It calculates short- and medium-term price slopes, EMA slopes, and price acceleration against a statistical Z-Score t

Indicator v5 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of POT {Morindok} by @BITMOON618
6 stars

Time-Filtered MTF CRT Detector identifies multi-timeframe Candle Range Theory (CRT) patterns based on specific time-filtered H4 candles such as 1AM, 5AM, or 9AM models. It plots horizontal high and low range lines directly on the main price chart, complete wit

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Time-Filtered MTF CRT Detector

This indicator overlays volume profiles and session ranges directly onto the price chart for specified periods, including Tokyo, London, New York, Daily, Weekly, Monthly, Quarterly, and Yearly sessions. It calculates and plots Point of Control (POC), Value Are

Indicator v5 VolumeSessions & time
Updated 8 months ago · None stated GitHub repository of Market Sessions and Volume Profile - By Leviathan
1 stars

This strategy identifies trend changes using a dual moving average crossover. It computes fast and slow simple moving averages of the close price and generates long entry signals on fast SMA crossover above slow and short signals on crossover below. Upon entry

Strategy v6 Moving averagesTrend
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe 97a - tp/sl bracket isolate
1 stars

This overlay indicator detects Power of Three cycles on the price chart: an accumulation range, a manipulation sweep, and a distribution path. It confirms sweeps by a close back inside the range or a fifty percent retrace, and it can require a prior cycle high

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of TnSovereign Power of Three

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

Calculates and plots horizontal support and resistance levels based on weekly Wednesday price action and daily midnight opening candles. It accounts for Daylight Saving Time adjustments to capture monthly Wednesday high, low, and open levels along with daily U

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System
1 stars

A reversal strategy that looks for liquidity sweeps: price pokes beyond the prior swing high or low and closes back inside. Entries must agree with a higher-timeframe EMA 50 and 200 trend, pass an ATR volatility corridor and a candle body check, and optionally

Strategy v6 Mean reversionVolatility & bands
Updated 2 months ago · None stated GitHub repository of TnSovereign Reversal Engine

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

WED & MIDNIGHT DST System is a time-based levels indicator that identifies and visualizes key support and resistance zones directly on the price chart. It plots the high and low ranges from the first five Wednesdays of each month with automatic Daylight Saving

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System

VOB Asym Combo v10.1

by nishpa800
1 stars

Detects volume order block zones across six sensitivity tiers and draws zone lines on the price chart. This version shows only combination signals rather than individual tier plots: strict ladder patterns, plus lanes that combine a rolling highest-volume event

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym Combo v10.1

Opening High/Low

by be-thomas
65 stars

This indicator tracks and plots the high and low price levels from the first bar of a specified trading session directly on the price chart. Users can configure the target session time window using input settings. When a new session starts, the script captures

Indicator v4 Support & resistanceSessions & time
Updated 5 days ago · GPL-3.0 GitHub repository of Opening High/Low

Williams Fractals

by TWODS-CAPITAL
37 stars

This indicator identifies market turning points based on Bill Williams' fractal concept. It detects local price extrema by comparing a center bar's high or low against surrounding bars across a configurable period setting. Bullish and bearish fractals are plot

Indicator v5 Support & resistance Repaints
Updated 3 years ago · MIT GitHub repository of Williams Fractals

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

This indicator tracks and plots key price levels based on specific weekly and daily time anchors. It identifies the high, low, and open prices for the first Wednesdays of the month, automatically adjusting for US Daylight Saving Time changes. Additionally, it

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System

Modern Portfolio Theory

by regalouisei
2 stars

Modern Portfolio Theory is an indicator that computes portfolio metrics across a basket of cryptocurrency assets using user specified weights. The script supports ten symbols including Bitcoin, Ethereum, Aave, Binance, Solana, XRP, Ethereum Classic, Cardano, A

Indicator v5 Volatility & bandsSupport & resistance
Updated 8 months ago · None stated GitHub repository of Modern Portfolio Theory

Targets For Many Indicators

by vedkanani123
1 stars

An overlay tool that draws target levels on the price chart when a user-defined condition fires. Each target compares Source A with Source B using cross over, cross under, cross or equal, and sources can be an external series or one of dozens of built-in indic

Indicator v5 Support & resistance
Updated 2 months ago · None stated GitHub repository of Targets For Many Indicators

WED & MIDNIGHT DST System

by alboogycOdR
6 stars

This indicator plots recurring Wednesday and midnight price levels on the price chart. It marks the high, low, and open of early Wednesdays each month, capturing them near 20:30 South African time and shifting that clock for US daylight saving. It also draws t

Indicator v5 Support & resistanceSessions & time
Updated 7 months ago · None stated GitHub repository of WED & MIDNIGHT DST System

VOB Asym Combo v10.2

by nishpa800
1 stars

Detects volume order block zones from six sensitivity tiers and draws zone lines on the price chart. It shows combination lanes rather than individual tier plots: strict ladder patterns, multi-zone coincidences, and rolling highest-volume or all-time-high-volu

Indicator v5 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym Combo v10.2

WED & Midnight DST System

by alboogycOdR
6 stars

This indicator plots key historical support and resistance levels based on Wednesday trading sessions and daily midnight opens adjusted for UTC+2 daylight saving time. It calculates and draws high, low, and open lines from 15-minute session data across multipl

Indicator v5 Support & resistanceSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of WED & Midnight DST System

Mrhyh21 Levels

by g-moe
3 stars

This indicator plots horizontal lines on the price chart for pre-market high and low, prior-day high and low, prior-week high and low, and prior-month high and low. It customizes pre-market session start in EST with options for line colors, labels, and styles.

Indicator v5 Support & resistanceSessions & time
Updated 5 months ago · None stated GitHub repository of Mrhyh21 Levels

Detects swing break-of-structure (BOS) levels using confirmed pivot highs and lows. It records the most recent confirmed swing points and triggers a long trade when the bar closes above the last pivot high, or a short trade when it closes below the last pivot

Strategy v6 SMC / ICT / price actionBreakout
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe bos-curv-probe-01-swing-bos-trigger

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