Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 47)

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

Chad's Swing Points marks swing highs and lows on the price chart. It detects equal highs and lows, three-bar minor swings, and five-bar major fractals similar to Williams fractals. Users choose whether each group shows every price label or only the latest one

Indicator v4 Support & resistance Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of Chad's Swing Points (@tradeprophet)
9 stars

ADX Advanced calculates Directional Indicators (DI+ and DI-) alongside the Average Directional Index (ADX) to gauge trend strength and direction. The script features selectable smoothing methods for the ADX curve, including EMA, SMA, RMA, WMA, SuperSmoother, T

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of ADX Advanced [WavesUnchained]

Nexural Fisher Pro

by JasonTeixeira
9 stars

Nexural Fisher Pro is an advanced Fisher Transform indicator that plots in a separate pane. It calculates the Fisher transform using a configurable source such as high-low average. It incorporates adaptive period based on dominant cycle, volume-weighted calcul

Indicator v6 Oscillators & momentumMoving averages
Updated 2 weeks ago · Custom licence GitHub repository of Nexural Fisher Pro

CE 1M + 3M Buy, Sell, Hold

by MeridianAlgo
9 stars

This indicator evaluates trend direction using Chandelier Exit calculations across two timeframes: the current chart and a requested 3-minute timeframe. A custom Chandelier Exit function calculates ATR-based trailing stop bands to determine directional bias. W

Indicator v6 TrendVolatility & bands
Updated 4 months ago · MIT GitHub repository of CE 1M + 3M Buy, Sell, Hold

Stochastic RSI

by andreperez
9 stars

This indicator calculates the standard Stochastic RSI oscillator and displays it in a separate pane. It computes a Relative Strength Index from the selected source price, applies the stochastic formula to the RSI values over a chosen lookback period, and smoot

Indicator v4 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Stochastic RSI

AutoCorrelation Function

by Anderson-ALGO
9 stars

This indicator calculates sample autocorrelation across multiple lag intervals for a selected price series. It computes correlation values over a user-specified lookback period using raw prices, log returns, absolute log returns, or squared log returns. Plotte

Indicator v4 TrendMean reversion
Updated 5 years ago · None stated GitHub repository of AutoCorrelation Function

TR IV Surface

by Enesp4rl4k
7 stars

This TradingView indicator draws an IV surface snapshot table on the price chart for VIOP options. It displays the ATM term structure with expiry, DTE, and ATM IV percent rows, plus 25-delta skew and term slope in vol points. The table updates statically on th

Indicator v6 Volatility & bandsSupport & resistance
Updated 7 days ago · MIT GitHub repository of TR IV Surface

Intraday Levels

by lunarticktrading
7 stars

Intraday Levels plots prior period price levels and session ranges on the price chart. It can draw previous weekly and previous daily open, high, low, and close as separate lines, each with its own visibility and color. It also marks the Asia and London sessio

Indicator v6 Support & resistanceSessions & time
Updated 2 weeks ago · None stated GitHub repository of Intraday Levels

Directional Movement Index

by eddiebelaval
7 stars

This indicator calculates the Directional Movement Index from TradingView's built-in DMI function and plots plus DI and minus DI in a separate pane. An optional ADX line can be shown. It marks plus-DI crossovers above minus DI with a green background and the o

Indicator v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of Directional Movement Index
7 stars

This overlay indicator draws Nadaraya-Watson smoothed Bollinger Bands on the price chart using short, medium, and long periods and deviations. A smoothing factor controls the kernel bandwidth, and an optional setting can allow the estimate to repaint. Users ca

Indicator v5 Volatility & bandsAI / machine learning
Updated 4 months ago · None stated GitHub repository of Bollinger Bands And EMA

Candle Breaks 1v1 L+S

by chargersfan47
7 stars

This indicator detects 1v1 candle break patterns where the current candle breaks and closes beyond the open of the prior opposite-colored candle. It projects a 1.618 Fibonacci extension target based on the previous candle's range, calculating the expected perc

