Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 81)

Open-source Pine Script indicators that draw on your TradingView chart or in their own pane. Copy one and paste it into the Pine Editor.

Pine scripts7,612
Code shown here3,783open licence
Updated in a year5,239
No repaint flag6,673

Indicators: All

4 stars

The SnagProfit Trending 1H indicator calculates EMA crossovers using periods 5, 10 and 20 on the close price to identify bullish and bearish trend conditions. It draws a table panel on the chart that labels long trend status as OK CALL or NO CALL. The indicato

Indicator v5 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of SnagProfit Trending 1H

This indicator evaluates multiple technical trading strategies and strategy combinations across various timeframes to identify the top-performing setup for Turkish stocks and other assets. Depending on whether the active chart is intraday or higher timeframe,

Indicator v5 Screeners & dashboardsTrend
Updated 3 days ago · None stated GitHub repository of Otomatik En İyi Strateji - BIST

Jash Test

by jash-git
3 stars

This indicator plots five exponential moving averages of Fibonacci lengths on the price chart: 3 and 13 as fast lines, 34 and 55 as slow lines, and 144 as a filter. They are drawn in red, orange, blue, purple, and black. The visible code also counts how many o

Indicator v5 TrendMoving averages
Updated 5 weeks ago · None stated GitHub repository of Jash Test
3 stars

This indicator estimates buying and selling volume from each bar's range and candle body, then plots both in a separate pane. It splits the bar's volume using the upper wick, lower wick, and body size, assigning more of the volume to the close direction. Buy v

Indicator v5 Volume
Updated 5 months ago · None stated GitHub repository of Buy & Sell Volume

This indicator is a debugging example that overlays a scaled close-to-SMA ratio on the price chart. It divides close by a simple moving average, takes the natural log, and multiplies by 100. A triangle appears below the bar when that scaled value exceeds the t

Indicator v5 Oscillators & momentumMoving averages
Updated 7 months ago · None stated GitHub repository of Simple Test Indicator for Debugging
3 stars

This indicator plots a composite momentum oscillator in a separate pane, featuring a hyper wave calculation and an integrated smart money flow oscillator. It detects both bullish and bearish divergences using an adjustable sensitivity threshold. Additional vis

Indicator v5 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of Lux Algo - Oscillator Matrix
3 stars

Identifies continuation trade setups based on Beat the Market Maker (BTMM) second-leg patterns directly on the price chart. It defines trading session phases across Asian, London, and New York sessions, filters impulse legs using fast and slow exponential movi

Indicator v5 SMC / ICT / price actionSessions & time
Updated 1 year ago · None stated GitHub repository of BTMM Second Leg Confirmation
3 stars

This Pine Script v5 indicator detects spinning top candlestick patterns by comparing the real body size to user-defined min and max thresholds as percentages of the candle's range. It signals bullish spinning tops with a white arrow below the bar and bearish o

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Spinning Top (Candlestick Pattern)

Currency Strength Chart

by itmakesyousick
3 stars

The Currency Strength Chart calculates and plots relative currency strength values for major forex currencies in a separate pane. Calculations can be based on raw price action, RSI, CCI, or Stochastic oscillators, smoothed with various moving average types. Us

Indicator v5 Oscillators & momentumTrend
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart

Naked POC

by piecioshka
2 stars

Calculates and plots Naked Point of Control levels directly on the price chart using order flow footprint data. It identifies the price row with the highest traded volume either per individual candle or aggregated across an entire session. Levels extend horizo

Indicator v6 VolumeSupport & resistance
Updated 13 days ago · MIT GitHub repository of Naked POC

Sniper

by TamTH-Dev
2 stars

Sniper is a custom oscillator indicator that derives Bullish and Bearish lines from close and open prices using a smoothing factor based on trend length. These lines feed into a signal line calculated as EMA over the signal length. The indicator plots Bullish

Indicator v6 Oscillators & momentum
Updated 6 weeks ago · None stated GitHub repository of Sniper
2 stars

EMD Trend calculates trend direction by combining moving averages with an exponential moving deviation filter. Rendered as an overlay on the main price chart, it generates visual long and short trend signals and offers optional bar coloring. It includes an on-

Indicator v6 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of EMD Trend [InvestorUnknown]

Quick Stats

by etnt
2 stars

Quick Stats displays key trading metrics directly on the price chart overlay. It calculates Mark Minervini's Trend Template rules by scoring moving average alignments (50, 150, and 200 SMAs), 200 SMA slope, and 52-week high/low proximities. Additionally, it co

Indicator v5 TrendVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Quick Stats

Moving Average Color Filter

by Web3Degenerate
2 stars

This indicator calculates an Exponential Moving Average (EMA) and plots it directly on the main price chart. It dynamically changes the color of the EMA line based on the relationship between the current closing price and the moving average value. The line tur

Indicator v5 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Moving Average Color Filter

HTF Candles & Pivots

by itmakesyousick
2 stars

