Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 104)

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

This indicator treats price action, RSI, or moving average relationships as binary Bernoulli trials to estimate trend probability and Shannon entropy over a rolling sample window. It calculates the proportion of bullish outcomes and measures market uncertainty

Indicator v6 Oscillators & momentumTrend

Advanced ORB + ICT System

by alboogycOdR
6 stars

Advanced ORB + ICT System plots Opening Range Breakout (ORB) levels alongside Inner Circle Trader (ICT) concepts directly on the price chart. It highlights ORB boxes, Fair Value Gaps (FVGs), Order Blocks, liquidity grabs, and key support and resistance levels

Indicator v5 SMC / ICT / price actionBreakout
Updated 7 months ago · None stated GitHub repository of Advanced ORB + ICT System
3 stars

This indicator calculates and plots the NYSE Cumulative Tick Index as colored candles in a separate pane, with green indicating upward tick trends and red downward trends. Overbought and oversold zones are marked using smoothed averages of high and low tick va

Indicator v5 Oscillators & momentumVolatility & bands
Updated 5 months ago · None stated GitHub repository of CSW Tick Internals

Pro V3 [SMRT Algo]

by IAMATOMIC001
3 stars

Pro V3 [SMRT Algo] is a multi-functional technical analysis overlay that generates buy and sell trading signals based on ATR supertrend logic and linear regression analysis. It offers optional moving average filtering alongside a suite of visual technical over

Indicator v5 TrendSupport & resistance
Updated 1 year ago · None stated GitHub repository of Pro V3 [SMRT Algo]

Sniper Algo

by TamTH-Dev
2 stars

Sniper Algo is a multi-indicator technical analysis suite that plots directly on the main price chart. It integrates Ichimoku Kinko Hyo components, automated support and resistance zones, dual exponential moving averages, and optional buy and sell signals. Use

Indicator v5 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Sniper Algo

Adaptive Market Profile

by regalouisei
2 stars

This indicator plots an adaptive trend channel and market profile directly on the price chart. It calculates linear regression channels either automatically or using a fixed bar period, with support for logarithmic scaling. The script divides the channel into

Indicator v6 TrendVolume
Updated 8 months ago · None stated GitHub repository of Adaptive Market Profile

Holt-Winters Moving Average (HWMA)

by mushroom-men-Trading
2 stars

The Holt-Winters Moving Average (HWMA) indicator applies a triple exponential smoothing algorithm to track price trends by filtering noise while maintaining responsiveness. It computes level, velocity, and acceleration components from a chosen price source ove

Indicator v6 TrendMoving averages
Updated 9 months ago · None stated GitHub repository of Holt-Winters Moving Average (HWMA)

Draw - Bar and Candles

by Web3Degenerate
2 stars

This educational Pine Script indicator demonstrates how to plot custom price bars using the built-in plotbar function. The script determines whether the current bar is bullish or bearish by comparing the close price to the open price, applying a green or red c

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Draw - Bar and Candles

Volatility Regime Lab

by jayadevrana
1 stars

Volatility Regime Lab ranks the current ATR against its own recent history and labels the market Quiet, Normal, or Wild. It shades the price-chart background by that regime. On the last bar it shows a table of how often each regime occurred, the average N-bar

Indicator v6 Volatility & bandsScreeners & dashboards
Updated 5 days ago · MPL-2.0 GitHub repository of Volatility Regime Lab

VWAP Reclaim Indicator

by skipp-dev
1 stars

This overlay indicator plots an anchored VWAP and marks reclaim setups on the price chart. It can signal a simple VWAP cross or a reclaim, retest, and breakout of a rolling pullback high or low, filtered by trade direction and optional matching VWAP slope. A p

Indicator v6 TrendVolume Repaints
Updated 5 days ago · None stated GitHub repository of VWAP Reclaim Indicator
1 stars

P_err_undefined_namespace_function is a Pine Script v6 syntax test fixture created for compiler and parser validation. The script attempts to call and plot an undefined function within the built-in technical analysis namespace. It is designed to verify proper

Indicator v6
Updated 8 days ago · MIT GitHub repository of P_err_undefined_namespace_function

DEPV2 DEBUG S19

by YuceSezar89
1 stars

This indicator monitors and analyzes up to 20 cryptocurrency pairs across four core analytical dimensions: trend, momentum, volatility, and volume. It generates signals using several selectable modes, including single-factor triggers, simultaneous multi-method

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 2 weeks ago · None stated GitHub repository of DEPV2 DEBUG S19
1 stars

Volume Power Zones {Morindok} is a price-chart overlay that divides a short lookback of candles, including the live bar, into several horizontal price zones. It draws outer boxes and zone boxes for the previous and current windows, and colors each zone as stro

Indicator v6 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Volume Power Zones {Morindok}

Adaptive Pivot Structure

