Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 32)

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

Ultimate RSI

by ranguchamy
1 stars

Calculates a modified RSI in a separate pane with a selectable smoothing method such as RMA or EMA, an adjustable length and source, and a smoothed signal line. Overbought and oversold levels default to 80 and 20, with colour fills for each zone. Settings chan

Indicator v5 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of Ultimate RSI
1 stars

Calculates standard Bollinger Bands alongside the Relative Strength Index (RSI) directly on the main price chart. It plots the upper band, lower band, and simple moving average midline. An upward green arrow signals potential long setups when price crosses bac

Indicator v5 Volatility & bandsOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Bollinger Bands & RSI with Arrow

Gravity Points

by yankeexlr
1 stars

An overlay that tracks a multi-step sequence of conditions using RSI and simple moving averages. It flags bearish candles that close while RSI is below 20, remembers the low of the latest such candle, notes when price crosses above the 50-period average, and t

Indicator v5 Mean reversionOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Gravity Points
1 stars

This indicator redraws price as relative candles, coloured by whether highs and lows are rising or falling versus the prior bar. It also works as a risk planner: for a chosen earlier bar it sets an entry and stop loss, with an optional custom entry, custom sto

Indicator v5 Screeners & dashboardsSupport & resistance
Updated 2 years ago · None stated GitHub repository of Relative Candles + Risk Manager

This script defines a custom alert setup for trade signals across multiple symbols. It supports conditions such as RSI overbought signals, custom crossover rules, center line crosses at 50, SAR alerts, and daily checks. The script uses the alert function combi

Indicator v4 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of Ami_Trade_alert() with multiple symbols

Ari zScore

by alessioricco
1 stars

Ari zScore calculates a z-score as the difference between a fast and a slow simple moving average of close, divided by the standard deviation of close. It plots numbered triangles above and below price bars when that value enters fixed magnitude bands, optiona

Indicator v4 Oscillators & momentumMoving averages
Updated 2 years ago · Apache-2.0 GitHub repository of Ari zScore

A smart money concepts overlay that marks swing pivots, break of structure and change of character events, liquidity sweeps and liquidation wicks on the price chart, and adds a zigzag line driven by a price deviation percentage and pivot leg count. Pivot lengt

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of SMC Market Structure with Zigzag
1 stars

This indicator draws several kernel regression lines on the price chart, using a kernel function library. Each of five lines has its own filter mode (No Filter, Smooth or Zero Lag), kernel type (Rational Quadratic, Gaussian, Periodic or Locally Periodic), look

Indicator v5 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Kernel Regression Toolkit
1 stars

A price-chart overlay that builds supply, equilibrium and demand zones from the bars currently visible on the chart. It splits the visible price range into a configurable number of volume bins, using lower-timeframe intrabar data for volume, and draws boxes pl

Indicator v5 Support & resistanceVolume Repaints
Updated 2 years ago · None stated GitHub repository of Supply and Demand Visible Range

The Woverine - Buy Sell Indicators plots buy and sell labels on the price chart based on selected calculation sources like close, EMA, or SMA, combined with ADX for long or short strategies. Users can customize the strategy type, signal colors, label sizes, po

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Woverine - Buy Sell Indicators

200 EMA

by mayurpatil77
1 stars

This indicator plots a 200-period exponential moving average on the price chart. It colors the line green when the current EMA is above its value on the previous bar and red when it is not, so the color tracks whether the average is rising or falling. There ar

Indicator v4 TrendMoving averages
Updated 3 years ago · None stated GitHub repository of 200 EMA
1 stars

This indicator automatically identifies and plots horizontal support and resistance levels directly on the price chart using pivot detection logic. Users can base pivots on either price action lookback or RSI oscillator lookback when RSI mode is enabled. The s

Indicator v4 Support & resistanceOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of Auto Support + Resistance Levels

Volatility Oscillator

by jubayernil
1 stars

This indicator measures intrabar volatility by plotting price spikes (close minus open) alongside standard deviation upper and lower bands in a separate pane. It identifies regular and hidden bullish or bearish divergences by comparing pivot points of the osci

Indicator v4 Volatility & bandsOscillators & momentum Repaints
Updated 3 years ago · None stated GitHub repository of Volatility Oscillator

High Low Numbers

by mmm25002500
1 stars

