Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 63)

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

92 stars

This indicator classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Regime & Trap

CCI line gradient

by be-thomas
65 stars

This indicator calculates the Commodity Channel Index from a user-selected source and length, then plots that oscillator in a separate pane. It colors the CCI line with a gradient that shifts from the bear color toward the bull color as the value moves from ne

Indicator v5 Oscillators & momentum
Updated 7 days ago · GPL-3.0 GitHub repository of CCI line gradient

EMA Ribbon Overlay

by iamrichardD
57 stars

Calculates exponential moving averages for fast, pivot, and slow lengths along with optional 50, 100, and 200 simple moving average context lines. It visualizes bullish and bearish ribbon fills on the main price chart alongside MACD calculations to generate ea

Indicator v6 TrendMoving averages
Updated 1 year ago · Apache-2.0 GitHub repository of EMA Ribbon Overlay

Fractals v2

by iamc1oud
56 stars

Fractals v2 identifies custom swing highs and swing lows across configurable left and right bar periods and visualizes them on the price chart. It plots extended swing lines, labels, boxes, and optional volume or open interest delta data for crypto futures. Tr

Indicator v5 Support & resistanceVolume Repaints
Updated 2 months ago · None stated GitHub repository of Fractals v2

This indicator combines Chaikin Money Flow (CMF), a SuperTrend baseline, and an Average True Range (ATR) calculation inside a separate sub-pane. It calculates a standard 20-period CMF plotted as a line and colored histogram columns around a zero baseline, trac

Indicator v6 TrendVolume
Updated 6 months ago · Apache-2.0 GitHub repository of Institutional View: CMF & SuperTrend

Fvg Fibo

by Ahmed-GoCode
53 stars

This indicator overlays fair value gaps, market-structure breaks, and two Fibonacci levels on the price chart. It draws bullish, bearish, and mitigated gap zones and can shrink mitigated gaps. It marks break of structure and change of character lines, with an

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Fvg Fibo

MTF market analysis toolkit

by TamaraKGreen
47 stars

This indicator draws higher-timeframe candles on the price chart so traders can compare a larger timeframe with the current bars. It can show regular candles or Heikin Ashi, with optional automatic timeframe selection and a second level. A stats table and a ti

Indicator v6 Support & resistanceScreeners & dashboards Repaints
Updated 8 weeks ago · None stated GitHub repository of MTF market analysis toolkit

This indicator plots a Bessel-weighted moving average on the price chart. It applies a finite impulse response window whose weights follow a Bessel-style function of a selected order, then normalizes those weights and averages the chosen source over the lookba

Indicator v6 TrendMoving averages
Updated 8 months ago · MIT GitHub repository of Bessel-Weighted Moving Average (BWMA)
43 stars

This indicator calculates standardized trend strength and historical volatility to estimate position sizes. It computes the differences between three user-defined EMAs standardized by price using MACD logic, while historical volatility is derived from the stan

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Trend Strength & Volatility v2

Path of the Planets

by blueprintresearch-dev
42 stars

Path of the Planets is an overlay indicator that calculates and plots planetary longitudes and declinations directly on the price chart using VSOP87, ELP2000-82, and Meeus astronomical algorithms. It supports both geocentric and heliocentric tracking for indiv

Indicator v6 Support & resistanceScreeners & dashboards
Updated 2 weeks ago · None stated GitHub repository of Path of the Planets

Aroon

by TWODS-CAPITAL
37 stars

This indicator calculates and plots the standard Aroon Up and Aroon Down lines in a separate pane. It tracks the number of bars since the highest high and lowest low occurred over a specified lookback period, expressing the values as percentage levels between

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Aroon

RSI Divergence

by thanhnguyennguyen
33 stars

RSI Divergence combines the Relative Strength Index (RSI) and Money Flow Index (MFI) into a single indicator plotted in a separate pane. It calculates standard RSI from price inputs, highlighting overbought zones in red and oversold zones in green. Simultaneou

Indicator v4 Oscillators & momentumVolume
Updated 1 year ago · None stated GitHub repository of RSI Divergence
29 stars

