Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 49)

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,283
No repaint flag6,673

Indicators: All

Stoch Price Envelope

by teshmi9z-beep
1 stars

An overlay that converts a long-period stochastic reading back into price levels. Using the highest high and lowest low over a lookback window of 200 bars by default, it plots a ceiling at the high stochastic level, a floor at the low level, a midpoint, and a

Indicator v5 Oscillators & momentumSupport & resistance
Updated 2 days ago · MIT GitHub repository of Stoch Price Envelope
1 stars

A separate-pane diagnostic that measures downside effort as the average of down-bar moves divided by ATR, drawn as inverted heat-coloured columns. It flags absorption and climax bars when price sits below a weekly midline built from an EMA and SMA and effort e

Indicator v6 Volatility & bandsVolume Repaints
Updated 3 days ago · None stated GitHub repository of V6.0-Down (Right Diagnostic)
1 stars

Correlation Matrix & Effective Bets is an indicator that computes pairwise correlations of log returns across six user-defined symbols over a configurable length and displays the results as a colored table in a separate pane. It also calculates an effective be

Indicator v6 Screeners & dashboardsSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of Correlation Matrix & Effective Bets
1 stars

An overlay that computes three simple moving averages, by default lengths 30, 50 and 100, but draws only the highest and the lowest of them on each bar. The two lines form a band that can be filled with a color, so the band stays clean even when the averages c

Indicator v5 Moving averagesTrend
Updated 5 days ago · None stated GitHub repository of Moving Average High-Low Range

Week 01

by moonyroy
1 stars

This overlay indicator draws line segments that follow swing highs and lows, building a zigzag-style map of price structure. It tracks a running high and low, starts a segment from the first bars, and extends or flips the current leg when price breaks only the

Indicator v6 Support & resistance
Updated 6 days ago · None stated GitHub repository of Week 01

I_collections

by GammaExpansion
1 stars

This indicator acts as a test fixture to evaluate Pine Script array, matrix, and map collection operations. It maintains rolling 20-bar arrays of close prices and volumes to calculate statistical properties such as mean, standard deviation, percentile, mode, a

Indicator v6
Updated 7 days ago · MIT GitHub repository of I_collections

EMA-Volume

by engtuncay
1 stars

The EMA-Volume indicator plots two Exponential Moving Averages (EMA 50 and EMA 200 by default) directly on the main price chart to track trend directions and crossover signals. It concurrently evaluates trading volume using 30-period and 120-period moving aver

Indicator v6 Moving averagesVolume
Updated 7 days ago · None stated GitHub repository of EMA-Volume

My Notes

by cckmchiu-gapps
1 stars

The My Notes indicator displays selectable trading notes on the price chart. Users choose from multiple note sets via dropdown input, covering topics like technical points, trading strategies, market states, and Hong Kong stock analysis. Notes appear as text l

Indicator v5 Screeners & dashboardsSupport & resistance
Updated 8 days ago · None stated GitHub repository of My Notes
1 stars

A separate-pane scanner that checks up to 25 user-chosen symbols, covering stocks, ETFs, futures and crypto, and records whether each is in a buy or sell regime based on a SuperTrend with adjustable ATR length and factor. A single alert reports which symbols f

Indicator v6 Screeners & dashboardsTrend
Updated 8 days ago · Custom licence GitHub repository of Watchlist Flip Scanner

DEPV2 A3 MOMENTUM

by YuceSezar89
1 stars

This indicator calculates a momentum z-score using the rate of change of log returns over a specified period, normalized by the standard deviation of log returns over a longer window. It plots the z-score, the momentum state (positive, neutral, or negative), a

Indicator v6 Oscillators & momentumVolatility & bands
Updated 13 days ago · None stated GitHub repository of DEPV2 A3 MOMENTUM

RSI Cross

by quantxaashish
1 stars

This Pine Script v5 indicator calculates the Relative Strength Index using a default length of 14. It plots the RSI value in a separate pane below the price chart. Long signals trigger when the RSI line crosses above the oversold level of 30, and short signals

Indicator v5 Oscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of RSI Cross

This indicator classifies each bar into a low, middle, or high volatility regime by comparing ATR as a percentage of close with the 33rd and 67th percentiles of that measure over a rolling sample window. It overlays optional background shading on the price cha

Indicator v6 Volatility & bandsScreeners & dashboards
Updated 2 weeks ago · MPL-2.0 GitHub repository of Taught to Trade - Regime Tercile Dashboard

Key Levels

by Just-beyond-z
1 stars

An overlay that draws reference levels from several timeframes. It can show previous high and low levels, session levels, opening prices, swing lines and fair value gaps for 30-minute, 2-hour, 4-hour and daily frames, each with its own color and a maximum coun

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 2 weeks ago · None stated GitHub repository of Key Levels

An overlay indicator limited to the one-minute chart that records the high and low of an opening range at a set market open time. It draws high, low and average lines plus dotted entry levels beyond the range, extending to the session end. A daily flag is kept

Indicator v5 Sessions & timeSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of DAY-5MIN-L&H v6 Valid Trend Alert
1 stars

