Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 2)

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

Peak Reversal v3

by Zettt
43 stars

Peak Reversal v3 identifies potential mean-reversion points by plotting configurable Keltner Channels alongside a squeeze detector directly on the price chart. It detects momentum extremes when candles cross or trade completely outside the inner or outer chann

Indicator v6 Mean reversionVolatility & bands
Updated 1 year ago · None stated GitHub repository of Peak Reversal v3

RSTEmaVwap

by readysetcryptocodes
43 stars

This indicator overlays exponential moving averages and a session VWAP on the price chart. It builds a daily VWAP from typical price and volume, then plots one- and two-standard-deviation bands around it on selected intraday charts. EMA lengths change by timef

Indicator v4 Moving averagesVolume
Updated 2 years ago · None stated GitHub repository of RSTEmaVwap

Bradley Siderograph: Blueprint_So9

by blueprintresearch-dev
42 stars

This indicator plots Donald Bradley's siderograph as a weighted sum of planetary longitude aspects and declination parallels and contraparallels. It draws the sidereal potential, optional long-term and mid-term curves, and a Mars-Venus declination factor on th

Indicator v6 Screeners & dashboards
Updated 2 weeks ago · None stated GitHub repository of Bradley Siderograph: Blueprint_So9
42 stars

This overlay indicator estimates realized volatility from log returns and annualizes it with a user-chosen periods-per-year setting. It ranks that volatility against a trailing lookback to label calm, normal, or storm regimes, and it converts a target volatili

Indicator v5 Volatility & bandsScreeners & dashboards
Updated 3 months ago · MIT GitHub repository of Storm Gauge — Vol Regime + Position Size

Cronex T Demarker

by romulodl
42 stars

Cronex T Demarker is a momentum indicator that calculates a modified DeMarker oscillator averaged over multiple step lengths and centered at zero. It applies a T3 exponential smoothing filter based on a customizable curvature parameter to generate a smooth tri

Indicator v4 Oscillators & momentum
Updated 5 years ago · None stated GitHub repository of Cronex T Demarker
41 stars

This indicator transforms standard RSI calculations into logit space, estimating rolling distributions to derive empirical z-scores mapped back to the 0–100 RSI scale. Plotted in a separate pane, it features multi-horizon central lines—fast and structural cent

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 days ago · None stated GitHub repository of Calibrated RSI Position Zones

This macro indicator analyzes international and domestic transmission channels affecting Vietnamese government bond yields. Plotted in a separate pane with diagnostic tables and background shading, it tracks six macro pathways including Japanese yields, Yen ca

Indicator v6 Screeners & dashboards

24-hour Volume

by TWODS-CAPITAL
37 stars

This indicator plots a rolling 24-hour volume total as columns in a separate pane. On each bar it builds a running sum of volume over the last 24 hours, using a one-minute, five-minute, or hourly series depending on the chart timeframe. When the symbol's volum

Indicator v5 Volume
Updated 3 years ago · MIT GitHub repository of 24-hour Volume

Forex PS

by brahma-investment-group
34 stars

This indicator calculates forex position sizing in lots based on hardcoded risk and stop-loss parameters. It queries the 5-minute closing price of a user-configurable conversion currency pair using a security call to convert risk across currencies. The script

Indicator v5
Updated 1 year ago · MIT GitHub repository of Forex PS

Strategy Scanner

by RobertAgee
34 stars

This indicator scans up to thirty symbols simultaneously against selected technical strategies, such as moving average crosses, price strength, or volume momentum. It displays long and short signals using shapes, labels, and horizontal lines directly inside a

Indicator v5 Screeners & dashboardsMoving averages
Updated 3 years ago · None stated GitHub repository of Strategy Scanner

Extension Functionality Test

by tradesdontlie
33 stars

Extension Functionality Test is a Pine Script v6 script designed to evaluate editor extension capabilities such as syntax highlighting, code completions, hover documentation, and static analysis. The code demonstrates various Pine v6 features, including dynami

Indicator v6
Updated 8 days ago · MIT GitHub repository of Extension Functionality Test

Codex 5m Webhook - GC Scalp

by WilliamYi951208
33 stars

This indicator plots an exponential moving average on the price chart and formats structured JSON alert payloads on confirmed bar closes. It is designed to export real-time market data to external webhook receivers or AI assistant backends. Inputs allow users

