Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 4)

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

8 stars

This utility indicator exports historical OHLCV market data into formatted CSV text using Pine Logs on the latest chart bar. It iterates through historical bars from oldest to newest, logging timestamps, open, high, low, close, and volume values. Users can spe

Indicator v6
Updated 7 weeks ago · None stated GitHub repository of Data Exporter for Optimizer

Larper Suite

by DeolinNaidoo
8 stars

Larper Suite is an overlay indicator for ICT and quarterly-theory analysis. It plots true session, daily, weekly, monthly, and yearly opens plus prior and current high-low liquidity levels. It tracks multi-asset SMT, swing divergence, fair-value-gap fills, and

Indicator v6 SMC / ICT / price actionDivergence Repaints
Updated 3 months ago · GPL-3.0 GitHub repository of Larper Suite

GainzAlgo V2 Alpha

by Bakomebandias
8 stars

This overlay indicator scores breakouts of recent highs and lows against failed-breakout checks, EMA trend alignment, RSI momentum, and an ATR volatility band. It plots green buy and red sell labels when conditions pass a minimum score, and it prints ATR-based

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of GainzAlgo V2 Alpha

MattSuite V3

by mmarbmatt
8 stars

MattSuite V3 is an overlay indicator that combines market-structure and trend tools on the price chart. It identifies bullish and bearish fair value gaps and estimates their strength, flags break of structure and change of character, and marks order blocks. It

Indicator v5 SMC / ICT / price actionVolatility & bands
Updated 1 year ago · None stated GitHub repository of MattSuite V3
8 stars

Plots institutional price action and smart money concepts directly on the price chart. It detects swing and internal market structures, marking Break of Structure (BOS) and Change of Character (CHoCH) levels, swing points, and strong or weak highs and lows. Th

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · MIT GitHub repository of Price Action Concepts Open Source

KY SMC Indicator

by yusin99
8 stars

This indicator plots smart money concepts on the price chart. It marks internal and swing market structure, optional short, intermediate, and long-term swing points, and strong or weak highs and lows. It can draw internal and swing order blocks, filtered by AT

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of KY SMC Indicator
8 stars

This indicator draws a combined bias in a separate pane, aimed at crypto charts. It colors the alert green, red, or white from a linear-regression value and ADX directional movement, using a sensitivity input that tightens or loosens the ADX threshold and slop

Indicator v4 TrendOscillators & momentum
Updated 4 years ago · GPL-3.0 GitHub repository of Linear Regression ADX Eyachay

PA Stats

by Enesp4rl4k
7 stars

This indicator displays a compact trade metrics table in the top-right corner of the price chart. Built as a template script for automated MCP server workflows, it populates and presents trade setup details including risk percentage, calculated position units,

Indicator v6 Screeners & dashboards
Updated 6 days ago · MIT GitHub repository of PA Stats

Natural Squares

by NQ-stats-MX
7 stars

This indicator plots Gann natural squares and fractional Square of Nine levels as horizontal lines on the price chart. It scales price, takes the square root, and draws a chosen number of levels above and below the close, with optional root, angle, price, and

Indicator v6 Support & resistance
Updated 10 days ago · MIT GitHub repository of Natural Squares

Arrows Off BB

by lunarticktrading
7 stars

This indicator plots standard Bollinger Bands and identifies potential mean-reversion setup signals directly on the main price chart. A bullish signal triggers when a bullish candlestick follows a bearish candlestick while both consecutive bars' lows drop belo

Indicator v6 Volatility & bandsMean reversion
Updated 2 weeks ago · None stated GitHub repository of Arrows Off BB

This indicator plots core Inner Circle Trader (ICT) concepts directly on the price chart. It visualizes session killzones (Asia, London, NY AM, London Close, NY PM) with high and low boundaries, opening price levels, multi-timeframe Fair Value Gaps with conseq

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 3 weeks ago · GPL-3.0 GitHub repository of All-in-One ICT v1.2 + RTH Gap + HTF Candles