A research indicator, with no trade signals, that finds unusually large candles on the 5 and 15 minute timeframes and the chart timeframe, and studies how price returns to the other end of each one. A news candle must exceed a multiple of the largest recent ra

Indicator v6 Candlestick patternsVolatility & bands
Updated 2 weeks ago · None stated GitHub repository of News Candle Research

Visible Average Price

by AkashSasikumar47
1 stars

Calculates and plots the average price of all bars currently visible on the chart window. It collects price source values between the leftmost and rightmost visible bars and displays a single horizontal line representing the arithmetic mean. The plotted level

Indicator v6 Support & resistance Repaints
Updated 2 weeks ago · MIT GitHub repository of Visible Average Price

Parabolic SAR

by AkashSasikumar47
1 stars

A Pine v6 indicator that draws the Parabolic SAR as green circles on the price chart, using the built-in stop-and-reverse calculation. Three inputs set the starting acceleration factor, the increment and the maximum. The dots sit below price in an uptrend and

Indicator v6 Trend
Updated 2 weeks ago · MIT GitHub repository of Parabolic SAR

Overnight Range Breakout

by JACKZHOU0521
1 stars

This script tracks high and low levels established during a defined overnight trading session in exchange time. Once the overnight session completes, the indicator plots frozen horizontal high and low boundary lines on the price chart. When price closes above

Indicator v6 Support & resistanceBreakout
Updated 5 weeks ago · None stated GitHub repository of Overnight Range Breakout

SMC Sessions

by mccallister-dev
1 stars

The SMC Sessions indicator plots higher-timeframe context labels, swing structure breaks, confirmed sweeps, order-block proxies and fair value gap zones directly on the price chart for forex SMC and ICT analysis. It draws HTF pullback-continuation and reversal

Indicator v6 SMC / ICT / price actionSessions & time Repaints
Updated 5 weeks ago · None stated GitHub repository of SMC Sessions

Order Flow Delta

by mrme000m
1 stars

A Pine v5 indicator in a separate pane that estimates buying and selling pressure from each candle's position between its low and high, weighted by volume. It plots the per-bar delta, a moving average of delta, cumulative delta and buy and sell percentages. Ex

Indicator v5 VolumeDivergence
Updated 7 weeks ago · None stated GitHub repository of Order Flow Delta

CTLV v2 Liquidity Void Map

by AssetWhisper
1 stars

An overlay indicator that maps price voids as boxes on the chart: three-candle fair value gaps and opening gaps, mostly from a higher timeframe such as four hours, with an option to include chart-timeframe voids. It uses closed higher-timeframe candles, tracks

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of CTLV v2 Liquidity Void Map

Moving Average (SMA)

by DEVfancybear
1 stars

The Moving Average (SMA) indicator calculates the simple moving average of close prices and plots it directly on the price chart. The length input sets the number of periods averaged, defaulting to 50 and ranging from 1 to 500. The lineColor input allows custo

Indicator v6 Moving averagesTrend
Updated 7 weeks ago · MIT GitHub repository of Moving Average (SMA)
1 stars

This indicator calculates a dynamic spine midline and adaptive cycles based on user-selected time intervals, dynamic step changes, or fractal distances. It processes price source movements against configured percentage thresholds to project adaptive cloud boun

Indicator v6 Support & resistanceVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of Bmoon System Golden Cloud

Webby RSI

by peterdmv
1 stars

The Webby RSI indicator calculates a momentum oscillator by measuring price distance to a 21 EMA in 50 ATR units. The value smooths into a 10 SMA histogram MA. It plots the absolute value as colored columns and the MA as a line in a separate pane. Inputs adjus

Indicator v6 Oscillators & momentumMoving averages
Updated 2 months ago · MPL-2.0 GitHub repository of Webby RSI

Close On Chart

by Alaamo7
1 stars

Close On Chart is an introductory educational indicator that plots the closing price as a line overlay directly on the main price chart. Created as a basic Pine Script v6 exercise, it illustrates fundamental script declaration, overlay configuration, and price

Indicator v6
Updated 2 months ago · Custom licence GitHub repository of Close On Chart

Dynamic MAs ZSCORE

by vedkanani123
1 stars

A separate-pane indicator that takes a selectable moving average of price, converts it to a Z-score over a lookback, and draws it against dynamic standard deviation bands with separate positive and negative multipliers. It can be read as a trend-following sign

Indicator v6 Oscillators & momentumMean reversion
Updated 2 months ago · None stated GitHub repository of Dynamic MAs ZSCORE
1 stars

A price-chart indicator that reads market structure from confirmed swing highs and lows over an adjustable period. A break of the last swing by candle body or wick sets the trend direction, and a change of character is marked when the direction flips. It colou

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Smart Money Trades Pro

Mxwll Suite

by BrandonFreire
1 stars

A smart money concepts toolkit drawn on the price chart. It marks internal and external market structure with break of structure and change of character labels at selectable sensitivities, swing order blocks, higher-high and lower-low labels, and areas of inte

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Mxwll Suite
1 stars