Indicator v5 Moving averages
Updated 4 months ago · MIT GitHub repository of Codex 5m Webhook - GC Scalp

ADX and RSI

by thanhnguyennguyen
33 stars

This indicator plots the Average Directional Index with plus and minus directional indicators in a separate pane. It builds directional movement from true range using Wilder's smoothing, then draws ADX, plus DI and minus DI against a dotted trend-strength line

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of ADX and RSI

The [Pirate] 2 Moving Averages and Cross indicator plots fast and slow moving averages directly on the price chart to assist with trend identification. Users can select from exponential, simple, running, weighted, or volume-weighted moving average types. It au

Indicator v4 TrendMoving averages
Updated 5 years ago · Unlicense GitHub repository of [Pirate] 2 Moving Averages and Cross
32 stars

Ghost Channels fits dynamic parallel trend channels over a configurable lookback window using linear regression or pivot swing methods. It layers confirmation signals onto the channel geometry, detecting candlestick pattern reactions at the rails, volume-confi

Indicator v6 TrendBreakout
Updated 3 days ago · MIT GitHub repository of Ghost Channels [mph1nance]
32 stars

This indicator plots a composite oscillator in a separate pane. It draws a classic Awesome Oscillator histogram from 5- and 34-period simple moving averages of the median price, plus a MACD histogram from 12- and 26-period exponential moving averages with a 9-

Indicator v4 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of Awesome Oscillator & MACD Cross

BBW RSI 15 Study

by modster
32 stars

BBW RSI 15 Study is an overlay indicator designed for automated crypto trading via webhooks. It plots standard-deviation-adjusted Bollinger Bands directly on the price chart while calculating secondary metrics such as Stochastic RSI, volume moving averages, an

Indicator v4 Volatility & bandsVolume
Updated 3 years ago · None stated GitHub repository of BBW RSI 15 Study

Hedge Scalp

by nikita-doronin
30 stars

The Hedge Scalp indicator calculates an Exponential Moving Average (EMA) and generates four long grid levels and one hedged short grid level at user-defined percentage distances below the EMA. It models grid entry execution and average entry take-profit levels

Indicator v5 Moving averagesSupport & resistance
Updated 2 years ago · Custom licence GitHub repository of Hedge Scalp

Zen ABR Against

by Zen-Tim
29 stars

This overlay indicator measures average bar range as a simple moving average of high minus low, then draws short horizontal ticks at one to four times that range above and below the close. The user chooses which multipliers appear, their colors, and the line w

Indicator v6 Volatility & bandsSupport & resistance
Updated 2 weeks ago · MIT GitHub repository of Zen ABR Against
29 stars

This indicator calculates a dynamic trend-following line on the price chart by combining custom Supertrend calculations with exponential rate scaling. It identifies trend direction based on price crossovers against ATR-based distance bands. As a trend persists

Indicator v6 TrendVolatility & bands
Updated 11 months ago · Custom licence GitHub repository of Exponential Trend [AlgoAlpha]

Multi Indicator Stats

by algocode2022
29 stars

This indicator computes several classic studies in a separate pane: Bollinger Bands from a simple moving average and standard deviation, an inverse-Fisher transform of the CCI smoothed by a weighted moving average, RSI, MACD with a histogram, and Stochastic RS

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Multi Indicator Stats

Test Script

by iamrichardD
29 stars

This indicator is a short Pine Script v6 test fixture for function signature checks. It calculates a 14-period simple moving average of the close and calls alert with a fixed message. The remaining lines deliberately misuse functions, including an extra argume

Indicator v6 Moving averages
Updated 1 year ago · None stated GitHub repository of Test Script
27 stars

Poor Man's Volume Clusters calculates an approximation of volume profile clusters over fixed bar blocks and plots them directly on the price chart. It divides price ranges into discrete horizontal rows, aggregates trading volume per level, and optionally highl

Indicator v4 VolumeSupport & resistance Repaints Archived
Updated 2 years ago · MPL-2.0 GitHub repository of Poor Man's Volume Clusters

Auto Fib Extension

by heyphat
26 stars

Auto Fib Extension automatically identifies high and low pivot points on the price chart to construct Fibonacci extension levels. The script calculates pivot points based on a user-defined depth setting and tracks significant swing points using dynamic chart p

Indicator v6 Support & resistance Repaints
Updated 2 months ago · AGPL-3.0 GitHub repository of Auto Fib Extension