An overlay indicator written in Pine v4 that finds swing highs and lows using a configurable number of bars on each side. When a new swing is confirmed it draws an orange line linking the latest low and high, and adds a small label showing the price of the swi

Indicator v4 Support & resistance
Updated 3 years ago · None stated GitHub repository of High Low Numbers

HWAP

by nvFede
1 stars

A Pine v4 indicator in a separate pane that measures how far the close sits from a 50-bar Hull moving average, scaled by the rolling standard deviation of that distance, which makes it a z-score style oscillator. Dotted lines mark plus and minus one, and zones

Indicator v4 Mean reversionMoving averages
Updated 3 years ago · None stated GitHub repository of HWAP

Gap Finder

by lesari08
1 stars

Gap Finder identifies and displays bullish and bearish liquidity gaps directly on the main price chart. The indicator calculates gap boundaries, equilibrium levels, and fill lines using either the current chart resolution or a specified higher timeframe. Users

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of Gap Finder

Aroon [RSI-Adjusted]

by JohnsonHsiao
1 stars

This indicator calculates the difference between traditional Aroon lines derived from price action and RSI-adjusted Aroon lines calculated from the Relative Strength Index. It measures both upper spread and lower spread values across a user-defined rolling per

Indicator v5 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of Aroon [RSI-Adjusted]
1 stars

A stock-oriented overlay that weighs the current price against fundamental data. The settings let the user pick factor groups such as earnings price, per-share book value, earnings, revenue and free cash flow, EBIT and EBITDA, profit margins, returns on assets

Indicator v5 Screeners & dashboards
Updated 4 years ago · None stated GitHub repository of Discounted Price Probability

Real-Time Volume Analyzer Template

by LysergikProductions
1 stars

A real-time volume indicator template that tracks intrabar tick execution to classify volume into bullish and bearish tallies. Utilizing intrabar variables, it calculates volume changes on live price updates and tracks buyer versus seller volume percentages pe

Indicator v4 VolumeScreeners & dashboards Repaints
Updated 4 years ago · AGPL-3.0 GitHub repository of Real-Time Volume Analyzer Template

EMA 50 100 150 200

by juliencrn
1 stars

This overlay indicator plots exponential moving averages of the close at 12, 26, 50, 100, 150 and 200 periods in different colors on the price chart. The 12 and 26 lines are the fast and slow averages used in MACD and are labeled that way in the plot names. Th

Indicator v5 TrendMoving averages Archived
Updated 4 years ago · None stated GitHub repository of EMA 50 100 150 200

Tobacco

by 0xfffangel
1 stars

An overlay that builds a Kaufman adaptive moving average of price as a center line and surrounds it with three bands above and below, scaled from an adaptive average of true range. The band length and the three deviation multipliers are adjustable, and the zon

Indicator v5 Volatility & bandsMean reversion
Updated 4 years ago · None stated GitHub repository of Tobacco

Barbwire v2.0.0

by itmakesyousick
1 stars

Finds barbwire zones, runs of bars with small bodies or ranges, and draws boxes around them on the price chart. The bar size source can be Heikin-Ashi open to close, high to low, a hybrid or open to close. Detection can use rank, stochastic or rate of change m

Indicator v5 Candlestick patternsVolatility & bands
Updated 4 years ago · None stated GitHub repository of Barbwire v2.0.0

1DTE

by tyler314
1 stars

1DTE is an overlay indicator designed for 1-day-to-expiration option trading analysis. It evaluates market conditions using Average True Range (ATR), consecutive green or red daily streaks, and CBOE Volatility Index (VIX) levels. Users can filter evaluation wi

Indicator v5 Volatility & bandsSessions & time
Updated 4 years ago · None stated GitHub repository of 1DTE

StackOverFlow MFI and DMI

by namdar-nejad
1 stars

This Pine v4 indicator shows a Money Flow Index line and the directional movement indicators DI plus and DI minus in a separate pane, each with a label on the last bar. A green square at the top marks bars where DI plus is above DI minus and MFI is above 50, a

Indicator v4 Oscillators & momentumVolume
Updated 4 years ago · None stated GitHub repository of StackOverFlow MFI and DMI
1 stars

A separate-pane indicator that plots a slow MACD, 21 and 200 periods by default, against a long simple-average signal line, colored green or red by which is higher. A second MACD can be shown, with its lengths multiplied by a factor chosen for the chart timefr

