Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 14)

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

Anish TB Foster Fix

by nishpa800
1 stars

Overlay indicator for stock-style charts that flags pocket pivot candles: a large percentage body whose volume beats the highest opposite-colour volume over a lookback. It also tests trend stages using 50, 150 and 200 period EMAs plus distance from the 52-week

Indicator v6 TrendVolume
Updated 2 months ago · None stated GitHub repository of Anish TB Foster Fix

Key Levels

by insomniac-asif
1 stars

Plots common futures reference levels on the price chart: previous day high, low and close, overnight high and low, the opening range, VWAP with bands, round numbers and a session background. Sessions use New York time, with a regular session of 0930 to 1600 a

Indicator v6 Support & resistanceSessions & time Repaints
Updated 2 months ago · MIT GitHub repository of Key Levels

Very Long Term RVOL Pro

by monikerprivacy-byte
1 stars

This indicator is drawn on the price chart and classifies relative volume against a simple moving average of volume. It combines volume with candle-body effort, close location, wick bias, and ATR to label bullish, bearish, or mixed conditions. Configurable thr

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of Very Long Term RVOL Pro

Magama SMC OB Alert

by Lleyton20
1 stars

An overlay indicator that finds swing highs and lows with pivots and flags a break of structure when the close crosses the latest swing point. On a break it marks the last opposing candle within a lookback as an order block, drawing a box with an optional 50 p

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Magama SMC OB Alert
1 stars

A price-chart indicator designed for gold that scores buy and sell setups from several smart money concepts. It finds swing pivots, detects breaks of structure and changes of character, flags simple fair value gap and liquidity sweep proxies, and adds a fast a

Indicator v5 SMC / ICT / price actionTrend
Updated 2 months ago · None stated GitHub repository of GoldX AI Trader Auto SMC Signals

SMC Entry Filter

by andriiops
1 stars

This overlay indicator tracks confirmed swing highs and lows as liquidity levels and marks a break of structure when the close moves beyond the last swing. It detects bullish and bearish fair value gaps that meet a minimum ATR size, then plots filtered long an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of SMC Entry Filter

RSI Ultra Signal

by mmdverse
1 stars

An overlay that reads RSI on five timeframes from 5 minutes to daily and scores each overbought or oversold event from one to five stars. Optional confirmations are a MACD cross, a position relative to the 200 EMA, a volume surge, divergence and agreement acro

Indicator v5 Oscillators & momentumDivergence
Updated 2 months ago · None stated GitHub repository of RSI Ultra Signal
1 stars

A configurable signal builder for the price chart. The user picks a leading indicator, with Range Filter as the default, and can then require confirmation from optional filters such as EMA position, two or three EMA crosses, Rational Quadratic Kernel, SuperTre

Indicator v6 TrendMoving averages Repaints
Updated 2 months ago · None stated GitHub repository of DIY Custom Strategy Builder v1

Vesper

by mavomen
1 stars

Vesper is an overlay session indicator that shades the Asia, London and New York windows on the price chart and highlights the overlaps between them. It can also draw session boxes and per-session high and low lines, show an information table with the active s

Indicator v6 Sessions & time
Updated 2 months ago · MIT GitHub repository of Vesper

Daddy's Special Mix

by timoanttila
1 stars

Daddy's Special Mix is an indicator that combines an anchored VWAP with a standard deviation band, ATR distances, RSI levels and turtle-style breakout windows. It tracks entries after VWAP crosses, allows a set number of additional entries, and flags exits on

Indicator v6 BreakoutTrend Repaints
Updated 2 months ago · GPL-3.0 GitHub repository of Daddy's Special Mix

MMC Order Block Strategy

by vproptrader10010-cmyk
1 stars

An indicator that detects swing highs and lows using a lookback setting and treats them as liquidity pools, plotting the latest ones as lines. It flags a stop-hunt sweep when price pushes beyond a swing level and closes back inside with an engulfing or hammer-

Indicator v6 SMC / ICT / price actionCandlestick patterns
Updated 2 months ago · None stated GitHub repository of MMC Order Block Strategy
1 stars

A Pine v6 indicator that plots the built-in Supertrend next to a hand-written expansion of the same calculation on the price chart. The explicit version builds ATR-based upper and lower bands from the midpoint of each bar and flips direction when the close cro

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of SuperTrend Explicit Port Reference

POC VA MACD HA v1

by syrilj
1 stars

A chart-overlay indicator that builds an approximate volume profile over a recent window, plotting the point of control and the value area high and low. It also computes a Heikin-Ashi version of a range-normalised MACD. A long condition is flagged with a green

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of POC VA MACD HA v1

This indicator classifies market conditions into five regimes using Bandt-Pompe permutation entropy on price closes. It calculates an entropy score to assess order versus randomness, smooths it into a predictability metric, and computes an adaptive percentile

Indicator v6 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Permutation Entropy Regime [Jayadev Rana]
1 stars

This Pine Script indicator plots a range filter line along with high and low target bands on the price chart. It calculates a smoothed average range using a sampling period and multiplier, then applies a filter to detect upward and downward trends. Signals tri