Indicator v5 BreakoutCandlestick patterns
Updated 5 months ago · None stated GitHub repository of Candle Breaks 1v1 L+S
7 stars

Lorentzian Classification is a machine learning indicator that applies a k-nearest neighbors algorithm using Lorentzian distance to analyze market patterns. It processes configurable technical indicators, including RSI, WaveTrend, CCI, and ADX, as feature vect

Indicator v6 AI / machine learningOscillators & momentum
Updated 1 year ago · MPL-2.0 GitHub repository of Lorentzian Classification

FX Market Sessions

by itmakesyousick
7 stars

This indicator highlights up to three customizable market trading sessions, such as London, New York, and Tokyo, directly on the price chart using colored boxes and labels. Users can adjust time zones, session hours, colors, border styling, and fill transparen

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

Confluence

by trsdn
6 stars

Confluence is an overlay indicator that calculates metrics across three classic tools: Bollinger Bands, the Relative Strength Index (RSI), and the Moving Average Convergence Divergence (MACD). It plots the upper, lower, and basis lines of the Bollinger Bands d

Indicator v5 Volatility & bandsOscillators & momentum
Updated 7 days ago · MIT GitHub repository of Confluence
6 stars

Capital41 ATR Volatility Bands v2 draws ATR-based bands around a customizable basis moving average on the price chart to visualize potential volatility ranges. The basis can be set to EMA or SMA, with adjustable lengths for both basis and ATR. It optionally pl

Indicator v6 Volatility & bands
Updated 2 months ago · MIT GitHub repository of Capital41 ATR Volatility Bands v2

Forever Model

by alboogycOdR
6 stars

The Forever Model indicator draws Fair Value Gap boxes directly on the price chart to highlight potential support and resistance zones. It plots confirmation lines that can extend to the current bar and optionally displays labels. A customizable dashboard appe

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 7 months ago · None stated GitHub repository of Forever Model

This indicator overlays the previous 1-hour candlestick onto lower timeframe charts, such as the 15-minute timeframe. It requests the open, high, low, and close prices of the prior completed 60-minute bar using security calls and renders them directly on the p

Indicator v6 Candlestick patterns
Updated 1 year ago · MIT GitHub repository of H1 Candle as True Shadow on M15

Edge 71

by subos2008
6 stars

Edge 71 plots prior-window extremes on the price chart and marks breakout entries. It takes the highest high over a long lookback and the lowest low over a short lookback, both excluding the current bar. A green arrow appears when the bar high exceeds that pri

Indicator v5 BreakoutSupport & resistance Repaints
Updated 2 years ago · Custom licence GitHub repository of Edge 71

Week candle backward shift

by chaise-cogent
5 stars

This indicator rebuilds one-week candles so their start day is shifted backward by a chosen number of days, from zero through six. On a weekly chart it requests daily open, high, low, and close and assigns them to custom weekly values, with a separate calculat

Indicator v6 Candlestick patternsSessions & time
Updated 7 months ago · MIT GitHub repository of Week candle backward shift

Moment-Based Adaptive Detection calculates higher-order statistical moments, including mean, deviation, skewness, kurtosis, and hyper-kurtosis, on price data to construct adaptive distribution bands on the main chart overlay. It computes a central basis line a

Indicator v6 Volatility & bandsSupport & resistance
Updated 8 months ago · None stated GitHub repository of Moment-Based Adaptive Detection

High - Low

by SiegerTerpstra
5 stars

High - Low measures the price range between the high and low of each bar to analyze market volatility and price expansion or contraction. It plots a histogram representing the per-bar high-low range along with a simple moving average line to highlight smoothed

Indicator v6 Volatility & bands
Updated 9 months ago · None stated GitHub repository of High - Low
4 stars