Zen EMA Pullback Patterns identifies pullback formations relative to an Exponential Moving Average on the price chart. It detects 3-bar pullbacks consisting of three consecutive bearish bars above the EMA or bullish bars below it, as well as 4-bar micro channe

Indicator v6 Moving averagesCandlestick patterns
Updated 2 weeks ago · MIT GitHub repository of Zen EMA Pullback Patterns
26 stars

This feature test indicator calculates and plots a 5-period simple moving average (SMA) using a user-selected price source. It draws the resulting moving average line in a separate window below the main price chart. The primary input setting allows traders to

Indicator v6 Moving averages
Updated 2 months ago · AGPL-3.0 GitHub repository of Feature Matrix - Source Input

MFI Divergences

by tistaharahap
25 stars

This indicator plots the Money Flow Index in a separate pane and marks regular and hidden bullish and bearish divergences between price pivots and the oscillator. It builds the index from positive and negative money flow, then finds pivot highs and lows using

Indicator v4 Oscillators & momentumVolume
Updated 6 years ago · None stated GitHub repository of MFI Divergences
20 stars

This indicator applies John Ehlers' roofing filter to a chosen price source in a separate pane. A high-pass stage removes cycles longer than the high-pass period, then a fixed super smoother smooths the result and a second high-pass produces a comparison serie

Indicator v5 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of John F. Ehlers - Zero Mean Roofing Filter

Shooting Star Finder

by shibisuriya
18 stars

The Shooting Star Finder indicator detects shooting star Japanese candlestick patterns directly on the main price chart. It evaluates individual candles using relative mathematical ratios of Open, High, Low, and Close values. The script tests whether the candl

Indicator v4 Candlestick patterns
Updated 4 years ago · None stated GitHub repository of Shooting Star Finder
16 stars

Smart Money Concepts [LuxAlgo] X CDC overlay indicator visualizes market structure and smart money concepts directly on the price chart. It detects real-time internal and swing market structure events including Change of Character (CHoCH) and Break of Structur

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

SPY 0DTE Scalper - 1m

by chris-c-thomas
14 stars

This overlay indicator marks CALLS and PUTS labels on the price chart when a strict boolean gate of price structure, momentum, volatility, breadth, and candle confirmation all pass. It plots an EMA ribbon with cloud fill, session-anchored VWAP and standard-dev

Indicator v6 ScalpingMoving averages
Updated 6 months ago · MIT GitHub repository of SPY 0DTE Scalper - 1m

TTrades Daily Bias [TFO]

by dbruce1990
12 stars

This indicator determines daily and weekly bias using higher-timeframe structural levels and liquidity targets based on TTrades concepts. It plots period separators, tracks previous highs and lows, and changes level colors when liquidity is raided. An on-scree

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of TTrades Daily Bias [TFO]

This indicator builds an external signal series for the PineCoders backtesting and trading engine and plots it in a separate pane. Comments state that a built-in MACD setup is the template. It encodes filter state, long and short entries, exits, and optional s

Indicator v5 Oscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of Signal for Backtesting-Trading Engine [PineCoders]

This indicator overlays background and color signals on the price chart based on Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) conditions. It calculates RSI alongside a high-based MACD line and defines timeframe-specific overbo

Indicator v4 Oscillators & momentumMoving averages
Updated 5 years ago · None stated GitHub repository of RSI - MACD Background Indicator
10 stars

TPCharts Alert EMAs Standard calculates three multi-timeframe Exponential Moving Averages using a user-selected resolution, defaulting to daily data. It computes a shortest, shorter, and longer EMA configured through custom length inputs. The script plots thes

Indicator v4 Moving averagesTrend Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of TPCharts Alert EMAs Standard

Calculates a composite Trend Factor ranging from -100 to +100 alongside a confidence score from five weighted evidence blocks: linear regression slope, trend strength metrics (ADX, Efficiency Ratio, R-squared), swing market structure, volatility quality, and e

Indicator v6 TrendVolatility & bands
Updated 4 days ago · MIT GitHub repository of Bayesian Trend Factor [WavesUnchained]

Nexural Transform