ATR Renko

by suyons
7 stars

ATR Renko generates reversal signals on standard price charts by requesting synthetic Renko bar data calculated with an Average True Range box size. It tracks changes in Renko block direction and plots buy labels when a down block transitions to an up block, a

Indicator v6 TrendVolatility & bands
Updated 4 months ago · None stated GitHub repository of ATR Renko

Bullish Engulfing Low

by chargersfan47
7 stars

Bullish Engulfing Low is an overlay indicator that marks a two-candle pattern: a bullish bar whose close is above the prior bar open and whose low stays above the prior low, after a bearish bar. When that condition is true it draws a right-extended horizontal

Indicator v6 Candlestick patternsSupport & resistance Repaints
Updated 5 months ago · None stated GitHub repository of Bullish Engulfing Low
7 stars

This indicator calculates a simple moving average over a specified lookback period using a custom summation loop. It plots the moving average directly on the price chart as a blue line. An alert condition triggers whenever the chosen source price crosses above

Indicator v6 Moving averagesTrend
Updated 9 months ago · None stated GitHub repository of Non-Compliant Indicator

ForexAlgo

by Harshil427
7 stars

ForexAlgo generates trade signals directly on the price chart using a primary leading indicator, such as the Range Filter, combined with modular confirmation filters. Traders can toggle multiple technical filters, including exponential moving average crosses,

Indicator v5 TrendOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of ForexAlgo

LIT - Timing

by rpanchyk
7 stars

LIT - Timing plots key market session ranges directly on the price chart based on Liquidity Inducement Theorem concepts. It renders customizable boxes alongside horizontal projection lines representing the high, low, and midpoint for the Asian, London, and New

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 2 years ago · MIT GitHub repository of LIT - Timing

FX Market Sessions

by itmakesyousick
7 stars

This indicator draws custom trading session boxes directly on the price chart, with presets for London, New York, and Tokyo sessions. It calculates and outlines session ranges using boxes and lines, with optional extensions, opening ranges, and Fibonacci retra

Indicator v5 Sessions & timeSupport & resistance
Updated 3 years ago · None stated GitHub repository of FX Market Sessions

SRI Indicator ft. MSB

by kingmalitha
7 stars

This indicator overlays an all-in-one technical analysis toolkit on the price chart. It plots multiple moving averages, including standard EMAs, SMAs, and a Trend Regularity Adaptive Moving Average, alongside Bollinger Bands, Supertrend, Nadaraya-Watson envelo

Indicator v5 Moving averagesTrend Repaints
Updated 3 years ago · None stated GitHub repository of SRI Indicator ft. MSB
7 stars

This indicator calculates Time Segmented Volume (TSV) to measure volume flows by comparing price and volume changes across periods. Displayed in a separate pane, it plots a color-coded TSV histogram alongside a fast moving average signal line. It adds upper an

Indicator v4 VolumeOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Time Segmented Volume Bands

Head

by dgnsrekt
7 stars

This indicator template generates an options reticle overlay on the price chart, plotting horizontal out-of-the-money strike price targets and vertical expiration crosshairs. It includes a fill mode that dynamically shades the area between historical price and

Indicator v4 Support & resistanceScreeners & dashboards
Updated 6 years ago · MIT GitHub repository of Head

Bollinger Bands

by trsdn
6 stars

This indicator plots classic Bollinger Bands on the price chart. It calculates a simple moving average of the selected source as the basis, then places upper and lower bands a chosen number of standard deviations away from that average. A translucent fill mark

Indicator v5 Volatility & bandsMoving averages
Updated 6 days ago · MIT GitHub repository of Bollinger Bands
6 stars

This overlay indicator scores a bull, bear, or neutral game state from an auditable decision-forest probability rather than a fitted machine-learning model or live API. It compares the smoothed probability with bull and bear thresholds, then shifts it when a s

Indicator v6 Screeners & dashboardsAI / machine learning Repaints
Updated 7 days ago · None stated GitHub repository of Regime Game Probability Forest

