Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 77)

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,239
No repaint flag6,673

Indicators: All

Signal Engine ANTIGRAVITY

by eltonaguiar
4 stars

This indicator generates buy and sell signals on the price chart by combining RSI, MACD, Bollinger Bands, EMA crossovers, Stochastic, ADX, VWAP, volume confirmation and momentum oscillators. A non-repainting mode option is available along with ATR-based TP and

Indicator v6 Oscillators & momentumMoving averages
Updated 3 days ago · None stated GitHub repository of Signal Engine ANTIGRAVITY
4 stars

Relative Structure Strength Index is an oscillator indicator that plots in a separate pane. It calculates the Relative Strength Index (RSI) using bar structure power derived from an external library, then smooths the resulting values with a customizable moving

Indicator v6 Oscillators & momentumMoving averages
Updated 3 days ago · None stated GitHub repository of Relative Structure Strength Index

EMA Cross [trugurpala]

by trugurpala
4 stars

This indicator calculates fast and slow exponential moving averages (EMAs) and plots them directly on the price chart. It detects bullish crossovers and bearish crossunders, marking them with colored triangles above or below price bars. The background dynamica

Indicator v6 Moving averagesTrend Repaints
Updated 2 months ago · MIT GitHub repository of EMA Cross [trugurpala]

My Indicator Name [Lab]

by mitchell-917
4 stars

This indicator is a starter template that plots a simple moving average of a user-selected source over a chosen length. It draws the average as a single line on the price chart. The length input sets the lookback, and the source input selects which price serie

Indicator v5 Moving averages
Updated 11 months ago · Custom licence GitHub repository of My Indicator Name [Lab]
4 stars

This indicator plots an anchored volume-weighted average price on the price chart. It resets the VWAP at a chosen anchor such as the session, week, month, quarter, year, or corporate events including earnings, dividends, and splits. Optional bands sit above an

Indicator v5 VolumeVolatility & bands
Updated 1 year ago · None stated GitHub repository of Volume Weighted Average Price

SOKE OVASI

by Kalumur
4 stars

SOKE OVASI is an overlay indicator that combines an Arnaud Legoux Moving Average (ALMA), a Kaufman Adaptive Moving Average (KAMA), and a suite of multiple exponential moving averages (EMAs). It calculates moving averages across higher timeframes, defaulting to

Indicator v5 Moving averagesTrend Repaints
Updated 2 years ago · None stated GitHub repository of SOKE OVASI
4 stars

This indicator plots dynamic fractal-based trend lines directly on the price chart. It calculates local highs and lows using a configurable fractal period, derives angle slopes between swing points, and draws projected ray lines across recent segments. The scr

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Snagprofit Trend Line

KARPUZLU-RSI KRIPTO

by gocaman
3 stars

Calculates a Relative Strength Index (RSI) with an exponential moving average (RSI-EMA) in a separate pane. It plots fixed overbought and oversold reference bands and fills the area between the RSI and its EMA based on directional momentum. The script detects

Indicator v5 Oscillators & momentumDivergence
Updated 3 days ago · None stated GitHub repository of KARPUZLU-RSI KRIPTO

jash GGMA Granville

by jash-git
3 stars

This indicator overlays five Fibonacci Exponential Moving Averages (EMA 3, 13, 34, 55, and 144) on the price chart, combining Guppy Multiple Moving Average concepts with Granville's rules. Fast EMAs track short-term momentum, slow EMAs reflect medium-term tren

Indicator v5 Moving averagesTrend
Updated 5 weeks ago · None stated GitHub repository of jash GGMA Granville
3 stars

This indicator calculates a Wilder-style RSI from price changes and can smooth it with a simple moving average. It also flags simple bullish and bearish divergence by comparing RSI and price extremes over a lookback window, and it wraps those functions with op

Indicator v5 Oscillators & momentumDivergence
Updated 7 months ago · None stated GitHub repository of RSI Library with Debugging
3 stars

This overlay indicator draws bullish and bearish order blocks on the price chart. It can show internal, external, or all blocks, plus a second set from a chosen timeframe that defaults to four hours. Mitigation can use wicks, touch, close, or average, and over

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of IDM/MTFOB/MTFFVG MOD@blueprintsud