Plots higher-timeframe candlestick overlays and pivot points directly on the price chart. It draws HTF candle bodies and wicks using boxes and lines across custom or auto-selected higher timeframes. The indicator can also compute and display traditional pivot

Indicator v5 Candlestick patternsSupport & resistance
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

Custom ZZ v1.0

by WISEPLAT
2 stars

This indicator plots a custom ZigZag line connecting extreme high and low points on the price chart whenever price reverses by more than a specified percentage. It uses arrays to track these points based on close prices and a chosen lookback length. The script

Indicator v4 TrendSupport & resistance
Updated 3 years ago · None stated GitHub repository of Custom ZZ v1.0
1 stars

An indicator that detects market structure and draws Fibonacci retracements only after an impulse breaks structure and a pullback pivot forms. Settings control pivot lengths, minimum displacement in ATR, an invalidation buffer, maximum leg age and an optional

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · None stated GitHub repository of Confirmed Fib (BOS + Pullback)

Volume MACD Histogram

by ankurksoni
1 stars

A separate-pane indicator, short title Vol MACD, that applies the MACD calculation to volume instead of price. It takes a fast and a slow moving average of volume, subtracts them to form the MACD line, smooths that with a signal average and plots the differenc

Indicator v6 VolumeOscillators & momentum
Updated 4 days ago · None stated GitHub repository of Volume MACD Histogram
1 stars

This indicator identifies market structure by tracking confirmed swing highs and lows using pivot points. It detects breaks of structure (BOS) and changes of character (CHoCH) when the bar close breaches the most recent unbroken swing level. Visual outputs on

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 days ago · MPL-2.0 GitHub repository of Market Structure BOS CHoCH

SMC HTF Confluence

by skipp-dev
1 stars

This indicator plots HTF SMC confluence signals in a separate pane. It visualizes ATR regime states from compression through expansion and exhaustion using custom colors. Squeeze markers indicate on or released states while reversal context displays scores for

Indicator v6 SMC / ICT / price actionVolatility & bands
Updated 5 days ago · None stated GitHub repository of SMC HTF Confluence

P Syn Switch

by GammaExpansion
1 stars

P Syn Switch is an indicator that selects price values based on the mode input using a switch function. For mode 'a' it calculates and plots close, for 'b' it uses open, and for 'c' it calculates hl2. It also plots v2 to indicate candle direction as 1 for bull

Indicator v6 Support & resistance
Updated 8 days ago · MIT GitHub repository of P Syn Switch

An indicator meant for a 5-minute chart that recomputes a simplified 15-minute break of session delta levels, then watches a retest of the broken level within a set number of hours and flags a trigger candle, optionally needing delta confirmation. It also show

Indicator v6 VolumeSupport & resistance Repaints
Updated 9 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 6 Retest and Trigger
1 stars

DEPV2 C1c DEVISSO KOLAYLIK calculates a Devisso ratio and ease score for five selectable symbols using daily higher-timeframe data. It computes each symbol's historical ratio percentile over a configurable lookback window alongside a cross-sectional percentile

Indicator v6 Oscillators & momentumScreeners & dashboards Repaints
Updated 2 weeks ago · None stated GitHub repository of DEPV2 C1c DEVISSO KOLAYLIK

Momentum Cascade

by vedkanani123
1 stars

A separate-pane momentum indicator by Lyro RS that computes rate of change over an adjustable length and passes it through three EMA stages, described as instant, reactive and committed. A trend is flagged only when all three stages agree. It can show signals

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · None stated GitHub repository of Momentum Cascade
1 stars

Plots volume order block zones on the price chart with three tiers of asymmetric buy and sell volume signals and a signal cooldown. High-volume proximity markers fire when the rolling highest-volume candle and a tier signal occur within a set number of bars of

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asymmetric HV Proximity v1.4

Silver Setup Indicator

by GreyssonEnterprises
1 stars

An indicator that flags paint bars, meaning candles whose low is above the high from two bars earlier or whose high is below the low from two bars earlier. Signals are limited to up to three user-defined sessions on weekdays, with a daily close check at 1 PM P

Indicator v5 Sessions & timeSupport & resistance
Updated 3 months ago · MIT GitHub repository of Silver Setup Indicator

Symbiotic Flow Cycle Dashboard

by tthanhvu002sgu
1 stars

Combines three normalised measures into a dashboard drawn over the price chart. A smart-money catalyst score flags candles whose body-weighted volume has an unusually high Z-score and keeps a decaying memory of them. A retail validation index divides average v

Indicator v5 VolumeScreeners & dashboards
Updated 3 months ago · None stated GitHub repository of Symbiotic Flow Cycle Dashboard
1 stars

This overlay indicator calculates intraday standard deviation sigma bands using live implied volatility from VIX or a manual percentage input. Designed for index options credit spread placement, it projects 1s, 2s, and 3s expected move boundaries anchored to e

Indicator v5 Volatility & bandsSupport & resistance
Updated 4 months ago · None stated GitHub repository of 3s Credit Spread [DTO]

