Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 64)

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

4 stars

This indicator plots overbought and oversold markers on the price chart. It calculates RSI from a chosen source and a smoothed Stochastic %K. A red down triangle labeled OB appears above a bar when both oscillators are at or above their overbought levels. A gr

Indicator v4 Oscillators & momentum
Updated 4 years ago · None stated GitHub repository of RSI and Stoch (Brahim)
4 stars

Snagprofit Buy Sell is an overlay trend-following indicator that calculates smoothed triple exponential moving averages (TMA) based on Heikin-Ashi and standard price inputs. It plots two trend lines directly on the chart and fills the space between them in gre

Indicator v5 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of Snagprofit Buy Sell

Volume Spike Alert

by degenview
3 stars

This indicator highlights unusually high trading volume relative to a moving average baseline. It calculates a volume threshold by multiplying a simple moving average of previous volume bars by a user-defined factor. Volume is plotted as a column chart in a se

Indicator v6 Volume
Updated 3 days ago · GPL-3.0 GitHub repository of Volume Spike Alert

DIP FINDER BIST

by gocaman
3 stars

DIP FINDER BIST is a multi-symbol dashboard indicator designed for the BIST stock market. It scans predefined groups of Turkish stocks across user-selected timeframes to identify potential market bottoms and oversold conditions. The script evaluates multiple t

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 3 days ago · None stated GitHub repository of DIP FINDER BIST

Alert Test

by g-moe
3 stars

Alert Test is a utility indicator designed to demonstrate and test TradingView alert functionality in Pine Script v5. It monitors the closing price of the current bar against a hardcoded threshold level of 3000. When the closing price exceeds this value, it tr

Indicator v5
Updated 5 months ago · None stated GitHub repository of Alert Test
3 stars

This Pine Script v5 indicator overlays RSI, MACD line, signal line, and histogram on the price chart. It also plots a custom composite indicator derived from normalized RSI and MACD values. Buy and sell signals trigger when RSI crosses oversold/overbought leve

Indicator v5 Oscillators & momentumVolume
Updated 7 months ago · None stated GitHub repository of Interactive Debugging Demo

Stella's MACD + RSI Combo

by stella-entry
3 stars

Stella's MACD + RSI Combo plots both the Moving Average Convergence Divergence oscillator and the Relative Strength Index in a separate chart pane. It evaluates momentum by comparing the MACD line against its signal line alongside RSI overbought and oversold t

Indicator v5 Oscillators & momentumMoving averages
Updated 8 months ago · MIT GitHub repository of Stella's MACD + RSI Combo
3 stars

This indicator combines a Delta Money Flow Profile with Bjorgum price levels directly on the main price chart. It calculates buying and selling volume delta using either candle polarity or buying/selling pressure to display money flow profiles, normalized dist

Indicator v5 Support & resistanceVolume
Updated 1 year ago · None stated GitHub repository of DeltaProfile TimePrice Bjorgum Levels
3 stars

This indicator detects bearish M and bullish W chart formations on the price chart based on Steve Mauro's Beat The Market Maker (BTMM) methodology. It emphasizes second-leg entries confirmed by a clean close across the 13 EMA, volume filters, and minimum ATR p

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BTMM M&W Pattern Detection

This indicator measures a 20-bar rolling correlation between lagged changes in several price factors and the close change over the previous 10 bars. It is configured to draw in a separate pane. The factors include the gap between a 13-period EMA and a 30-perio

Indicator v5 Moving averagesVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of Factor Indicator: Correlation with Price Change

Currency Strength Chart

by itmakesyousick
3 stars

Currency Strength Chart plots the relative strength of major currencies including EUR, USD, JPY, GBP, CHF, AUD and CAD on a separate pane. It calculates values from price or oscillator sources such as RSI, CCI or Stochastics then smooths the result. Users choo

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

The GMMA indicator plots two groups of exponential moving averages on the price chart. The short-term group uses EMAs with periods 3, 5, 8, 10, 12 and 15. The long-term group uses EMAs with periods 30, 35, 40, 45, 50 and 60. The two groups are colored blue and

Indicator v6 Moving averagesTrend
Updated 13 days ago · MIT GitHub repository of GMMA = Guppy Multiple Moving Average

Oscillator

by TamTH-Dev
2 stars

Oscillator combines WaveTrend calculations, Money Flow Oscillator (MFO), VWAP metrics, and fractal-based divergence detection into a single separate pane indicator. It plots overbought and oversold threshold levels, identifies trend momentum waves, and highlig

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