BTMM Pattern Detection

by jcortes254
3 stars

This overlay indicator marks bearish M patterns and bullish W patterns on the price chart, with optional structure lines and labels. It also detects evening and morning stars, railroad tracks, and cordofwoods, and can draw order blocks, fair value gaps, and br

Indicator v5 Candlestick patternsSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of BTMM Pattern Detection

This indicator identifies Shooting Star and Inverted Hammer candlestick patterns overlayed directly on the price chart. It evaluates candle body weakness, upper shadow length, and lower shadow proportions in combination with a trend lookback calculation. A Sho

Indicator v5 Candlestick patternsTrend
Updated 2 years ago · None stated GitHub repository of Shooting Star and Inverted Hammer Pattern
3 stars

This indicator plots three normalized rate-of-change lines of a volume-weighted price deviation in a separate pane. It measures the close against the typical price, multiplies that difference by volume, and smooths the result with a simple moving average of le

Indicator v5 Oscillators & momentumMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of Mid Term Alpha Indicator

Currency Strength Chart

by itmakesyousick
3 stars

This indicator calculates and visualizes the relative strength of major forex currencies in a separate pane. It evaluates cross pairs from selected brokers using price action or oscillators like RSI, CCI, and Stochastics, smoothed by various moving average typ

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart

This indicator calculates the Moving Average Convergence Divergence (MACD) line, signal line, and histogram in a separate pane. It allows users to select from five moving average types (SMA, EMA, WMA, VWMA, or RMA) for the fast, slow, and signal calculations.

Indicator v6 Oscillators & momentumMoving averages
Updated 13 days ago · MIT GitHub repository of MACD = Moving Average Convergence Divergence

RSI

by TamTH-Dev
2 stars

This indicator calculates a Percentage Price Oscillator using fast and slow exponential moving averages to evaluate price momentum in a separate pane. It identifies dynamic pivot highs and lows along the oscillator line and constructs a zigzag array to determi

Indicator v6 Oscillators & momentumMoving averages
Updated 6 weeks ago · None stated GitHub repository of RSI

This indicator identifies ICT trading setups by detecting Order Blocks, Fair Value Gaps, and Change in State of Delivery levels directly on the price chart. It highlights supply and demand zones alongside specific time windows such as the New York AM and PM se

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of One Trading Setup ICT [TradingFinder] Sweep Session FVG
2 stars

This indicator plots volume as a percentage of a simple or exponential moving average of volume. It shows a column only when volume is above that average and at or above a minimum percentage; other bars stay hidden. Users set the average length and type, the d

Indicator v6 Volume
Updated 3 months ago · Apache-2.0 GitHub repository of Volume Percent of MA

Lakshmi Zones v4

by voletiramu
2 stars

Lakshmi Zones v4 is an overlay indicator that calculates volume profile high volume nodes and fair value gaps on 4H data to plot demand and supply zones on the price chart. It draws a Magic Line based on ATR(14) multiplied by the golden ratio and anchored to t

Indicator v6 VolumeSupport & resistance
Updated 6 months ago · None stated GitHub repository of Lakshmi Zones v4
2 stars

This indicator plots drawdown distribution statistics in a separate pane. It measures price drawdowns over a chosen lookback, smooths them, and overlays percentile bands and standard deviation bands. Optional calculations add Sharpe, Sortino and Calmar style r

Indicator v6 Volatility & bandsScreeners & dashboards
Updated 8 months ago · None stated GitHub repository of Drawdown Distribution Analysis (DDA)

Bollinger Band Width (BBW)

by mushroom-men-Trading
2 stars

The Bollinger Band Width indicator calculates the width between the upper and lower Bollinger Bands based on a chosen source series, lookback period, and standard deviation multiplier. It plots this BBW value in a separate pane to visualize volatility changes

Indicator v6 Volatility & bands
Updated 9 months ago · None stated GitHub repository of Bollinger Band Width (BBW)

Nice Volume

by etnt
2 stars

Nice Volume enhances standard volume analysis by plotting colored volume bars and a trend-colored moving average in a separate pane. It identifies key volume conditions such as Pocket Pivots and volume relative to an EMA. High volume spikes trigger percentage

