Open-source Pine scripts that draw levels: pivot points, automatic support and resistance, supply and demand zones, Fibonacci and previous highs and lows.
Level scripts mark prices where the market turned or paused before. Some calculate them with a formula, such as daily pivots; others find swing highs and lows automatically.
Automatic levels built from pivots or swings often appear a few bars after the turn they mark. That is normal, but it means the line was not on the chart at the moment price turned.
595 of these 3,142 scripts are marked Repaints, or read higher-timeframe data with lookahead on.
Before You Use One
Check how many bars it waits before confirming a level.
Compare its levels with the daily pivots for the same day.
Watch whether levels move or vanish as new bars arrive.
Support & resistance: Indicators, Strategies and Libraries
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
This indicator implements the Fractal Model concept to plot market structure shifts, liquidity sweeps, and Change in State of Delivery (CISD) levels. It overlays custom higher-timeframe candle previews, open prices, and time markers directly on the price chart
This indicator calculates pivot highs and pivot lows to detect liquidity sweeps and Swing Failure Patterns. It identifies when price breaks past recent key swing highs or lows within a configurable historical window, then looks for a quick reversal or change i
The Unicorn Model indicator identifies liquidity sweeps across multiple higher timeframes and highlights breaker blocks on the price chart. When Unicorn Mode is enabled, it filters setups where breaker blocks overlap with Fair Value Gaps. It draws breaker boxe
Gold Scalping BOS & CHoCH is an overlay strategy designed for detecting market structure shifts. It calculates rolling swing highs and lows to identify Break of Structure (BOS) and Change of Character (CHoCH) events. Long signals trigger when bullish BOS and C
This strategy combines three Exponential Moving Averages with Williams Fractals to execute trend-following or mean-reverting trades. It analyzes price structure using short, medium, and long-term EMAs along with fractal highs and lows. Entries trigger when fra
This indicator plots horizontal liquidation heatlines directly on the price chart, highlighting estimated Bitcoin liquidation levels for long and short positions. It renders color-coded lines and descriptive labels showing position sizes, leverage, and distanc
The Strat Assistant indicator identifies candlestick patterns from the STRAT methodology on the price chart. It detects inside bars, 2-candle directional bars, 3-candle outside bars, and sequences like 212 and 222 for continuations and reversals. Shapes such a
This strategy builds a spot grid between user-set high and low prices and draws it on the price chart. It splits that range into ten levels and places up to five long limit orders at the lower levels, sizing each from current equity. Orders already below price
This indicator plots daily, weekly, and monthly volume-weighted average prices on the price chart, using a selectable source that defaults to hlc3. For each enabled period it also draws two standard-deviation bands around the VWAP, with multipliers defaulting
Minimal Fill Examples is an educational reference script demonstrating five basic implementations of the fill function in Pine Script. It calculates simple moving averages and plots price lines alongside horizontal reference levels. The script showcases variou
Calculates higher-timeframe volume profiles to identify Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC) levels directly on the price chart. It flags potential reversal setups and Change in State of Delivery (CISD) patterns relative to v
This Pine Script indicator overlays institutional liquidity levels on the price chart. It identifies order block levels using pivot highs and lows, then draws mean reversion lines from the 20 and 50 period simple moving averages, a volatility range midpoint pr
Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi
Copilot is an order flow range-reversal indicator designed to overlay trading setups directly on the price chart. It evaluates four criteria: market context (sideways vs trending regime based on ATR height), structure (double top or double bottom retests), abs
4H Candle Curves highlights 4-hour trading sessions based on New York time by overlaying customizable colored boxes directly on the main price chart. It divides 4-hour sessions with quarter separator lines at one-hour intervals and places name labels at the mi
This overlay strategy targets one-minute ATOM scalps. It tracks pivot highs and lows as resistance and support, compares a three-period EMA with a multi-stage smoothed close, and flags long or short when price crosses that curve in the matching direction. Dail
The Hedge Scalp indicator calculates an Exponential Moving Average (EMA) and generates four long grid levels and one hedged short grid level at user-defined percentage distances below the EMA. It models grid entry execution and average entry take-profit levels
This overlay indicator measures average bar range as a simple moving average of high minus low, then draws short horizontal ticks at one to four times that range above and below the close. The user chooses which multipliers appear, their colors, and the line w
Poor Man's Volume Clusters calculates an approximation of volume profile clusters over fixed bar blocks and plots them directly on the price chart. It divides price ranges into discrete horizontal rows, aggregates trading volume per level, and optionally highl
Auto Fib Extension automatically identifies high and low pivot points on the price chart to construct Fibonacci extension levels. The script calculates pivot points based on a user-defined depth setting and tracks significant swing points using dynamic chart p
Order Block Finder is an indicator that identifies institutional bullish and bearish order blocks on the price chart. A bullish order block is detected as a down candle preceding a user-defined sequence of up candles, while a bearish order block is an up candl
This indicator collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period
This indicator draws a periodic volume profile on the price chart and marks the point of control plus optional value-area high and low. It distributes each bar's volume across profile rows using a selected periodic timeframe, row count, value-area percentage,
This indicator highlights Inner Circle Trader (ICT) killzones and key session pivot points directly on the price chart. It projects shaded boxes for specific trading sessions, including Asia, London, NY AM, NY Lunch, and NY PM, to help traders identify high-li
Indicatorv5SMC / ICT / price actionSessions & time
Bandz HTF projects higher-timeframe candle structures, ranges, and key levels directly onto the main price chart. It visualizes multiple configurable timeframe lanes from intraday to weekly alongside primary and macro range levels, including 25%, 50%, and 75%
This overlay indicator draws the new week opening gap and the opening range gap on the price chart. It paints each gap as a colored zone with optional borders, a dashed midpoint line, and a text label. Users can hide either gap, change colors and border style,
P404 Smoke is a price-chart strategy that sequences an optional higher-timeframe EMA bias, a liquidity range from recent pivots, a sweep of buy-side or sell-side liquidity, and a market structure shift within a set bar window. Comments state it then looks for
This indicator identifies Break of Structure (BOS) and Market Structure Shift (MSS) zones, plotting automated bracket levels on the price chart. It triggers signals when a reversal breaks a swing point formed inside an opposing zone, projecting stop loss and t
This indicator detects and visualizes bullish and bearish fair value gaps directly on the price chart using colored boxes. It identifies three-bar price imbalances and offers optional filters for volume surges relative to a moving average, buy versus sell volu
Self-Aware Trend System calculates volatility-adaptive ATR trailing bands using a Trend Quality Index engine that evaluates market efficiency, momentum persistence, and structural pivots. It plots adaptive trend bands and character-flip trend signals directly
Bottom Level Finder is a support identification indicator designed to locate correction and re-entry zones directly on the price chart. It calculates horizon-adaptive Fibonacci retracements, drawdown percentage levels, moving averages, and integrated VIX volat
Calculates horizontal price levels anchored to the session open using the daily Average True Range (ATR). It retrieves the previous day ATR through a security call to project symmetrical upper and lower boundary bands across fractional ratios of the ATR range.
The Adaptive Trend Finder calculates logarithmic linear regression channels overlaid on the price chart. Operating on the most recent historical bar, it fits a log-transformed regression line and standard deviation bands. It evaluates linear correlation using
Extrema is an overlay strategy that evaluates lowest low price points across exponentially scaled lookback periods. It calculates period lengths using exponential math controlled by base, factor, and crop settings, then tracks falling price extremes across mul
This indicator overlays static chart annotations generated from fixed timestamps and prices. It draws a red fill between two hidden price plots during a limited time window, plus vertical and horizontal arrow lines and text labels that describe a measured pric
The indicator tracks four-bar fractal sweep and reclaim setups on chart timeframes of 15 minutes and above. It calculates Reclaim Strength based on where C2 closes relative to C1's range and plots level lines for the swept C1 extreme and C2 extreme. An on-scre
ICT HTF Candles displays higher timeframe candle structures directly on the price chart using customized boxes and lines. It tracks up to six user-defined higher timeframes, plotting historical body, wick, and imbalance zones alongside optional price level tra
Pattern Trade Levels is a price-chart overlay that plots levels typed in by the user for a chart pattern. It draws the breakout boundary, a confirmation level and a negation stop from a percentage buffer, a measured-move target using either a log formula or an
This indicator identifies and visualizes key support and resistance zones directly on the price chart using historical 1-hour bar evidence. It calculates zone strength by weighting price rejections, support-resistance flips, relative volume spikes, price gaps,
This overlay indicator marks volume-driven buying and selling pressure on the price chart. It compares volume with a simple moving average scaled by a volatility-based multiplier, and it uses a trend simple moving average plus RSI thresholds to color bars. Swi
This overlay indicator identifies Smart Money Concepts (SMC) and Inner Circle Trader (ICT) market structure elements directly on the price chart. It detects higher highs, lower lows, Break of Structure (BOS), and Change of Character (CHoCH) labels alongside st
This indicator implements a full Chanlun pipeline on the price chart. It merges contained bars, marks top and bottom fractals, and connects alternating fractals into strokes. Overlapping strokes form pivot boxes, and MACD area ratios flag trend or consolidatio
This indicator plots Central Pivot Range levels on the price chart for daily, weekly, monthly, and yearly periods. It calculates the pivot from the prior period high, low, and close, then derives the bottom and top central prices and draws three horizontal lin
This indicator estimates cryptocurrency liquidation levels and liquidation density using open interest delta data fetched from Binance USDT perpetual futures. It identifies spikes in open interest relative to a simple moving average and plots estimated liquida
This overlay indicator marks Wyckoff-style buying and selling climaxes on the price chart. It filters trend with an exponential moving average and a higher-timeframe EMA, then flags accumulation or distribution when price and ATR sit relative to their swing av
SMC Strategy is a Pine Script v5 overlay strategy based on smart money concepts. It flags market structure shifts from ten-bar highs and lows, draws bullish and bearish order blocks as rectangles when that option is on, and marks liquidity sweeps with short li
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.