Order Block Finder

by stonkpunk
26 stars

Order Block Finder is an indicator that identifies institutional bullish and bearish order blocks on the price chart. A bullish order block is detected as a down candle preceding a user-defined sequence of up candles, while a bearish order block is an up candl

Indicator v4 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of Order Block Finder
25 stars

Awesome Oscillator Divergences calculates the Awesome Oscillator using the difference between fast and slow exponential moving averages of the median price. It identifies regular and hidden bullish and bearish divergences by comparing pivot highs and lows on t

Indicator v4 DivergenceOscillators & momentum
Updated 6 years ago · None stated GitHub repository of Awesome Oscillator Divergences

Eps Probe

by GeneralTradingSarl
24 stars

A diagnostic utility that tests floating-point precision and epsilon limits in Pine Script. It evaluates multiple arithmetic comparisons using tiny numeric offsets against runtime calculations to avoid compile-time folding. The script formats the boolean test

Indicator v5 Screeners & dashboards
Updated 11 days ago · Custom licence GitHub repository of Eps Probe

This indicator identifies Qullamaggie-style momentum trading setups, including Breakout, Episodic Pivot (EP), and Parabolic reversals. It evaluates prior moves, consolidation tightness, volume expansion, moving average alignment (50 SMA and 20 EMA), and stretc

Indicator v5 Oscillators & momentumBreakout
Updated 2 months ago · MIT GitHub repository of Qullamaggie Setups - Breakout / EP / Parabolic

Debug Test

by jpantsjoha
23 stars

Debug Test is a minimal example script written in Pine Script v6 designed for editor testing and extension validation. It demonstrates basic input parameter definitions, configuring a boolean toggle and a color selection setting without executing complex calcu

Indicator v6
Updated 3 weeks ago · Custom licence GitHub repository of Debug Test
23 stars

This indicator collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period

Indicator v4 Support & resistanceDivergence
Updated 3 years ago · None stated GitHub repository of Daily High and Low Strategy

Lucid SAR

by pacificbay
22 stars

This indicator implements the Parabolic SAR based on J. Welles Wilder, Jr.'s original specification from New Concepts in Technical Trading Systems. It plots trailing stop and reverse values directly on the main price chart as blue crosses. Users can adjust the

Indicator v4 Trend
Updated 6 years ago · MIT GitHub repository of Lucid SAR

PVP | Key Levels

by abbaselmas
21 stars

This indicator draws a periodic volume profile on the price chart and marks the point of control plus optional value-area high and low. It distributes each bar's volume across profile rows using a selected periodic timeframe, row count, value-area percentage,

Indicator v6 VolumeSupport & resistance Repaints
Updated 8 days ago · None stated GitHub repository of PVP | Key Levels

Complete

by ferranbt
21 stars

Complete is a short Pine Script v6 indicator used as an editor completion fixture. It declares a user-defined Point type with float fields, constructs one instance, and reads its x coordinate. It also calculates a five-bar simple moving average of the close an

Indicator v6 Moving averages
Updated 7 weeks ago · MPL-2.0 GitHub repository of Complete
21 stars

This script serves as a syntax demonstration and test suite for Pine Script v6 type declarations, created primarily for testing editor syntax highlighters and themes. It defines user-defined types, exported enums, and demonstrates various variable forms across

Indicator v6 Repaints
Updated 1 year ago · MIT GitHub repository of Type Declaration Coverage

Crypto Context Dashboard

by zabor-crypto
20 stars

This indicator draws a visual present-state context panel on the price chart. It classifies volatility from ATR and Bollinger bandwidth percentiles, measures how far price sits from an EMA in ATR units, and scores trailing candle noise with wick ratio, directi

Indicator v6 Screeners & dashboardsVolatility & bands
Updated 4 days ago · MIT GitHub repository of Crypto Context Dashboard

Adaptive Money Flow Index

by palitojendthen
20 stars

The Adaptive Money Flow Index indicator dynamically adjusts its lookback length using John Ehlers dominant cycle measurement technique. It filters the input source using a high-pass filter and a SuperSmoother filter, applying Pearson correlation and spectral a

Indicator v5 Oscillators & momentumVolume
Updated 1 year ago · None stated GitHub repository of Adaptive Money Flow Index

Marubozu Finder

by Tikam02
20 stars