Indicator v4 Oscillators & momentumTrend
Updated 4 years ago · None stated GitHub repository of Armonia de los MACD (v2)

This indicator plots a Donchian channel with a long default period of 1440 bars, its midline and a 250-period simple moving average on the price chart. When a high reaches the upper band, or a low reaches the lower band, on volume above a multiple of its movin

Indicator v4 BreakoutMean reversion
Updated 4 years ago · MIT GitHub repository of Greeffer's Donchian Channel Study

ATR Volatility Power

by hayashi19
1 stars

This indicator shows how far the 14-period ATR sits above its lowest value over the last 200 bars, smoothed with a 9-period average. It draws this value as columns in a separate pane, coloured lime when it rises and red when it falls. A second series, the lowe

Indicator v5 Volatility & bands
Updated 4 years ago · None stated GitHub repository of ATR Volatility Power

MJ Bull Support 1

by mehdijangjou
1 stars

This indicator plots the 20-period EMA in green and the 20-period SMA in red directly on the price chart. It fills the space between the two moving averages using a color that changes based on which line sits above the other. The script targets crypto assets a

Indicator v5 Moving averagesTrend Archived
Updated 4 years ago · MPL-2.0 GitHub repository of MJ Bull Support 1

Slimdicator

by tseitz
1 stars

Slimdicator is a TradingView indicator for cryptocurrency markets that plots multiple moving averages on the price chart including a fast EMA, a medium SMA, and a slow SMA. It calculates MACD and RSI values to generate buy and sell signals. The indicator alert

Indicator v5 Oscillators & momentumMoving averages
Updated 4 years ago · None stated GitHub repository of Slimdicator

EMA Crossover

by rocketbrainsurgeon
1 stars

This indicator plots a fast and a slow exponential moving average of the bar midpoint on the price chart. The slow length is the fast length multiplied by a selectable ratio from three to ten, which keeps the two lines well apart. A triangle marks each upward

Indicator v4 Moving averagesTrend
Updated 5 years ago · GPL-3.0 GitHub repository of EMA Crossover
1 stars

Mansfield Relative Strength indicator computes relative strength by dividing the current close price by a daily index value selected from Nasdaq Composite, NYSE Composite, ARCA Composite, or Coinbase BTCUSD based on the symbol prefix. It calculates the percent

Indicator v4 Oscillators & momentum
Updated 5 years ago · AGPL-3.0 GitHub repository of Mansfield Relative Strength

ETCBTC

by taco-c
1 stars

ETCBTC is an overlay indicator that fetches and displays the 60-minute closing price of the Bitstamp ETH/BTC pair directly on the current price chart. It renders the cross-pair price line using the left price scale to avoid distorting the primary asset's scale

Indicator v4
Updated 5 years ago · MPL-2.0 GitHub repository of ETCBTC

Stochastic by TH

by T0pp3rH4rl3y
1 stars

A slow stochastic oscillator in a separate pane with adjustable K, D and smoothing periods. It plots the smoothed percent K and its percent D average, with lines at 80, 20 and an added middle line at 50, and shades the area between 80 and 20. It has no signals

Indicator v4 Oscillators & momentum
Updated 5 years ago · GPL-3.0 GitHub repository of Stochastic by TH

RSI Divergence

by digasic
1 stars

A separate-pane indicator that calculates an RSI with adjustable source, length, overbought and oversold levels, then looks for bullish and bearish divergence between price and RSI. It tracks the highest and lowest price and RSI values inside a lookback window

Indicator v4 Oscillators & momentumDivergence
Updated 6 years ago · None stated GitHub repository of RSI Divergence

This indicator plots logarithmic growth curves directly on the price chart to model macro valuation channels for Bitcoin. It calculates upper and lower bounds using elapsed time from a fixed historical baseline, scaling mathematical curves and intermediate Fib

Indicator v4 Support & resistanceTrend
Updated 6 years ago · GPL-3.0 GitHub repository of Bitcoin Logarithmic Growth Curves
947 stars

The Fibonacci Weighted Moving Average calculates a trend-following line on the price chart using Fibonacci sequence numbers as weights. Newer data points receive larger Fibonacci weights to increase responsiveness compared to standard simple moving averages. I

Indicator v6 Moving averagesTrend
Updated 12 days ago · GPL-3.0 GitHub repository of Fibonacci Weighted Moving Average
575 stars