Indicator v5 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Range Filter Buy and Sell 5min
1 stars

This Pine Script indicator plots fast and slow EMA lines on the price chart to identify trend direction. It applies RSI and MACD filters to confirm momentum strength and checks volume against its average for confirmation. Buy signals trigger on fast EMA crossi

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · Custom licence GitHub repository of Lesson 5 Buy Sell Logic Demo

Maher Hero Saudi Alerts

by maherhato1986
1 stars

A chart-overlay indicator that scores each bar out of 100 using trend versus the 20 EMA, MACD, RSI range, volume ratio, an early breakout or retest of the prior 20-bar high, distance to the next resistance and an ATR-based stop distance. Hard rejections cap th

Indicator v6 BreakoutOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Maher Hero Saudi Alerts

Gold Dominator Pro

by thanvish21
1 stars

Gold Dominator Pro is a multi-indicator overlay designed primarily for gold trading. It combines higher-timeframe exponential moving averages with momentum oscillators like RSI, MACD, and StochRSI, alongside volatility tools such as ATR, Bollinger Bands, and A

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Gold Dominator Pro
1 stars

A separate-pane indicator that flags sudden price moves using two measures: the percentage rate of change over a short rolling window and a z-score of bar-to-bar price changes against a longer baseline. A spike can trigger when either measure passes its thresh

Indicator v5 Volatility & bandsOscillators & momentum
Updated 2 months ago · AGPL-3.0 GitHub repository of Volatility Spike Detector
1 stars

Draws three projected future candles to the right of the price chart. A directional score blends EMA trend, MACD histogram, Bollinger position, RSI and VWAP distance, and the score sets an expected return, a bullish probability and a confidence figure shown on

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · None stated GitHub repository of BTC and FX 3-Candle Forecast

Triangle Patterns

by atroopa
1 stars

An indicator that draws sloping upper and lower trendlines from confirmed pivot highs and lows, forming triangle-style channels. The slope can be calculated with ATR, standard deviation or linear regression, scaled by a slope multiplier, and breakouts through

Indicator v5 Support & resistanceBreakout Repaints
Updated 2 months ago · None stated GitHub repository of Triangle Patterns

ICE Genesis

by ernest8707
1 stars

ICE Genesis is an overlay indicator that approximates ICT and smart money concepts on the price chart. It draws break of structure and change of character lines, liquidity, displacement, order blocks and fair value gaps, and adds a higher-timeframe bias engine

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICE Genesis

SMC Compute Only

by marcelolara-glitch
1 stars

A price-chart overlay that runs the Smart Money Concepts calculations of an existing open-source indicator without drawing boxes, lines or labels. It tracks internal and swing structure breaks, change of character, order blocks, equal highs and lows, and fair

Indicator v6 SMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of SMC Compute Only
1 stars

A Pine v5 research overlay for gold on 15 or 5 minute charts. It shades a New York morning entry window, shows a bias dashboard from fast and slow EMAs, and draws 4 hour and 1 hour fair value gaps and order blocks as higher timeframe areas of interest. A break

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of HTC v0.1 Gold Research
1 stars

This indicator plots High Timeframe Opening Gaps for Monthly, Weekly, and Daily sessions on the price chart, highlighting price levels formed by previous period closes to current opens. It displays Opening Price Lines at selected times including 00:00, 08:30,

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Opening Levels — Gaps + OPL

聪明钱概念 SMC [LuxAlgo]

by RouZuoMong2003
1 stars

This script provides a Chinese localization of the LuxAlgo Smart Money Concepts suite, plotting market structure directly onto the price chart. It detects both internal and swing market structure shifts, including break of structure (BOS) and change of charact

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · Custom licence GitHub repository of 聪明钱概念 SMC [LuxAlgo]

This indicator identifies confluence patterns based on smart money concepts including liquidity grabs, break of structure, order blocks, and fair value gaps. It maintains a statistical database of past setups, logs outcomes on bar close, and calculates dynamic

Indicator v6 SMC / ICT / price actionTrend
Updated 3 months ago · MIT GitHub repository of Smart Money Concepts V3.5.5 - Confluence Learning Engine

GrimmArty Indicator

by GreyssonEnterprises
1 stars

A Pine v5 indicator that draws four smoothed moving averages (21, 50, 100 and 200), a trend fill between a two-period EMA and the 200 average, three line strike markers and engulfing-style candle markers, with optional time-zone session shading and weekday tog

Indicator v5 Moving averagesCandlestick patterns
Updated 3 months ago · MIT GitHub repository of GrimmArty Indicator

Liquidity Magnet

by VVASILEVSS
1 stars

A Pine v6 overlay that finds swing high and low pivots as resting liquidity pools and ranks them with a composite score. The score weighs volume at the pivot, distance from price on a log scale, pool age and momentum direction. Nearby pivots are merged into eq

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Liquidity Magnet

Bitcoin Cycle Phase Map

by BitcoinDaily
1 stars