by vedkanani123
1 stars

A pivot and structure indicator on the price chart. It marks swing highs and lows with a configurable length, grades them against ATR, and can draw a zigzag, active horizontal levels, break of structure and change of character events, and missed reversals. A F

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Adaptive Pivot Structure

Hurst Peak Marker V4

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst cycle peak marker. It runs the hl2 price through bandpass filters covering cycles from 1 day to 18 years, then draws labels and lines at detected peaks. Each cycle has separate bandw

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker V4

Combination by yzz

by webcrack4
1 stars

Combination by yzz is an overlay indicator that scans for regular and hidden divergences across multiple technical oscillators simultaneously, including RSI, MACD, Stochastic, CCI, OBV, CMF, MFI, Momentum, and VW-MACD. It identifies pivot points on price and i

Indicator v4 DivergenceOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Combination by yzz
1 stars

Draws a single box on the price chart that represents one candle from a higher timeframe, using a custom type to hold its open, high, low and close. Past higher-timeframe candles are drawn as boxes when they complete, and the current one updates as price moves

Indicator v6
Updated 1 year ago · None stated GitHub repository of Multi Time Period Chart
947 stars

The Holt Exponential Moving Average (HEMA) indicator calculates a trend-following line using double exponential smoothing. It accounts for both level smoothing via the alpha length and trend adjustment via the gamma length. The indicator overlays directly on t

Indicator v4 Moving averagesTrend
Updated 13 days ago · GPL-3.0 GitHub repository of Holt Exponential Moving Average

ARCT-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest buy and sell activity for the stock ARCT on the price chart. It places dated labels above or below bars, colored red for sells and green for buys, with a same-day ETF count such as X1. An ETF setting switches

Indicator v4
Updated 2 years ago · None stated GitHub repository of ARCT-tracker

Snag - SPY

by dearvn
257 stars

Snag - SPY is an overlay indicator that tracks market trends using three Weighted Moving Averages (WMA 13, WMA 48, and WMA 200). It plots the three WMAs directly on the main price chart and calculates crossovers between price and the moving averages, as well a

Indicator v5 TrendMoving averages
Updated 7 weeks ago · None stated GitHub repository of Snag - SPY
228 stars

This indicator calculates and plots trend direction across four customizable timeframes in a separate pane. It evaluates whether the close is above or below a moving average for each timeframe, assigning directional values that sum into an aggregate alignment

Indicator v6 TrendMoving averages
Updated 3 months ago · None stated GitHub repository of Multi-Timeframe Trend Alignment
114 stars

This script plots pivot-based support and resistance levels on the price chart while generating directional trade labels tagged with RSI values to measure momentum at turning points. It overlays multi-timeframe open and close step lines with background fills t

Indicator v4 Support & resistanceOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Support and Resistance Strategy (v.2)
99 stars

This indicator calculates the Chande Momentum Oscillator (CMO) to evaluate price momentum over a specified lookback period. It computes the difference between unsmoothed sums of positive and negative price changes using an efficient circular buffer implementat

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Chande Momentum Oscillator (CMO)
65 stars

This script calculates a 20-period Relative Strength Index (RSI) based on close prices and plots it in a separate pane with a fixed horizontal midline at level 50. It monitors for centerline crossings, displaying upward green triangles at the bottom when RSI c

Indicator v4 Oscillators & momentum
Updated 7 days ago · GPL-3.0 GitHub repository of Alertcondition() on Single Condition
47 stars

