Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 40)

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

3690-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell events for one stock on the price chart. It places fixed date labels above bars for sells and below bars for buys, with a count such as X1. An ETF input switches between ALL, ARKF, and ARKX so only the

Indicator v4
Updated 2 years ago · None stated GitHub repository of 3690-tracker
257 stars

This overlay indicator tracks sideways consolidations on the SPX price chart and flags breaks above or below that range. It builds a zigzag from the highest and lowest bars inside a loopback window, smooths nearby highs and lows with a rational quadratic kerne

Indicator v6 BreakoutSupport & resistance Repaints
Updated 7 weeks ago · None stated GitHub repository of SPX 30M - Trading Chart
228 stars

This overlay indicator draws an event calendar as a table on the price chart. It offers a multi-month grid or a single month plus an event list. Users set how many months appear before and after the current month, how many columns are used, the reading order,

Indicator v6 Screeners & dashboards
Updated 3 months ago · None stated GitHub repository of Event Calendar [TradersPost]
220 stars

This indicator identifies bullish and bearish engulfing candlestick patterns and plots them directly on the price chart. Users can filter patterns by setting minimum body-to-range percentages for both the prior and current candles. Additional filters require t

Indicator v5 Candlestick patterns
Updated 1 year ago · None stated GitHub repository of Candlestick Pattern - Engulfing

KD Indicator

by TaichiS
219 stars

Calculates and plots the Stochastic Oscillator (KD) in a separate chart pane. It computes the raw stochastic values using high, low, and close prices over a default 9-bar length, smoothing them with 3-bar simple moving averages to produce the K and D lines. It

Indicator v4 Oscillators & momentum
Updated 5 years ago · None stated GitHub repository of KD Indicator

LiqSpikeBounceLong Feb2026

by agutinbaigo28
147 stars

LiqSpikeBounceLong Feb2026 is an indicator designed to identify long bounce entries following high-volume liquidation cascades in bearish market contexts. It checks if price is below an exponential moving average, then detects large single-bar drops exceeding

Indicator v5 Volatility & bandsVolume
Updated 6 weeks ago · MIT GitHub repository of LiqSpikeBounceLong Feb2026
114 stars

This indicator estimates the next bar's price with a k-nearest neighbors model built from consecutive price samples. It ranks one-dimensional distances, averages the nearest neighbors, and can adjust that projection. Optional signals hint at the next bar's dir

Indicator v5 AI / machine learning
Updated 1 year ago · None stated GitHub repository of Machine Learning: kNN (New Approach)
99 stars

This indicator calculates Bill Williams' Accelerator Oscillator in a separate pane. It forms the median price from high and low, subtracts a slow simple moving average from a fast one to get the Awesome Oscillator, then subtracts a five-period average of that

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Accelerator Oscillator (AC)
92 stars

This indicator plots horizontal liquidation heatlines for long and short positions directly on the price chart overlay. It highlights key price levels where positions face liquidation, color-coding lines and displaying descriptive tags for estimated sizes. The

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 months ago · Custom licence GitHub repository of Moon Dev Liq Lines — SOL

PPO ATR Bands

by cryptorife
75 stars

PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l

Indicator v4 Oscillators & momentumMoving averages
Updated 3 years ago · GPL-3.0 GitHub repository of PPO ATR Bands

Bar States

by be-thomas
65 stars

Bar States is an educational utility indicator that demonstrates Pine Script bar state variables directly on the price chart overlay. On every bar, it evaluates execution context properties including historical status, real-time status, new bar creation, bar c

Indicator v5
Updated 6 days ago · GPL-3.0 GitHub repository of Bar States
59 stars

This indicator serves as a syntax test file demonstrating Pine Script language features and editor highlighting. It showcases compiler annotations, control flow keywords, user-defined types, exported enums, and various data structure declarations including arr

Indicator v5 Repaints
Updated 1 year ago · MIT GitHub repository of Organized Pine Script Syntax Test
56 stars

BigBeluga Smart Money Concepts identifies and overlays market structure and volumetric order blocks directly on the price chart. It analyzes market swings, trend sweeps, and mapping structure using customizable pivot lengths and calculation modes. The indicato

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of BigBeluga - Smart Money Concepts
55 stars