This indicator maps the Asia, London, and New York sessions on the price chart. It draws each developing session range as a translucent box and places dashed liquidity rails at prior session highs and lows. Those rails remain until price sweeps them, then they

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 2 months ago · Custom licence GitHub repository of Session Liquidity Map [Vantrade]
2 stars

This indicator tracks multi-timeframe market structure across up to four user-defined timeframes in a separate pane. It identifies structural changes through Break of Structure (BoS) and Change of Character (CHoCH) events derived from pivot highs and lows. Use

Indicator v6 SMC / ICT / price actionTrend
Updated 2 months ago · None stated GitHub repository of Market Structure MTF Trend [Pt]

Launch Pad Setup

by major
2 stars

This indicator identifies consolidation by checking if the closing price stays within a user-defined percentage of three moving averages: a 21-period SMA, a 50-period SMA, and a 65-period EMA. When the condition holds, it plots a green X marker below the candl

Indicator v6 Moving averagesBreakout Repaints
Updated 3 months ago · Apache-2.0 GitHub repository of Launch Pad Setup

This indicator calculates predictive volatility boundaries and support/resistance range channels for grid trading configurations. It determines grid envelopes using an ATR-based step algorithm across a configurable length and multiplier factor, with customizab

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 8 months ago · MIT GitHub repository of Grid Bot Predictive Ranges [psyll]

This indicator plots a multi-asset correlation heatmap in a separate pane to measure statistical relationships between assets. It calculates Pearson correlation coefficients over a user-specified lookback period between a chosen primary symbol and up to twenty

Indicator v6 Screeners & dashboardsSessions & time
Updated 8 months ago · None stated GitHub repository of Correlation HeatMap Sessions Data Science Stats
2 stars

This indicator tracks market volatility regimes by calculating the ratio between the CBOE Volatility Index (VIX) and the 3-Month Volatility Index (VIX3M). Plotted in a separate pane, a line displays the VIX to VIX3M ratio alongside a dashed reference line at 1

Indicator v5 Volatility & bands
Updated 10 months ago · MIT GitHub repository of VIX Curve Regime (Simple)
2 stars

This indicator tracks and displays open portfolio positions in an on-chart table overlay. It monitors up to ten user-defined symbols alongside their respective buy prices, retrieving current market prices and calculating the unrealized percentage change for ea

Indicator v6 Screeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of Portfolio Tracker

MA Based Trend BarColor

by ryangaraygay
2 stars

MA Based Trend BarColor plots three configurable moving averages directly on the price chart. Users can customize the calculation type (SMA, EMA, or VWMA), source price, and lookback length for fast, medium, and slow periods. The script evaluates the stacked a

Indicator v5 TrendMoving averages
Updated 1 year ago · MIT GitHub repository of MA Based Trend BarColor

Day Trading Range

by Web3Degenerate
2 stars

This indicator plots daily trading range lines on the price chart using higher timeframe data. It detects new trading days and draws the open price line in white, upper and lower ATR bands in aqua based on the ATR length and multiplier, yesterday's high in red

Indicator v5 Volatility & bandsSupport & resistance
Updated 2 years ago · None stated GitHub repository of Day Trading Range

HTF Candles & Pivots

by itmakesyousick
2 stars

This indicator overlays high time frame candles and pivot points on the current price chart. It plots candles from selected higher timeframes using open-close, high-low or both display styles with optional wicks and bar colors. Pivot points follow traditional

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

This indicator calculates pivot highs and lows using a defined period to draw ZigZag lines directly on the price chart. It projects customizable Fibonacci retracement levels and ratio labels across identified pivot swings. It also displays real-time retracemen

Indicator v5 Support & resistance Repaints
Updated 3 years ago · None stated GitHub repository of ZigZag with Retracement Levels

Trading Rush Choppy Market

by theupslidedown
2 stars

Trading Rush Choppy Market identifies trending versus choppy market conditions based on consecutive bar close price movements. It evaluates sequences of higher or lower closes over the previous six bars to assign trend strength levels. When conditions indicate

Indicator v5 TrendVolatility & bands
Updated 3 years ago · None stated GitHub repository of Trading Rush Choppy Market
2 stars

This indicator detects trend changes and divergences using a Zigzag tool combined with an oscillator such as RSI or external sources. It plots zigzag lines on the price chart to mark potential trend reversals and identifies regular and hidden divergences. The

Indicator v5 TrendOscillators & momentum
Updated 4 years ago · MIT GitHub repository of Zigzag Trend/Divergence Detector