Bitcoin Cycle Phase Map is an overlay indicator that shades the Bitcoin chart by days since the latest halving, split into boom, bust and recovery zones. The zone boundaries, set at 520 and 910 days by default, can be changed. It projects upcoming zones forwar

Indicator v6 Sessions & timeSupport & resistance
Updated 3 months ago · Custom licence GitHub repository of Bitcoin Cycle Phase Map

MACD

by yanniedog
1 stars

This indicator is a plain MACD in a separate pane. It subtracts a slow exponential average from a fast one to form the MACD line, smooths that line with a simple average for the signal line, and shows the difference as a filled histogram area. Fast, slow and s

Indicator v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of MACD

Trend Correlation Heatmap

by AubakirovArman
1 stars

Shows a heatmap of trend strength for up to four user-chosen timeframes. For each timeframe it measures the Pearson correlation of price with time over lookbacks from 50 to 500 bars in steps of 50, and colours each cell by strength and direction. It reports th

Indicator v5 TrendScreeners & dashboards
Updated 3 months ago · MIT GitHub repository of Trend Correlation Heatmap

SPE Cone Bands

by SeraKah-1
1 stars

An overlay indicator that draws a fan-shaped band projecting forward from the last bar. It uses the rolling mean and standard deviation of log returns to extend a median line and upper and lower lines by a chosen number of bars, scaled by a z-value input. It i

Indicator v5 Volatility & bands Repaints
Updated 3 months ago · MIT GitHub repository of SPE Cone Bands

ICT Liquidity Engine - Base

by annihilateiwnw-create
1 stars

The ICT Liquidity Engine - Base indicator identifies key liquidity levels and market sessions on the price chart using the New York time zone. It calculates and plots previous daily, weekly, and monthly high and low levels to highlight institutional liquidity

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of ICT Liquidity Engine - Base

This indicator plots an adaptive RSI on the price chart for gold. It calculates RSI with adaptive lookback and filters signals using EMA trend, higher timeframe bias, slope threshold, ATR volatility, and structure confirmation near swings. Signals appear as bu

Indicator v6 Oscillators & momentumDivergence

Elephant Bars

by FranklyBrandon
1 stars

A price chart overlay that flags unusually large candles, called elephant bars, when the candle body is at least a set multiple of the average body over a lookback, 1.5 times and 100 bars by default. It also marks small retracement bars that follow an elephant

Indicator v5 Candlestick patternsMoving averages
Updated 3 months ago · None stated GitHub repository of Elephant Bars

Pocket Pivot Volume

by mervinj3546
1 stars

A Pine v6 indicator for daily charts that marks pocket pivot days with a blue circle below the bar. A pocket pivot is an up-day whose volume is higher than the highest down-day volume in the previous lookback bars. Optional filters require the close to be abov

Indicator v6 Volume
Updated 3 months ago · None stated GitHub repository of Pocket Pivot Volume
1 stars

This indicator overlays precomputed Elliott Wave count structures directly on the price chart for ETHUSD. It draws motive and corrective wave paths across primary and alternate wave scenarios, along with wave projections, subwaves, channels, invalidation level

Indicator v6 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of ETHUSD Elliott Wave Count
1 stars

Plots horizontal lines representing Deribit Bitcoin options max pain strike prices for multiple expirations directly on the price chart. Each line extends from the latest bar to its settlement timestamp, with line width dynamically scaled according to open int

Indicator v6 Support & resistanceVolume
Updated 3 months ago · MIT GitHub repository of BTC Max Pain (Deribit)

Buddha Bands

by DarthBuddha
1 stars

A chart-overlay indicator that draws four pairs of long-term moving averages, each pair forming a filled band between a slow and a fast line. The default lengths are 20 and 21, 50 and 55, 200 and 233, and 365 and 377. Each band can be switched on or off, its m

Indicator v6 Moving averagesTrend
Updated 3 months ago · MIT GitHub repository of Buddha Bands

Detrended CVD Z-Score

by tthanhvu002sgu
1 stars

A Pine v6 separate-pane indicator that estimates delta from candle direction and volume, accumulates it and turns it into a Z-score over a rolling window, shown as a coloured histogram with a signal EMA and standard deviation lines. It adds divergence detectio

Indicator v6 VolumeDivergence
Updated 3 months ago · None stated GitHub repository of Detrended CVD Z-Score

Fusion Cipher A Overlay

by shahzaib-574
1 stars

This indicator draws an eight-line EMA ribbon with an optional cloud on the price chart, using Fibonacci-style lengths from 8 to 233 and an optional Heikin Ashi source. It adds symbolic guidance marks, long and short setup labels, a compression filter and a vo

Indicator v6 TrendMoving averages
Updated 3 months ago · None stated GitHub repository of Fusion Cipher A Overlay

Indicator Template

by maxenko
1 stars

A Pine v6 starter template for an overlay indicator, not a finished analysis tool. It sets up grouped inputs for length, source, a signal-on-bar-close option, line and label display, bull and bear colours and a debug log toggle. It includes a helper for higher

Indicator v6
Updated 3 months ago · MIT GitHub repository of Indicator Template

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