This indicator calculates Bollinger Bands from the close with TradingView's built-in ta.bb function and plots them on the price chart. It draws a middle band plus upper and lower bands and fills the area between the outer bands. The length input sets the lookb

Indicator v6 Volatility & bands
Updated 6 months ago · Apache-2.0 GitHub repository of Bollinger Bands Example

Exhaustion Reversal

by milocaetano
48 stars

Exhaustion Reversal identifies potential market exhaustion and reversal points on the price chart by detecting strong force bars followed by price give-back patterns. A force bar is defined by an above-average body reaching recent extreme highs or lows. The sc

Indicator v5 Candlestick patternsMean reversion
Updated 3 days ago · MIT GitHub repository of Exhaustion Reversal
47 stars

This overlay indicator draws a set of higher-timeframe candles on the price chart. The user sets the timeframe or lets it select automatically, plus candle count, size, offset, margin, and whether the candles are standard or Heikin Ashi. A table can show the a

Indicator v6 Support & resistanceCandlestick patterns Repaints
Updated 8 weeks ago · None stated GitHub repository of HTF Sweep Model with CISD Table
47 stars

This indicator plots jerk, described as the slope of the slope of the slope of a source series, in a separate pane. It estimates each slope with a rolling least-squares fit over the selected period, then repeats that fit on the slope and again on the resulting

Indicator v6 Oscillators & momentum
Updated 8 months ago · MIT GitHub repository of Acceleration, Slope of Slope (JERK)
47 stars

The Vortex Trend Tracker calculates positive and negative Vortex Indicator values smoothed with exponential moving averages. It plots a histogram representing the absolute difference between the smoothed positive and negative lines in a separate pane, alongsid

Indicator v4 TrendOscillators & momentum
Updated 5 years ago · None stated GitHub repository of Vortex Trend Tracker 2.0 + RSI
43 stars

This indicator plots the percentile rank of a short ATR divided by a longer ATR in a separate pane. It calculates two average true ranges, forms their ratio, ranks that ratio over a lookback window, and smooths the rank with an exponential moving average. User

Indicator v5 Volatility & bands
Updated 1 year ago · None stated GitHub repository of ATR Ratio Percentile Rank

BTC Onchain Indicator

by readysetcryptocodes
43 stars

The indicator overlays Bitcoin pricing models built from daily on-chain series, including difficulty, supply, and market capitalization. It plots a difficulty ribbon from a power-law regression and several moving averages, a stock-to-flow price, a cumulative a

Indicator v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of BTC Onchain Indicator

Price and Longitude Angles

by blueprintresearch-dev
42 stars

Price and Longitude Angles maps planetary longitude to price and plots Gann fan lines from a selected high or low pivot on the price chart. It supports one or two planets, geocentric or heliocentric positions, and single, average, or synodic calculation modes.

Indicator v6 Support & resistanceScreeners & dashboards
Updated 2 weeks ago · None stated GitHub repository of Price and Longitude Angles
38 stars

Synthesizes macroeconomic indicators for the Vietnamese economy into a multi-pillar monitoring engine and composite risk score. It tracks inflation, policy rates, interbank interest rates, GDP growth, exchange rates, and sovereign bond yields using Taylor-rule

Indicator v6 Screeners & dashboards
Updated 5 weeks ago · None stated GitHub repository of MacroAcademic - VN Economy Engine

Accumulation/Distribution

by TWODS-CAPITAL
37 stars

This indicator calculates the classic Accumulation/Distribution line and plots it in a separate pane. On each bar it multiplies volume by the close location inside the high-low range, then adds that value to a running total. Bars where the high equals the low,

Indicator v5 Volume
Updated 3 years ago · MIT GitHub repository of Accumulation/Distribution
33 stars

This indicator plots a T3 moving average on the price chart. It builds the line by applying a generalized double-exponential smoother three times to the chosen source, so the result is a weighted blend of nested exponential moving averages. Length sets the EMA

Indicator v4 Moving averagesTrend
Updated 5 years ago · Unlicense GitHub repository of [Pirate] T3 Moving Average