SMC+OB+FVG_PH

by mydcc
1 stars

This indicator plots smart money concept structures directly on the price chart. It detects and visualizes market structure elements including change of character, break of structure, swing points, inducements, and liquidity sweeps. Additionally, it identifies

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · Custom licence GitHub repository of SMC+OB+FVG_PH

OI Profile

by rellis3
1 stars

Shows an options book as a picture on the price chart, from an export pasted into a settings box. It draws reaction levels and optional zones, an expected-move box, and a set of profile columns in the empty space right of the last bar: dealer gamma by strike,

Indicator v6 Support & resistanceVolatility & bands
Updated 3 days ago · None stated GitHub repository of OI Profile

Trend Signal (Honest)

by nvolpe2007-cell
1 stars

A simple trend indicator that compares the close with a long moving average, 100 bars by default, and a hysteresis band of two percent to reduce whipsaws. A buy appears when price closes above the band and a sell to cash when it closes below. The moving averag

Indicator v6 TrendMoving averages
Updated 3 days ago · None stated GitHub repository of Trend Signal (Honest)

Date Highlighter

by ankurksoni
1 stars

A price-chart overlay that tints the chart background on up to five calendar dates chosen in the settings. Each slot has its own show toggle, year, month, day and colour, with a light yellow default. The dates are compared with the calendar date of each bar in

Indicator v6 Sessions & time
Updated 4 days ago · None stated GitHub repository of Date Highlighter

SMC Context Bus

by skipp-dev
1 stars

This indicator builds a smart-money context frame in a separate pane by calling a private context engine. It exposes hidden numeric plots for schema version, readiness, bias, quality, market structure including break of structure and change of character, imbal

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 days ago · None stated GitHub repository of SMC Context Bus

I_strings_ops

by GammaExpansion
1 stars

This Pine Script v6 indicator plots results from string functions including length, position, substring, replace, trim, split, upper, match, and contains. It also demonstrates type conversions with int, float, and tonumber, plus operator precedence examples su

Indicator v6
Updated 8 days ago · MIT GitHub repository of I_strings_ops
1 stars

The script calculates a weighted average of Heikin Ashi score values across four multi-timeframe periods derived from the signal timeframe. It also counts bullish and bearish signals from each timeframe and checks whether the required number of confirming sign

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of DEPV2 A7 · MTF GÜÇ + TF ONAYI

Calculates retracement grid levels on the price chart using confirmed swing pivot highs and lows based on a user-defined pivot lookback. It allows traders to compare traditional Fibonacci levels against alternative ratio sets, such as thirds or an arbitrary 0.

Indicator v6 Support & resistance
Updated 2 weeks ago · MPL-2.0 GitHub repository of Taught to Trade - Swing Ratio Grid

CROSV

by kasutu
1 stars

A multi-layer chart overlay built around three EMAs of 20, 50 and 200 bars, with line colours that change by their relative order and a wide coloured zone around the 50 EMA. It adds automatic trend lines drawn from pivot points, with adjustable pivot period an

Indicator v5 Moving averagesTrend
Updated 2 weeks ago · None stated GitHub repository of CROSV

XAU Scalp v2

by mrme000m
1 stars

XAU Scalp v2 is an indicator that calculates a composite trading score using multiple components for XAUUSD gold. It stacks four EMAs to determine trend direction and strength, overlays SuperTrend signals derived from ATR(10), adds RSI(14) momentum, detects Bo

Indicator v5 ScalpingMoving averages
Updated 7 weeks ago · None stated GitHub repository of XAU Scalp v2
1 stars

An overlay indicator that tracks unswept pivot highs and lows as liquidity levels and detects sweeps, where a wick pierces a level and the bar closes back inside. Each sweep gets a 0 to 100 score from wick size, relative volume, close position and proximity to

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of LHS v2 Liquidity Sweep Score

First Line

by Alaamo7
1 stars

First Line is an introductory Pine Script v6 indicator that draws a constant horizontal value of 50 in a separate pane. It does not calculate price, volume, or oscillator data and does not generate buy or sell signals, entries, exits, or alerts. There are no i

Indicator v6
Updated 2 months ago · Custom licence GitHub repository of First Line

Kinetic Trend Envelope

by vedkanani123
1 stars

An adaptive trailing-stop indicator on the price chart from the GoemonYae trading system community edition. It estimates price with a selectable filter, measures volatility with a choice of estimators such as Yang-Zhang, and builds an envelope that trails pric

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Kinetic Trend Envelope

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