Marubozu Finder identifies classic bullish and bearish Marubozu candlestick patterns based on the previous completed bar. It detects a bullish Marubozu when the previous bar's high equals its close and its low equals its open. Conversely, a bearish Marubozu is

Indicator v5 Candlestick patterns
Updated 2 years ago · Apache-2.0 GitHub repository of Marubozu Finder
19 stars

This indicator highlights Inner Circle Trader (ICT) killzones and key session pivot points directly on the price chart. It projects shaded boxes for specific trading sessions, including Asia, London, NY AM, NY Lunch, and NY PM, to help traders identify high-li

Indicator v5 SMC / ICT / price actionSessions & time
Updated 3 years ago · MIT GitHub repository of ICT Killzones & Pivots

Bandz HTF

by samuelharting
18 stars

Bandz HTF projects higher-timeframe candle structures, ranges, and key levels directly onto the main price chart. It visualizes multiple configurable timeframe lanes from intraday to weekly alongside primary and macro range levels, including 25%, 50%, and 75%

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

This overlay indicator plots a SuperTrend-style band on the price chart using ATR length, a selectable source, and a base factor. Optional settings enable an adaptive factor driven by rate of change, a volatility filter, K-means clustering, and an LSTM layer w

Indicator v6 TrendVolatility & bands
Updated 4 months ago · MIT GitHub repository of ML SuperTrend (Ultimate) - Auto-Optimized AI with LSTM

Engulfing Patterns

by shibisuriya
18 stars

This indicator identifies and plots bullish and bearish engulfing candlestick formations directly on the price chart. It checks standard body-engulfing criteria using prior and current bar open and close values, with optional stricter filters for wick engulfme

Indicator v4 Candlestick patterns
Updated 4 years ago · None stated GitHub repository of Engulfing Patterns

BBW RSI 60 Study

by SammyEnigma
18 stars

BBW RSI 60 Study combines Bollinger Bands, Bollinger Band Width (BBW), and the Relative Strength Index (RSI) to monitor volatility compression and momentum reversals. It plots standard Bollinger Bands directly on the price chart while internally calculating RS

Indicator v4 Oscillators & momentumVolatility & bands
Updated 6 years ago · None stated GitHub repository of BBW RSI 60 Study

This indicator calculates the Relative Strength Index (RSI) alongside a simple moving average to generate directional momentum signals in a separate pane. It supports Break Flip and Break Continuous scanning modes for long and short setups. A wide array of opt

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Momentum Setup: RSI Direction Confirmation

FDL pro

by cantolab
16 stars

This overlay indicator plots the 100-period and 200-period exponential moving averages on the price chart and marks buy or sell triangles after an EMA crossover when the next two candle opens stay on the correct side of the 100 EMA and price stays within a sym

Indicator v5 Moving averagesSessions & time
Updated 2 months ago · None stated GitHub repository of FDL pro

ORB Multi-Model Indicator

by Mrshahidali420
16 stars

This indicator plots several New York opening-range breakout models on the price chart and can also show a combined confidence-scored signal. Enabled models include classic Crabel, a five-minute scalper, a standard fifteen-minute breakout, and a gold variant,

Indicator v6 BreakoutSessions & time Repaints
Updated 3 months ago · None stated GitHub repository of ORB Multi-Model Indicator

NWOG + ORG

by traderdiegox
16 stars

This overlay indicator draws the new week opening gap and the opening range gap on the price chart. It paints each gap as a colored zone with optional borders, a dashed midpoint line, and a text label. Users can hide either gap, change colors and border style,

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of NWOG + ORG

This indicator detects bullish and bearish engulfing candlestick patterns on the main price chart based on configurable bar fullness and height filters. It identifies specific pattern variations, including 3-Strike reversals and 180-degree turnarounds, marking

Indicator v5 Candlestick patternsMoving averages
Updated 2 years ago · None stated GitHub repository of Bull & Bear Engulfing - 3 Strike and 180 Candles X EMA

Kalman Percentile Bands

by NQ-stats-MX
15 stars

Kalman Percentile Bands plots a volatility-adaptive Kalman mean along with three empirical percentile bands on each side of the price chart. It calculates a local-level Kalman filter as the fair value mean, normalizes price deviations by an EWMA of volatility,

Indicator v6 Mean reversionVolatility & bands
Updated 2 weeks ago · MIT GitHub repository of Kalman Percentile Bands

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