MarketMerge

by mgnyc11
6 stars

MarketMerge generates an on-chart MarketSurge-style data panel featuring CANSLIM analysis, fundamental metrics, relative strength ratings, and key technical overlays. It calculates composite ratings based on multi-timeframe relative strength against a benchmar

Indicator v6 Screeners & dashboardsMoving averages
Updated 8 months ago · MIT GitHub repository of MarketMerge

All-In-One Oscillator

by ZachLegros
6 stars

This indicator combines multiple momentum and volume metrics into a single separate pane. It calculates a WaveTrend-style stochastic oscillator derived from Heikin Ashi values, a volume-weighted Money Flow Index (MFI) centered at zero, an exponential-smoothed

Indicator v4 Oscillators & momentumVolume
Updated 2 years ago · None stated GitHub repository of All-In-One Oscillator

Mxwll Suite

by eonfutures
6 stars

Mxwll Suite is a comprehensive price action and Smart Money Concepts (SMC) technical indicator that plots market structure, key price levels, and order flow zones directly on the main price chart. It detects internal and external market structures including Br

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

Wiseplat Sideways

by WISEPLAT
6 stars

The Wiseplat Sideways indicator identifies dynamic consolidation periods and highlights ranging price action directly on the chart. It evaluates price variation across consecutive bars against a configured percentage threshold to detect sideways movement. When

Indicator v5 Volatility & bandsSupport & resistance
Updated 2 years ago · None stated GitHub repository of Wiseplat Sideways

Edge 59

by subos2008
6 stars

This indicator identifies trend-following breakout opportunities by combining directional movement, trend channels, and multi-period price extremes. It calculates an ADX-colored weighted moving average, a linear regression trend filter based on a volatility ch

Indicator v5 TrendBreakout
Updated 2 years ago · Custom licence GitHub repository of Edge 59
6 stars

This indicator aggregates buy and sell signals from four technical tools: Exponential Moving Averages, Bollinger Bands, Fisher Transform, and MACD. It evaluates specific price conditions and crossovers to classify market states into Strong Buy, Weak Buy, Stron

Indicator v5 Moving averagesVolatility & bands
Updated 3 years ago · None stated GitHub repository of 4 Indicator Signal Strategy

VOIDRLM

by voidrlm
6 stars

The script VOIDRLM combines multiple technical analysis tools into a single overlay indicator on the price chart. It calculates multi-timeframe pivot points, volume-weighted average price (VWAP), customizable moving averages, moving average clouds, supply and

Indicator v5 TrendMoving averages Repaints
Updated 3 years ago · None stated GitHub repository of VOIDRLM
6 stars

This indicator plots multiple types of moving averages on the price chart including SMA, EMA, ALMA, EPMA, and others. Users select the MA type and can apply the same parameters to all or each individually. Key inputs include offset, gamma, smooth, sigma, and w

Indicator v5 Moving averages
Updated 3 years ago · MIT GitHub repository of Moving Averages Refurbished

This indicator calculates the relative strength of a chart symbol relative to a benchmark index and plots the resulting line directly over the price chart. It highlights new relative strength highs, new lows, and instances where relative strength reaches a new

Indicator v4 BreakoutMoving averages
Updated 5 years ago · None stated GitHub repository of Relative Strength Line by @iArpanK
6 stars

This indicator combines the Stochastic oscillator, Relative Strength Index (RSI), and MACD to detect aligned momentum signals. A bullish state occurs when Stochastic rises above 20 and stays below 80, RSI is above 50, and the MACD line is above its signal line

Indicator v4 Oscillators & momentumTrend
Updated 5 years ago · None stated GitHub repository of Combined Stochastic & RSI & MACD Signal
6 stars

This indicator plots average-range high and low levels on the price chart. It averages the previous bar range with a simple moving average and projects an upper and lower level for the current period from the bar's high, low, and close. Separate counts, lookba

Indicator v4 Volatility & bandsSupport & resistance Repaints
Updated 5 years ago · None stated GitHub repository of Average Daily Range High Low