Elton's Predictions Decision Engine synthesizes thirty selectable strategy algorithms or an auto-detect mode into unified buy, sell, or wait verdicts directly on the price chart. It calculates higher-timeframe trend alignment, confidence scores, and ATR-based

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 days ago · None stated GitHub repository of Elton's Predictions Decision Engine
4 stars

This indicator identifies and plots support and resistance zones based on specific Gann cycle timing timestamps. It checks whether lower or higher timeframe bars correspond to pre-configured cycle times, creating zones defined by the bar high and low. When pri

Indicator v6 Support & resistanceBreakout
Updated 2 days ago · None stated GitHub repository of Gann Cycle Support/Resistance Zones
4 stars

This overlay indicator draws KOLA pivot support and resistance, order blocks, optional change-of-character and break-of-structure marks, SIDO swing chart patterns, and Fibonacci or OTE levels on the price chart. Touch counts use an ATR percentage zone. Spike s

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 weeks ago · MIT GitHub repository of GOM KOLA SIDO — Full Integration
4 stars

Meridian Options Context plots a separate-pane directional context for liquid options underlyings. It normalizes trend from fast and slow EMAs, RTH VWAP and opening-range displacement, RSI and short-return momentum, relative volume participation, persistence,

Indicator v6 Oscillators & momentumMoving averages Repaints
Updated 7 weeks ago · MPL-2.0 GitHub repository of Meridian - Options Context
4 stars

This indicator plots volume-weighted support and resistance zones on the price chart. It finds swing pivots, clusters them by ATR distance, and keeps only zones that receive a minimum number of confirmed touches. Strength presets switch between local, swing, a

Indicator v6 Support & resistanceVolume
Updated 4 months ago · MIT GitHub repository of Support and Resistance Zones [FEELS]

RSI

by YooooungLee
4 stars

The RSI indicator calculates the Relative Strength Index using a chosen length and plots the RSI line in a separate pane. It draws horizontal bands at the upper and lower thresholds along with a background fill between them. Labels appear on the chart when the

Indicator v6 Oscillators & momentum
Updated 10 months ago · Apache-2.0 GitHub repository of RSI
4 stars

This indicator combines the Moving Average Convergence Divergence (MACD) and Stochastic RSI into a single separate pane display. It calculates the standard MACD line, signal line, and histogram alongside Stochastic RSI %K and %D oscillator curves. Extreme over

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of Momentum Suite (MACD + StochRSI)

Interactive ATR Stop Loss

by ShabbirHasan1
4 stars

This indicator plots an interactive ATR-based trailing stop loss on the price chart. Traders click to set the starting point, with the stop loss trailing dynamically based on price action. It triggers on wick or close breaches of the ATR bands and displays fil

Indicator v5 Volatility & bandsSupport & resistance
Updated 1 year ago · Custom licence GitHub repository of Interactive ATR Stop Loss

EmaRainbowCandleMark

by fox-buddy
4 stars

EmaRainbowCandleMark is a price-chart overlay that calculates a stack of exponential moving averages with Fibonacci-style lengths and tests candles for hammers, shooting stars, and bullish or bearish engulfing patterns. Body-to-wick tolerances set how strict t

Indicator v4 Moving averagesCandlestick patterns
Updated 2 years ago · None stated GitHub repository of EmaRainbowCandleMark

Dip Finder

by Kalumur
4 stars

Dip Finder is a multi-indicator oscillator and screening tool designed to identify market bottoms and potential reversal points. It calculates a WaveTrend oscillator with customizable overbought and oversold levels, combined with Awesome and Acceleration Oscil

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of Dip Finder
4 stars

Calculates Fair Value Gaps (FVGs) by comparing price action across three bars and plots their magnitude in a separate pane. Upward and downward gaps are displayed as colored bars, with smaller, insignificant gaps rendered transparent based on settings. In addi

Indicator v5 SMC / ICT / price action
Updated 3 years ago · None stated GitHub repository of FVG Histogram [DojiEmoji]

Doji Marker

by might-tree
4 stars