RS Rating vs KLCI

by kevinesk
1 stars

This indicator computes relative strength by subtracting KLCI index returns from stock returns over a user-defined lookback period. It plots the resulting RS percentage in a separate pane using green for positive values and red for negative values. The default

Indicator v5 Oscillators & momentum
Updated 4 months ago · None stated GitHub repository of RS Rating vs KLCI

Quad Rotation 60 10

by rubbermetal
1 stars

Quad Rotation 60 10 is the slowest pane of a four-stochastic setup with periods 9, 14, 40 and 60. It plots the 60/10 stochastic K and D lines in a separate pane with oversold and overbought zones, K/D cross triangles inside extreme zones, and a convergence ban

Indicator v6 Oscillators & momentumDivergence
Updated 4 months ago · MPL-2.0 GitHub repository of Quad Rotation 60 10

Order Blocks Advanced

by shubhamtaywade82
1 stars

Draws order block zones on the price chart in two sets, internal blocks from short pivots and swing blocks from longer pivots, as shaded boxes with optional labels. Candidates can be filtered by ATR or cumulative mean range, and a block is mitigated by either

Indicator v6 SMC / ICT / price actionSupport & resistance Archived
Updated 5 months ago · None stated GitHub repository of Order Blocks Advanced
1 stars

This compact indicator labels Elliott Wave counts on the price chart. It runs a zig-zag at several depths, chooses the depth that gives the best fit, and applies Elliott Wave rules, with a strict mode that forces an A-B-C count when the rules break. A correcti

Indicator v6 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Mini Elliott Wave 2026-3

Smart Levels Pro

by Focal-QuantAI
1 stars

An indicator on the price chart that draws previous day, previous week and previous month highs and lows as extended horizontal lines, with choices for colour, style and width. Optional equilibrium lines mark the midpoint of each high and low pair. It also sho

Indicator v6 Support & resistanceSessions & time
Updated 6 months ago · None stated GitHub repository of Smart Levels Pro

M2

by AlanGuo
1 stars

An indicator that adds up M2 money supply for the United States, Europe, China and Japan, each converted to dollars, and plots the total on the chart using a left-hand price scale. Region switches choose which economies are included, and settings add SMA smoot

Indicator v6
Updated 7 months ago · None stated GitHub repository of M2

Keltner Hull Suite

by ymlee1104
1 stars

This overlay indicator draws a volume-weighted trend line and ATR bands on the price chart. It marks a bullish or bearish state when close moves outside those bands and keeps the previous state while price stays between them. Users can show a filled cloud or o

Indicator v6 TrendMoving averages
Updated 7 months ago · None stated GitHub repository of Keltner Hull Suite

Matrix Scalper Algo

by Tradehook-org
1 stars

A Pine v5 indicator that combines a higher-timeframe trend with a short-term entry on the price chart. The trend is a fast EMA above or below a slow EMA on a chosen higher timeframe, shown as a background color. An entry marks when price crosses a 9-period EMA

Indicator v5 ScalpingTrend Repaints
Updated 8 months ago · None stated GitHub repository of Matrix Scalper Algo

SPX Gamma (DTE:14)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for SPX (the S&P 500 index) expiring in fourteen days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-03, produced offline f

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of SPX Gamma (DTE:14)

Order Blocks

by Ahmed1926
1 stars

An overlay indicator that draws bullish and bearish order block boxes using a candle range setting, with breaker source prices selectable. Optional extras include previous day high and low lines, break of structure lines, highlighted breaker candles and retest

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of Order Blocks
1 stars

This Pine Script indicator calculates and plots support and resistance levels from a selected higher timeframe. It identifies peaks and troughs on the higher timeframe and assigns strength to each level based on a weighted combination of touches, bounces, and

Indicator v5 Support & resistanceVolume
Updated 9 months ago · None stated GitHub repository of OA Destek & Direnç Gücü

Franken-Strength

by anil-sn
1 stars

An oscillator in a separate pane that blends a TMO-style momentum count with a scaled RSI. The TMO part compares the close with a run of earlier opens, smooths the result with selectable EMA, SMA or RMA stages, and plots a main line, a signal line and a colour

Indicator v5 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of Franken-Strength
1 stars

Teaching script that demonstrates several ways to request data from other symbols and timeframes in Pine. It shows a daily close shifted so it only uses completed daily bars, a daily candle overlay with its 10-period EMA drawn using a tuple request, an array r

Indicator v6
Updated 1 year ago · None stated GitHub repository of Advanced Security Requests

TD Sequential 9/13

by zhuzp98
1 stars

This indicator tracks DeMark's TD Sequential 9 and 13 setup and countdown conditions directly on the price chart. It compares the current close price to the close four bars prior to determine setup counts, switching direction when price crosses. When setup or

Indicator v5 Oscillators & momentumSupport & resistance
Updated 1 year ago · None stated GitHub repository of TD Sequential 9/13

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