by JasonTeixeira
9 stars

Nexural Transform is an oscillator indicator calculated in a separate pane that combines Fisher Transform mechanics with Cumulative Volume Delta momentum. It integrates volume-weighted price transforms, CVD acceleration, and order flow features like absorption

Indicator v6 Oscillators & momentumVolume
Updated 2 weeks ago · Custom licence GitHub repository of Nexural Transform

The Institutional Order Flow Strength Classifier identifies bullish and bearish order blocks triggered by market structure breaks confirmed through pivot highs and lows. It calculates a strength score for each order block based on price displacement and relati

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · MIT GitHub repository of Institutional Order Flow Strength Classifier [LuxAlgo]
9 stars

This indicator calculates and plots the Relative Strength Index (RSI) alongside an Exponential Moving Average (EMA) of the RSI in a separate pane. It features a reverse RSI calculator that determines the price required to reach specific RSI targets, such as ov

Indicator v4 Oscillators & momentumMoving averages
Updated 5 years ago · None stated GitHub repository of RSI & EMA with Reverse Calculator Panel

LunarTick Levels

by lunarticktrading
7 stars

LunarTick Levels plots key daily reference levels and multi-timeframe simple moving averages directly on the price chart. It highlights key price points including the Opening Print, Previous Day High and Low, and Overnight High and Low. Additionally, it projec

Indicator v6 Support & resistanceMoving averages
Updated 3 weeks ago · None stated GitHub repository of LunarTick Levels

MACD + CMF MTF Signals

by eddiebelaval
7 stars

This indicator calculates Multi-Timeframe Moving Average Convergence Divergence (MACD) and Chaikin Money Flow (CMF) combined in a separate pane. It plots the MACD, signal line, histogram, and an auto-scaled CMF line. Buy markers trigger when a bullish MACD cro

Indicator v6 Oscillators & momentumVolume Repaints
Updated 3 months ago · None stated GitHub repository of MACD + CMF MTF Signals
7 stars

This indicator plots raw volume or dollar volume on a logarithmic or linear scale in a separate pane below the main chart. It calculates Bollinger Bands around the chosen volume series using standard deviation and selectable moving average smoothing types, inc

Indicator v5 VolumeVolatility & bands
Updated 4 months ago · None stated GitHub repository of Log Volume + Bollinger Band
7 stars

This indicator calculates a customizable weighted blend of the Relative Strength Index and the Money Flow Index in a separate pane. It calculates a smoothed moving average of the hybrid line to show momentum direction, changing the hybrid line brightness when

Indicator v6 Oscillators & momentumVolume
Updated 5 months ago · None stated GitHub repository of Hybrid RSI+MFI + TMA + USDT.D

FX Market Sessions

by itmakesyousick
7 stars

This indicator draws up to three named market-session boxes on the price chart, defaulting to London, New York, and Tokyo. Each session has its own time window, label, color, optional extension of the box and end line, experimental Fibonacci lines, and an open

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

RSI

by trsdn
6 stars

This indicator calculates standard Relative Strength Index values along with a simple moving average filter. It plots the momentum line in a separate pane alongside customizable dotted horizontal reference lines for overbought and oversold thresholds. Users ca

Indicator v5 Oscillators & momentum
Updated 8 days ago · MIT GitHub repository of RSI

Capital41 Duo

by damianpitt
6 stars

Capital41 Duo overlays RSI and Williams %R on the price chart and flags agreement between them. It paints a dark green background when both are oversold and a red background when both are overbought, otherwise gray. With turn confirmation enabled, those states

Indicator v6 Oscillators & momentum
Updated 2 months ago · MIT GitHub repository of Capital41 Duo
6 stars

This indicator creates a scanner dashboard on the price chart for 16 symbols including EURUSD, GBPUSD, XAUUSD, BTCUSD and others. It displays institutional bias using colored icons for bullish, bearish, neutral and wait signals. The dashboard supports three co

Indicator v6 Screeners & dashboardsSupport & resistance
Updated 7 months ago · None stated GitHub repository of Institutional Bias Scanner

TheStrat Suite

by 345-strategies
5 stars