Indicator v5 VolumeScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of Nice Volume

HTF Candles & Pivots

by itmakesyousick
2 stars

The script plots higher timeframe candles and pivot points directly on the price chart. Higher timeframe candles can display in Open-Close or High-Low style with adjustable thickness and wick visibility. They support multiple history access modes including new

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

Zigzag S/R MT [LM]

by WISEPLAT
2 stars

The script calculates a custom ZigZag for support and resistance levels on the current timeframe and three additional timeframes: weekly, daily, and 240 minutes. It plots these levels as lines on the price chart, with options to show or hide up to four levels

Indicator v5 Support & resistanceTrend
Updated 3 years ago · None stated GitHub repository of Zigzag S/R MT [LM]

Despite the name, an indicator that combines many studies on the price chart: RSI overbought and oversold signals, MACD, Bollinger Bands, ATR, Stochastic, ADX trend strength, VWAP with bands, pivot-based support and resistance levels, simple candlestick patter

Indicator v5 Oscillators & momentumVolatility & bands
Updated 3 days ago · None stated GitHub repository of Advanced Multi-Indicator Strategy
1 stars

Draws a SOFR minus Euribor rate-difference line from data the user pastes into a settings box, so no intraday feed for those rates is needed. The line can be shown in basis points or in scaled units using a scale and offset, with optional EMA smoothing and a b

Indicator v5
Updated 3 days ago · None stated GitHub repository of C.OG Line - Pasted Data

Valuation Table

by ankurksoni
1 stars

A table overlay on the price chart, short title Valuation, that shows valuation-related figures for a stock. The code detects the first year of listed data and counts how often price has touched and closed back above the 10 and 20 period EMAs within a lookback

Indicator v6 Screeners & dashboards
Updated 4 days ago · None stated GitHub repository of Valuation Table

kNN Classifier

by jayadevrana
1 stars

This indicator implements a k-nearest neighbours classification model to forecast price direction several bars ahead. It extracts three normalized technical features: RSI, an EMA spread scaled by ATR, and normalized candle range volatility. Historical samples

Indicator v6 AI / machine learningTrend
Updated 5 days ago · MPL-2.0 GitHub repository of kNN Classifier

P Err Strategy In Indicator

by GammaExpansion
1 stars

This script is an indicator that plots the close price on the price chart. It checks if close is greater than open and enters a long position using strategy.entry if true. However, as an indicator, strategy functions may not execute properly and could cause er

Indicator v6 Trend
Updated 8 days ago · MIT GitHub repository of P Err Strategy In Indicator

An indicator that plots two context reads on the price chart without trading logic. A 4-hour bias comes from swing structure agreeing with the close versus a 50 EMA and its slope, and a 1-hour trend check requires ADX, stacked fast and slow EMAs and an efficie

Indicator v6 Trend Repaints
Updated 9 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 4 MTF Bias Stack

DEPV2 C1a Temel Skor

by YuceSezar89
1 stars

This indicator calculates a composite base score using trend, momentum, volatility, and volume components. It computes HLC3 SMA trend levels, ROC momentum z-scores, ATR-based volatility expansion ratios, and volume participation rates. Additional MTF Heikin As

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of DEPV2 C1a Temel Skor
1 stars

This indicator detects fractal patterns in price action using a customizable number of periods. It identifies up and down fractals and draws symmetry zones between consecutive fractals of opposite types on the price chart. Zones incorporate slope multipliers a

Indicator v6 Support & resistanceTrend
Updated 7 weeks ago · None stated GitHub repository of Fractal Symmetry Signals

Series Demo

by Alaamo7
1 stars

This educational indicator demonstrates the Pine Script series concept by plotting the current closing price alongside the previous bar's closing price in a separate pane. It serves as an introductory teaching example to show how historical indexing operates o

Indicator v6
Updated 2 months ago · Custom licence GitHub repository of Series Demo

Mean Deviation Trail

by vedkanani123
1 stars

An overlay indicator that measures how far price sits from a central EMA, smooths that signed deviation with a selectable moving average, and uses a mean absolute deviation measure to scale a trailing band. The multiplier is tight when deviation is strong and

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Mean Deviation Trail
1 stars