Cross Levels (ES-SPY/SPX)

by 345-strategies
5 stars

Translates key reference levels between CME E-mini S&P 500 futures (ES) and cash equity equivalents (SPY or SPX), displaying them directly on the price chart. When applied to an ES chart, it projects cash session highs, lows, opens, prior period levels, and ga

Indicator v6 Support & resistanceSessions & time
Updated 3 days ago · MPL-2.0 GitHub repository of Cross Levels (ES-SPY/SPX)

BPA [yohtza]

by forecho
5 stars

This indicator plots key session-based price action reference levels on the price chart. It calculates and displays the current session open, previous day close, Globex session high and low, weekly open, and higher-timeframe boundaries. It also supports bar co

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of BPA [yohtza]

HH-LL Buy/Sell + EMA

by vinitpatil519
5 stars

This overlay indicator classifies market structure with an ATR-based ZigZag that marks higher highs, higher lows, lower highs, and lower lows. A state machine plots buy and sell labels on the confirmation bar, not on the earlier pivot, and by default waits for

Indicator v5 TrendSupport & resistance
Updated 2 months ago · None stated GitHub repository of HH-LL Buy/Sell + EMA

ORB Algo | Flux Charts

by vaskosmihaylov
5 stars

This indicator calculates and visualizes Opening Range Breakout (ORB) zones directly on the price chart. Breakout signals are identified when the close or an EMA crosses the opening range boundary, with entry sensitivity managed by retest requirements. It mode

Indicator v6 BreakoutSessions & time
Updated 2 months ago · GPL-3.0 GitHub repository of ORB Algo | Flux Charts
5 stars

This indicator screens many symbols for close-to-close inside bars, a stricter inside bar that also requires the close to continue in the prior candle's direction. It scans either a pasted symbol list or one page of a preset Nifty index list, with a hard limit

Indicator v6 Candlestick patternsScreeners & dashboards
Updated 3 months ago · MPL-2.0 GitHub repository of Close-to-Close (C2C) Inside Bar Screener
5 stars

This overlay marks order blocks on the price chart at the origin of an impulsive move when that candle anchors a Fair Value Gap. Several recent swings are tracked so clustered highs and lows each keep a block. Detection uses the first gap off a swing or a stru

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · MIT GitHub repository of FVG Validated Order Blocks

SuperThree

by anishmanissery
5 stars

SuperThree is an enhanced Supertrend indicator designed to identify uptrends, downtrends, sideways consolidation, and counter-trend momentum. It calculates upper and lower bands based on Average True Range (ATR) and a multiplier factor. Visual fills on the pri

Indicator v5 TrendVolatility & bands
Updated 4 months ago · MIT GitHub repository of SuperThree

Path A — ORB (Demo)

by plutothedev
5 stars

This indicator calculates the opening range high and low for the first N minutes of a user-defined session. It plots the ORB levels on the price chart and emits long breakout signals when price closes above the ORB high and short breakout signals when price cl

Indicator v5 BreakoutSessions & time
Updated 5 months ago · Custom licence GitHub repository of Path A — ORB (Demo)

I2.0 SM Radar

by CedInvest
5 stars

I2.0 SM Radar plots Smart Money Concepts zones on the price chart for crypto. It marks bullish and bearish Order Blocks, Fair Value Gaps with age-based fading, liquidity zones at equal highs and lows, and previous day week month highs and lows. It also detects

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · Custom licence GitHub repository of I2.0 SM Radar

CSI based on RSI, BB and Vol

by chaise-cogent
5 stars

This indicator calculates a custom CSI value using price body ratio, volume score, and range z-score normalized by ATR. It generates bull and bear sentiment signals when CSI, RSI below 60, and Bollinger Band conditions align simultaneously. Bull signals trigge

Indicator v6 Oscillators & momentumVolatility & bands
Updated 7 months ago · MIT GitHub repository of CSI based on RSI, BB and Vol

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