This indicator scans a pasted list of symbols for ICT fair value gaps and lists long and short matches in an on-chart table. It draws gap boxes on the price chart and can close them partially when price fills part of the gap. The user chooses among six scannin

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Fair Value Gap (FVG) Scanner
318 stars

This indicator plots fast and slow moving averages using either EMA or SMA directly on the main chart to identify trend direction and crossovers. It calculates an ATR-based trailing stop line derived from the highest high minus a multiplied ATR value over a co

Indicator v6 TrendMoving averages
Updated 2 months ago · MIT GitHub repository of TVT MA Crossover with Stop Loss

3402 Tracker

by Allen1212
303 stars

3402 Tracker plots historical transaction markers on the price chart to visualize buy and sell trades executed by ARK Invest for stock 3402. The indicator places colored labels on bar timestamps corresponding to dates when ARK funds opened, adjusted, or closed

Indicator v4
Updated 2 years ago · None stated GitHub repository of 3402 Tracker

Candlestick Kicker Pattern

by harryguiacorn
220 stars

This indicator plots green circles below bars and red circles above bars on the price chart to signal Candlestick Kicker patterns. It identifies upward kickers when the prior bar is bearish with body percentage above the left threshold, the current bar is bull

Indicator v5 Candlestick patternsBreakout
Updated 1 year ago · None stated GitHub repository of Candlestick Kicker Pattern

Deduct 扣抵

by TaichiS
219 stars

Deduct 扣抵 is an educational overlay indicator that visualizes the moving average deduction point on price charts. It places a text label below the candle located a user-specified number of bars back from the current bar, defaulting to 20 periods. As each new b

Indicator v4 Moving averages
Updated 5 years ago · None stated GitHub repository of Deduct 扣抵

Higher TF Closes

by agutinbaigo28
147 stars

This indicator fetches and overlays the 4-hour high and low price bounds for TRXUSDT onto the price chart. It draws prominent red and green lines representing the 4-hour high and low levels respectively, providing reference points for price action across lower

Indicator v5 Support & resistance Repaints
Updated 6 weeks ago · MIT GitHub repository of Higher TF Closes

JMA Clone

by capissimo
114 stars

This indicator implements an approximation of the Jurik Moving Average algorithm, featuring an adjustable power parameter. It overlays a smoothed curve and a one-bar lagged reference curve directly on the price chart. When the slope turns upward, a green circl

Indicator v5 Moving averagesTrend Repaints
Updated 1 year ago · None stated GitHub repository of JMA Clone
99 stars

This indicator plots Price Headley's Acceleration Bands on the price chart. It builds a middle line as a simple moving average of close, plus upper and lower bands from simple moving averages of highs and lows widened by a factor times the bar's high-low range

Indicator v6 Volatility & bandsMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Acceleration Bands (ACCBANDS)
92 stars

This overlay indicator draws horizontal liquidation lines for HYPE from a baked-in snapshot of Hyperliquid long and short positions. It plots the ten closest long liquidation prices in red and amber and the ten closest short prices in green and cyan, with the

Indicator v6 Support & resistance
Updated 2 months ago · Custom licence GitHub repository of Moon Dev Liq Lines — HYPE

Machine Learning: Lorentzian Classification

by artificial-intelligence-edge
75 stars

This indicator classifies the current bar by comparing its feature vector with historical bars using Lorentzian distance and a k-nearest-neighbors vote. Configurable features include RSI, WaveTrend, CCI, and ADX. Optional volatility, regime, ADX, and EMA filte

Indicator v5 AI / machine learningOscillators & momentum
Updated 4 days ago · MIT GitHub repository of Machine Learning: Lorentzian Classification

Key Levels

by cryptorife
75 stars

This indicator plots reference levels and session markers directly on the price chart. It calculates and draws lines for the daily open, weekly open, monthly open, previous day OHLC, and previous week extremes, along with a selectable day-of-week range and ini

Indicator v4 Support & resistanceSessions & time Repaints
Updated 3 years ago · GPL-3.0 GitHub repository of Key Levels

All alert() calls

by be-thomas
65 stars

This indicator calculates a 20-period RSI of the close and plots it in a separate pane with a horizontal line at 50. It marks an RSI cross above 50 with a small up triangle and a cross below 50 with a small down triangle. On those same crosses it calls alert w

Indicator v5 Oscillators & momentum
Updated 6 days ago · GPL-3.0 GitHub repository of All alert() calls

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