Draws volume order blocks on the price chart and marks three tiers of asymmetric volume signals, buy and sell, with a cooldown. High-volume proximity markers fire when a rolling highest-volume bar sits within a set number of bars of a tier signal. This version

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asymmetric HV Proximity v1.3

SCDTM Indicator

by GreyssonEnterprises
1 stars

An indicator that applies a multi-step checklist on the price chart. The first step compares 9 and 18 period EMAs on the daily, four-hour and one-hour timeframes and requires all three to agree. The second uses Bollinger %B thresholds and a Stochastic RSI, wit

Indicator v5 TrendOscillators & momentum Repaints
Updated 3 months ago · MIT GitHub repository of SCDTM Indicator

Quantum Flow v22 Engine Bay

by Jitheandra98
1 stars

This indicator builds on the Quantum Flow gold series by making each entry model an independently switchable engine. A buy or sell appears when any enabled engine triggers, and each signal is tagged with the engine that produced it, covering validated, classic

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Quantum Flow v22 Engine Bay
1 stars

This indicator overlays GEX levels on the price chart for options analysis on stocks and indices. It plots Bullseye, Gamma Flip, Call Wall, Put Wall, Max Pain, Expected Move, Flip Zones, and Top N strikes based on pasted TradeTracker data. Busby levels include

Indicator v6 Support & resistanceVolatility & bands Repaints
Updated 4 months ago · None stated GitHub repository of TradeTracker GEX + Busby

LotSize Calculator

by riegodavid-git
1 stars

An overlay tool that works out position size from account size, a risk percentage, the entry price and the distance to a stop loss. It draws entry, take profit and stop loss lines and shows a table with entry price, lots or quantity, take profit, stop loss, ri

Indicator v5 Screeners & dashboards
Updated 4 months ago · None stated GitHub repository of LotSize Calculator
1 stars

Pro Quant Desk (US) v1 is a comprehensive market analysis dashboard overlaid directly on the price chart for US equities. It calculates market regime metrics including macro risk gauges using SPY, QQQ, and equal-weight RSP breadth proxies, two-layer relative s

Indicator v5 Screeners & dashboardsTrend
Updated 4 months ago · None stated GitHub repository of Pro Quant Desk (US) v1

Quad Rotation 14 3

by rubbermetal
1 stars

Quad Rotation 14 3 is the medium pane of a four-stochastic setup with periods 9, 14, 40 and 60. It plots the 14/3 stochastic K and D lines in a separate pane with oversold and overbought zones, K/D cross triangles inside extreme zones, and a convergence band w

Indicator v6 Oscillators & momentumDivergence
Updated 4 months ago · MPL-2.0 GitHub repository of Quad Rotation 14 3
1 stars

Calculates Relative Strength Index (RSI) across four configurable timeframes using security calls with lookahead disabled. It identifies regular bullish and bearish divergences between price pivots and the primary RSI over a user-defined lookback window. A wei

Indicator v6 Oscillators & momentumDivergence Archived
Updated 5 months ago · None stated GitHub repository of Multi-Timeframe RSI [Agent Example]
1 stars

This indicator toolkit analyzes cryptocurrency price action on TradingView charts. It computes and plots Volume Profile with user-adjustable lookback bars, row count, and value area percentage; VWAP lines anchored to daily/weekly/monthly sessions plus optional

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT v7.2 Spec Watch

Smooth Trail V2

by dtheran1
1 stars

Draws a SuperTrend-style trailing line on the price chart, blended from a SuperTrend, Hull moving average bands and recent highest and lowest closes, with an ATR-based zone around it. The line and zone are blue above price and pink below. Inputs set the multip

Indicator v5 TrendVolatility & bands
Updated 6 months ago · None stated GitHub repository of Smooth Trail V2
1 stars

This compact indicator labels Elliott Wave counts on the price chart. It runs a zig-zag at several depths, chooses the depth that gives the best fit, and applies Elliott Wave rules, with a strict mode that forces an A-B-C count when the rules break. A correcti

Indicator v6 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Mini Elliott Wave 2026-2

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