Bollinger Bands

by modster
32 stars

This indicator plots a Bollinger-style envelope on the price chart. It calculates a simple moving average of the chosen source and multiplies the standard deviation by the multiplier to set the deviation. It draws the basis plus two pairs of offset lines at 0.

Indicator v4 Volatility & bands
Updated 3 years ago · None stated GitHub repository of Bollinger Bands

Zen ABR Range Bands

by Zen-Tim
29 stars

Calculates an Exponential Moving Average baseline surrounded by Average Bar Range bands based on an 8-period bar range calculation. Plots upper and lower channels at 1x, 2x, 3x, and 4x ABR multiples directly on the main price chart. Includes configurable bar h

Indicator v6 TrendVolatility & bands
Updated 2 weeks ago · MIT GitHub repository of Zen ABR Range Bands

This overlay indicator estimates price with a Nadaraya-Watson rational quadratic kernel and draws an envelope around that estimate. It regresses close, high, and low, then builds a kernel ATR from those estimates. Near and far upper and lower bounds, plus thei

Indicator v5 Volatility & bands
Updated 11 months ago · Custom licence GitHub repository of Nadaraya-Watson: Envelope (Non-Repainting)
26 stars

This Pine Script v6 indicator serves as a test script for map and matrix data structures. It initializes a string-to-float map to store the current closing price and constructs a two-by-two floating-point matrix filled with the close, then assigns the current

Indicator v6
Updated 2 months ago · AGPL-3.0 GitHub repository of Feature Matrix - Map + Matrix

CCI Divergences

by tistaharahap
25 stars

This indicator plots the Commodity Channel Index in a separate pane and marks regular and hidden divergences between CCI pivots and price. It compares oscillator highs and lows with price highs and lows inside a configurable lookback range. Regular bullish and

Indicator v4 Oscillators & momentumDivergence
Updated 6 years ago · None stated GitHub repository of CCI Divergences
24 stars

This overlay indicator maps smart money structure on the price chart. It marks internal and swing break of structure and change of character, bullish and bearish order blocks, equal highs and lows, fair value gaps, premium and discount zones, and strong or wea

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 12 days ago · Custom licence GitHub repository of Smart Money Concepts [LuxAlgo] test A
23 stars

This indicator detects fair value gap patterns and candle breaks across multiple user-defined timeframes using historical security data requests. It monitors price interaction with specific candle levels and triggers alerts when a break occurs. The main inputs

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 weeks ago · Custom licence GitHub repository of Multi-TF FVG Kerze Break Alert
23 stars

The Connors Relative Strength Index (CRSI) measures short-term momentum by averaging three components: a standard Relative Strength Index (RSI), an Up/Down streak RSI, and the Percent Rank of a 1-period Rate of Change (ROC). It plots as a single line in a sepa

Indicator v5 Oscillators & momentum
Updated 3 months ago · Custom licence GitHub repository of Connors Relative Strength Index

This indicator estimates an adaptive stochastic in the style of John Ehlers and is titled as an inverse Fisher transform. It high-pass filters the selected source, smooths the result, measures Pearson correlation across lags, and derives a dominant cycle from

Indicator v5 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of Inverse Fisher Transform of Adaptive Stochastic

Bandz Po3 Profiler

by samuelharting
18 stars

Bandz Po3 Profiler draws an ICT-style power-of-three profile on the price chart. It plots higher-timeframe candles, C1 through C4 sequence boxes, T-Spot zones, CISD marks, fair value gaps, STDV projections, sweeps, midpoints, opens, and liquidity. It also mark

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 weeks ago · MPL-2.0 GitHub repository of Bandz Po3 Profiler

Marubozu finder

by shibisuriya
18 stars

This indicator identifies Marubozu candlestick patterns directly on TradingView price charts. It plots green triangles for bullish Marubozu below bars and red triangles for bearish Marubozu above bars. The pattern requires upper and lower wicks to stay within

Indicator v4 Candlestick patterns
Updated 4 years ago · None stated GitHub repository of Marubozu finder
16 stars