This indicator clusters confirmed pivots into support and resistance levels, scoring each by touch count and keeping the strongest per side. A signal appears when price tests a level that has held before, closes back away from it with a rejection candle, and a

Indicator v6 Support & resistanceTrend
Updated 2 months ago · Custom licence GitHub repository of Reactive Levels Signal Engine

An overlay indicator that marks confirmed swing highs and lows with arrows and tracks market structure. A bullish or bearish trend, and a change of character, needs at least four alternating confirmed swings, so one contradicting swing does not flip the trend.

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

A/D Context v20.10

by VVASILEVSS
1 stars

A Pine v5 indicator that draws in its own pane and measures accumulation and distribution flow with Williams or Chaikin A/D, a smoothing EMA, Chaikin Money Flow and ATR. It compares price pivots with flow pivots to flag regular or hidden divergences, optionall

Indicator v5 DivergenceVolume
Updated 3 months ago · None stated GitHub repository of A/D Context v20.10
1 stars

This indicator implements an ICT and SMC decision engine directly on the price chart. It calculates Fair Value Gap consequent encroachment entry triggers alongside multi-tiered profit targets and structure-anchored stop losses. Trades are filtered through prem

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Quantum Flow - FVG CE + TP Tiers

Buddha Money Flow Classic

by DarthBuddha
1 stars

A separate-pane volume indicator that reads TradingView footprint data to plot buy, sell and total volume per bar. Columns can be kept above zero for readability, and a cumulative volume delta line can run continuously or over a chosen window. A summary table

Indicator v6 Volume
Updated 3 months ago · MIT GitHub repository of Buddha Money Flow Classic

Range Detect Breakout

by tthanhvu002sgu
1 stars

Detects compressed ranges on the price chart and marks breakout points with triangles at the range high and low. A range is flagged when the recent high-low span is small against its longer average and the bars overlap enough. A daily EMA, default 100 periods,

Indicator v6 BreakoutSessions & time
Updated 3 months ago · None stated GitHub repository of Range Detect Breakout

Session Extension Bands

by abhinaynatraj
1 stars

An indicator that projects how far price has typically extended beyond the prior session's close, using a rolling lookback of up to 500 days. The London projection is anchored to the Asia close and the New York projection to the London close, with boxes and pr

Indicator v6 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Session Extension Bands

Keltner Channels

by majohnst
1 stars

This indicator calculates and plots multi-band Keltner Channels directly on the price chart. It projects a central moving average alongside four upper and four lower channel bands spaced at incremental multipliers of the selected volatility range. Users can to

Indicator v6 Volatility & bandsMoving averages
Updated 4 months ago · None stated GitHub repository of Keltner Channels
1 stars

This indicator identifies market structure and price imbalances directly on the price chart using smart money concepts. It tracks pivot points to label higher highs, higher lows, lower highs, and lower lows, while plotting break of structure and change of char

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

Swing OTE

by jchi18
1 stars

An overlay that detects swing points on a chosen structure timeframe and plots them on any chart. Major and minor swings are independent, each with its own strength setting, structure labels (higher high, higher low and so on) and optional zig-zag. Swings prin

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

TTM Squeeze Box

by riegodavid-git
1 stars

An overlay indicator that draws a box around each squeeze period. A squeeze starts when the Bollinger Bands move fully inside the Keltner Channel. While it lasts, a border-only box grows to follow the highest high and lowest low, and it is left on the chart wh

Indicator v6 Volatility & bandsBreakout
Updated 4 months ago · None stated GitHub repository of TTM Squeeze Box

DigitalTrend Insight

by unemployedrabi
1 stars

Pine v4 overlay that combines several tools on the price chart. A dashboard label reports volatility, volume, RSI, short-term sentiment and a multi-timeframe trend panel built from the direction of a 50-period moving average on timeframes from one minute to mo

Indicator v4 Screeners & dashboardsTrend
Updated 4 months ago · MIT GitHub repository of DigitalTrend Insight
1 stars

An indicator for the price chart that draws intraday levels for Nasdaq futures by combining a volatility-index implied one-day move from the cash open with an initial balance extension. The blend can be a midpoint, maximum extension or minimum conservative mod

Indicator v6 Support & resistanceVolatility & bands
Updated 4 months ago · None stated GitHub repository of Intraday Hold Levels (VIX + IB)

Dynamic Support Line

by rubbermetal
1 stars

Dynamic Support Line plots a composite moving average built by averaging six moving average types, then smoothing the result, with upper and lower bands set by a standard deviation multiplier. The fill turns green when price is above the mid line and red below

Indicator v6 Moving averagesVolatility & bands
Updated 4 months ago · MPL-2.0 GitHub repository of Dynamic Support Line

MTF RSI Management

by iyoshikawa
1 stars

An overlay indicator built around a fast and a slow smoothed RSI, a double-smoothed stochastic, an EMA trend line and an ADX filter, combined with a volume filter to grade setups from B to A+. Presets adapt settings for crude oil, Nasdaq, S&P 500 and Dow futur

Indicator v5 Oscillators & momentumTrend Repaints
Updated 5 months ago · None stated GitHub repository of MTF RSI Management

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