Doji Marker identifies and highlights Doji candlestick patterns on the price chart based on a user-defined body-to-range ratio. When the absolute distance between the open and close prices is less than or equal to a specified fraction of the total bar range, t

Indicator v5 Candlestick patterns
Updated 3 years ago · None stated GitHub repository of Doji Marker
4 stars

This indicator detects regular and hidden divergences across multiple technical oscillators, including MACD, RSI, Stochastic, CCI, Momentum, OBV, CMF, and MFI. Plotted directly on the price chart, it draws divergence connecting lines and visual labels when a m

Indicator v4 DivergenceOscillators & momentum
Updated 4 years ago · None stated GitHub repository of RSI/Stoch/BB/Divs (Brahim)

Snag - Swing Trade Long Term V3 is an overlay indicator designed to track long-term trends using three Weighted Moving Averages (13, 48, and 200 periods). It plots the WMAs directly on the price chart and evaluates crossovers between price and moving averages,

Indicator v5 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of Snag - Swing Trade Long Term V3

MACD Histogram

by degenview
3 stars

This indicator calculates the standard MACD from the close using fast and slow lengths and a signal length. It plots the MACD line, the signal line, and a column histogram in a separate pane, plus a zero line. Histogram bars use four colors that distinguish ri

Indicator v6 Oscillators & momentum
Updated 2 days ago · GPL-3.0 GitHub repository of MACD Histogram

Boll-Ort Tarama

by gocaman
3 stars

This overlay indicator plots a 200-period simple moving average labeled EMA-1, a narrow Bollinger band set with a 2.0 multiplier, and a wider band set with a 3.0 multiplier, filling the gaps between the two upper and lower lines on the price chart. It recolors

Indicator v5 Volatility & bandsMoving averages
Updated 2 days ago · None stated GitHub repository of Boll-Ort Tarama

ZigZag OrderBlock Retracement

by ricksimpsontrading
3 stars

This indicator plots multi-length ZigZag swing structures, detected order blocks, and retracement levels directly on the price chart. It computes up to four separate ZigZag lengths to track price swings across multiple horizons with color coding for bullish, b

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 10 days ago · None stated GitHub repository of ZigZag OrderBlock Retracement

Trend Strength Index

by AkashSasikumar47
3 stars

This indicator measures market trend strength by comparing net price change to cumulative bar-to-bar volatility over a specified lookback period. It plots two lines in a separate pane: a fast smoothed Trend Strength Index line based on the user-defined smoothi

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of Trend Strength Index

7 in 1

by g-moe
3 stars

The 7 in 1 indicator plots multiple customizable moving averages directly on the price chart to reduce indicator clutter. Traders can toggle each moving average on or off, selecting between Simple Moving Average (SMA) and Exponential Moving Average (EMA) types

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of 7 in 1

Debug Memory Profiler

by monch1962
3 stars

This Pine Script indicator estimates and tracks memory usage for variables, arrays, and series in Pine Script scripts. It calculates total memory usage and breaks it down by type using type-based estimates. The script tracks changes over bars, detects potentia

Indicator v5 Screeners & dashboards
Updated 7 months ago · None stated GitHub repository of Debug Memory Profiler
3 stars

This indicator calculates multi-source analysis signals based on The Trading Parrot methodology, combining SOPR proxy calculations, custom volume-weighted RSI, liquidity support and resistance levels, volume spike detection, and pattern recognition. It outputs

Indicator v6 Oscillators & momentumVolume
Updated 1 year ago · Custom licence GitHub repository of Trading Parrot Multi-Source Analysis

MOTO ka NagAstra

by HelloMoto069
3 stars

NagAstra draws a Gaussian-kernel smoothed estimate of the selected source on the price chart. With repainting smoothing enabled, it rebuilds line segments on the latest bar and marks slope reversals with triangle labels. Disabling that option plots only the en

Indicator v5 Trend Repaints
Updated 1 year ago · None stated GitHub repository of MOTO ka NagAstra

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