2XTMA Centered Bands Indicator plots two centered triangular moving averages with ATR-scaled upper and lower bands on the price chart. It colors each average bull or bear and can show an angle caution label. Optional alerts fire on band crosses, a return towar

Indicator v5 TrendMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of 2XTMA Centered Bands Indicator

Alighten Pattern B

by alighten-dev
14 stars

Alighten Pattern B is a price-chart indicator that scans stored ZigZag pivots for Pattern B triples and marks long and short signals. It can draw dashed Pattern B levels and an optional ZigZag that traces the structure those signals use. Users can enable or hi

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 weeks ago · None stated GitHub repository of Alighten Pattern B

Market Monitor - 15m

by chris-c-thomas
14 stars

Market Monitor - 15m is a directional bias chart overlay designed for 15-minute intraday chart analysis. It calculates a triple exponential moving average ribbon with EMA cloud shading, session VWAP with multiplier bands, prior day levels, a 30-minute opening

Indicator v6 TrendMoving averages
Updated 6 months ago · MIT GitHub repository of Market Monitor - 15m
14 stars

This overlay indicator builds a money-management table on the price chart. It takes a deposit, a maximum risk percentage per trade, and a commission percentage, then sizes risk against up to ten user-defined stop-loss percentages and an optional ATR stop. The

Indicator v5 ScalpingVolatility & bands
Updated 3 years ago · None stated GitHub repository of Scalping money management

Relative Strength Index

by deepentropy
13 stars

The Relative Strength Index indicator calculates momentum based on price changes over a specified length and plots the curve in a separate pane. It includes adjustable upper and lower bands, background color fills, and an optional smoothing moving average or B

Indicator v6 Oscillators & momentumMoving averages
Updated 6 months ago · MIT GitHub repository of Relative Strength Index

ICT Cursor

by dbruce1990
12 stars

ICT Cursor is a price action and Smart Money Concepts indicator that identifies 3-bar swing highs and swing lows on the main chart. It dynamically tracks and categorizes swing points into active levels, swept liquidity points, and closed-through structure brea

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of ICT Cursor

我的腳本

by blockplusim
12 stars

This indicator plots a seven-period simple moving average of the close on the price chart. It colors the line green when the average is higher than its value one bar earlier and red when it is lower or equal. There are no user inputs, so the length, source, an

Indicator v5 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of 我的腳本

NFI v7.2

by koradiyakaushal
12 stars

NFI v7.2 is an overlay study adapted from NostalgiaForInfinity V7 for Freqtrade. The strategy declaration is commented out, so this file does not place orders or define exits. Visible settings choose an informative timeframe, a master symbol that defaults to B

Indicator v4 Moving averages
Updated 5 years ago · MIT GitHub repository of NFI v7.2

5 EMAs

by hirawatt
11 stars

5 EMAs calculates and plots five Exponential Moving Averages derived from five configurable timeframes directly onto the main price chart. It also plots the high and low lines fetched from an additional custom timeframe, accompanied by a small on-screen table

Indicator v4 Moving averagesTrend Repaints
Updated 2 years ago · MIT GitHub repository of 5 EMAs

BTE Acc AO SMIO

by f-cksociety
11 stars

This script provides an indicator-based backtesting engine framework that simulates trade entries, exits, and filtering directly on the price chart. It evaluates selected entry rules and multi-layered filters, including moving average trends, volume increases,

Indicator v5 TrendOscillators & momentum
Updated 4 years ago · MPL-2.0 GitHub repository of BTE Acc AO SMIO
10 stars

My Macro Cycle Indicator plots daily and weekly simple and exponential moving averages on the price chart, plus Pi Cycle and Mayer Multiple levels derived from the 200-day average. Optional toggles add support-band fills, a Keltner channel, CME futures gaps, a

Indicator v4 Moving averagesVolatility & bands
Updated 5 years ago · None stated GitHub repository of My Macro Cycle Indicator

This indicator projects daily Average True Range (ATR) support and resistance levels onto the main price chart based on the daily open price. It calculates upper and lower ATR levels along with outer ATR band lines using a configurable multiplier. Dynamic hori

Indicator v4 Volatility & bandsSupport & resistance Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of Chad's Average True Range ATR (@tradeprophet)

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