Initial Balance Statistical Mapping plots the high, low, and midpoint of a defined initial balance session, such as the first hour of trading, directly on the main price chart. It projects statistical extension levels using fixed percentile multipliers (25th,

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Initial Balance Statistical Mapping
47 stars

This indicator plots a Hanning-window finite impulse response moving average of a selected price source on the price chart. It weights the lookback with the classic raised-cosine Hanning coefficients, rebuilds those weights when the effective window grows duri

Indicator v6 TrendMoving averages
Updated 8 months ago · MIT GitHub repository of Hanning Moving Average (HANMA)

Directional Movement Index

by TWODS-CAPITAL
37 stars

This indicator plots the Directional Movement Index in a separate pane. It calculates plus directional movement and minus directional movement from changes in highs and lows, smooths them with the DI length, and derives the ADX from the absolute difference of

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Directional Movement Index

Calculates a composite carry and decay oscillator fusing impulse-autocorrelation half-life, a Hurst exponent approximation, path efficiency, and range expansion ratios. It evaluates whether an impulse is likely to persist or mean-revert, plotting the oscillato

Indicator v6 TrendOscillators & momentum
Updated 4 days ago · MIT GitHub repository of Market Memory & Decay Oscillator [WavesUnchained]
6 stars

Apex Protocol - The SMC Engine is a Smart Money Concepts indicator designed for price chart analysis across multiple timeframes. It automatically detects key SMC market structure events including Break of Structure (BOS), Market Structure Shifts (MSS), Order B

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 7 months ago · None stated GitHub repository of Apex Protocol - The SMC Engine
4 stars

The indicator calculates classic pivot points from the previous day's high, low, and close using request.security. It plots the central pivot (PP) along with resistance levels R1 R2 R3 and support levels S1 S2 S3 directly on the price chart. The only setting s

Indicator v6 Support & resistance Repaints
Updated 2 months ago · MIT GitHub repository of Pivot Points [trugurpala]
3 stars

The CSW Ø-Lag Oscillator is a modified MACD indicator designed to reduce lag using zero-lag moving averages and a custom leader calculation. It plots a zero-lag line, a lagging signal line, and a histogram in a separate pane. The oscillator uses three distinct

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of CSW Ø-Lag Oscillator

RoyalPrince Scanner

by IAMATOMIC001
3 stars

This indicator scans multiple symbols using RSI for overbought and oversold levels, TSI for trend strength, ADX for trend direction and strength, and Supertrend for trend reversals. It plots buy and sell signals on the price chart for each enabled symbol based

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of RoyalPrince Scanner

SSL Algo

by TamTH-Dev
2 stars

SSL Algo calculates and displays multi-moving-average SSL hybrid channels directly on the price chart. It combines a customizable baseline, a continuation channel, an exit indicator, and optional ATR bands alongside support EMAs. Users can toggle baseline line

Indicator v5 TrendMoving averages
Updated 6 weeks ago · None stated GitHub repository of SSL Algo

This indicator plots ICT balanced price ranges together with fair value gaps and inversion fair value gaps on the price chart. It marks bullish and bearish BPR zones and optional FVG and IFVG boxes, then tracks mitigation at a proximal, midpoint, or distal lev

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICT Balanced Price Range [TradingFinder] BPR | FVG + IFVG

Adaptive Volume Delta Map

by regalouisei
2 stars

This indicator builds a volume delta map in a separate pane. It requests an anchor timeframe, optionally at seconds or tick resolution, and splits volume into buy and sell sides using bid and ask data when that option is on. It maps volume across price rows, f

Indicator v6 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Adaptive Volume Delta Map

Draw - Boxes

by Web3Degenerate
2 stars

This educational script demonstrates how to draw and format rectangular boxes on the price chart using Pine Script. It generates a box on the current bar extending ten bars forward, spanning from the bar's low to high, and dynamically colors the fill green or

Indicator v5
Updated 2 years ago · None stated GitHub repository of Draw - Boxes
1 stars

This indicator draws the 5-minute closing price on the chart for multi-timeframe analysis. It takes the number of bars for prediction as an input and initializes an array of predictors with recent close prices. A matrix is prepared for heuristic logic but rema

Indicator v5 AI / machine learning
Updated 3 days ago · None stated GitHub repository of Omni-Resolution Matrix Machine

Walk-Forward Lab

by jayadevrana
1 stars

Walk-Forward Lab is an educational overlay indicator that simulates trade execution and walk-forward testing directly within Pine Script. It evaluates EMA fast and slow line crossovers using ATR-based stop-loss levels and risk-reward ratio targets. A user-defi

Indicator v6 TrendMoving averages
Updated 5 days ago · MPL-2.0 GitHub repository of Walk-Forward Lab

P_err_unterminated_string

by GammaExpansion
1 stars

This script is a parser test fixture designed to test syntax error handling in Pine Script v6. It declares a string variable containing an unclosed string literal and attempts to plot the string length in a separate pane. Because the string is intentionally le

Indicator v6
Updated 8 days ago · MIT GitHub repository of P_err_unterminated_string

DEPV2 DEBUG S2

by YuceSezar89
1 stars

DEPV2 DEBUG S2 is a multi-symbol indicator that aggregates signals across 20 cryptocurrency pairs using four methods: TREND, MOMENTUM, VOLATILITY and VOLUME. It supports signal modes including simultaneous confidence, sequential and automatic per-asset selecti

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 weeks ago · None stated GitHub repository of DEPV2 DEBUG S2
1 stars

Volume Power Zones draws stacked price zones over a recent window of candles, including the live bar, on the price chart. It requests lower-timeframe open, high, low, close and volume to estimate volume inside each zone, then colors zones as strong or weak buy

Indicator v6 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Volume Power Zones {Morindok}

Adaptive Spectral Forecast

by vedkanani123
1 stars

A cycle-analysis indicator on the price chart. It analyzes a lookback window of 144 bars by default, extracts up to five dominant cycles, and projects a forecast line 55 bars ahead with confidence bands. Buy and sell signals can be limited to the direction of

Indicator v6 TrendAI / machine learning Repaints
Updated 2 months ago · None stated GitHub repository of Adaptive Spectral Forecast

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