TheStrat Suite classifies candles across six configurable timeframes using Rob Smith's TheStrat bar types. It plots inside bars, hammers, shooters, failed 2s and outside bars on the price chart, with magnitude and exhaustion targets, stop levels and full timef

Indicator v6 Candlestick patternsSupport & resistance Repaints
Updated 5 days ago · MPL-2.0 GitHub repository of TheStrat Suite

Relative Strength Index

by SiegerTerpstra
5 stars

This indicator plots the Relative Strength Index, a momentum oscillator that measures the speed and magnitude of price changes using Wilder's RMA of gains and losses. It draws the oscillator and configurable upper and lower bands in a separate pane, with the l

Indicator v6 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of Relative Strength Index

Sirius Wavetrend

by jerryinyang
5 stars

Sirius Wavetrend is an oscillator-style indicator that requests higher-timeframe MACD and Wave Trend values and compares them with optional RSI or Stochastic filters. It marks long and short MACD states from histogram color and the MACD sign, with an optional

Indicator v4 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of Sirius Wavetrend

This indicator combines a 200-period Exponential Moving Average (EMA), a Stochastic RSI oscillator, and three distinct Supertrend lines utilizing different ATR periods and multipliers. It overlays the EMA and Supertrend tracking lines directly onto the price c

Indicator v4 TrendOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of 200 EMA + Stochastic + Triple Supertrend

MTF MA bands + RSI

by InNoobWeTrust
4 stars

This indicator plots multi-timeframe moving average bands alongside a Relative Strength Index in a separate pane. It calculates up to four configurable moving averages across different timeframes, offering selectable types such as SMA, EMA, and WMA with colore

Indicator v6 Oscillators & momentumMoving averages
Updated 3 days ago · None stated GitHub repository of MTF MA bands + RSI

Elliott Wave [LuxAlgo]

by YooooungLee
4 stars

This overlay indicator marks Elliott Wave structure on the price chart. Comments describe detection of impulse and corrective waves across three ZigZag lengths, Fibonacci retracement levels, and numbered wave labels. Users choose high and low sources, turn eac

Indicator v5 Support & resistance
Updated 10 months ago · Apache-2.0 GitHub repository of Elliott Wave [LuxAlgo]
4 stars

This indicator plots a fast and a slow moving average on the price chart and marks bullish and bearish crossovers. The user can choose SMA, EMA, RMA, or WMA, the price source, and both lengths. Triangle shapes appear below or above the bar at each crossover, a

Indicator v5 TrendMoving averages
Updated 11 months ago · Custom licence GitHub repository of MA Crossover Indicator [Lab]
4 stars

This indicator marks a bearish long upper shadow candlestick pattern on the price chart. It treats a bar as a match when the upper shadow is greater than 75 percent of the full high-to-low range. On a match it draws an LUS label above the bar, tints the backgr

Indicator v5 Candlestick patterns
Updated 1 year ago · None stated GitHub repository of Long Upper Shadow - Bearish

KARPUZLU-RSI

by Kalumur
4 stars

Calculates a custom-period Relative Strength Index alongside an Exponential Moving Average of the RSI in a separate pane. It identifies pivot highs and lows directly on the RSI plot to highlight trendlines and potential divergence patterns. The area between th

Indicator v5 Oscillators & momentumMoving averages
Updated 2 years ago · None stated GitHub repository of KARPUZLU-RSI

Trend Finder w/ COV

by kevinhhl
4 stars

This indicator measures price volatility using the Coefficient of Variation, calculated by dividing the standard deviation by the simple moving average over a specified lookback period. It filters out ranging market conditions by comparing the current variatio

Indicator v5 TrendVolatility & bands
Updated 3 years ago · None stated GitHub repository of Trend Finder w/ COV

MACD Indicator (14,21)

by might-tree
4 stars

This script plots three MACD lines calculated from exponential moving averages on the close price. The first line subtracts the 14-period EMA from the 21-period EMA, the second subtracts the 41-period EMA from the 90-period EMA, and the third subtracts the 90-

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · None stated GitHub repository of MACD Indicator (14,21)

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