Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 6)

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

Vol-Targeted Position Size

by Robot-Wealth
4 stars

This indicator calculates volatility-targeted position sizes using an exponentially weighted moving average volatility forecast. It plots the target position size along with upper and lower no-trade buffer boundaries in a separate pane. A dashboard table in th

Indicator v5 Volatility & bandsScreeners & dashboards
Updated 2 years ago · None stated GitHub repository of Vol-Targeted Position Size

Imbalance + 3EMA

by linkcla
4 stars

This overlay indicator plots three exponential moving averages on the price chart and marks imbalance zones with boxes. Each EMA has its own length, color, and visibility toggle, with defaults of 10, 50, and 200. Fair value gaps are detected across three bars

Indicator v5 Moving averagesSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of Imbalance + 3EMA

Supertrend EMA Strategy

by mohammad95labbaf
4 stars

Supertrend EMA Strategy is a chart overlay indicator that combines Supertrend trailing levels with an Exponential Moving Average filter to identify entry signals. Buy signals occur when the Supertrend turns bullish while price trades above the specified EMA, w

Indicator v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Supertrend EMA Strategy

POC & Volume Profile

by ChiefTechDev
4 stars

Calculates and plots a horizontal volume and price distribution profile across user-defined row bins directly on the price chart. It measures price activity between high and low boundaries, tallies price occurrences or volume per level, and draws color-gradien

Indicator v5 VolumeSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of POC & Volume Profile

3 Bar Gap

by kevinhhl
4 stars

The 3 Bar Gap indicator identifies fair value gaps and price imbalances across a three-bar pattern directly on the price chart. It calculates displacement between the price boundaries of two bars ago and the current bar. To filter out market noise during quiet

Indicator v5 SMC / ICT / price actionVolatility & bands
Updated 3 years ago · None stated GitHub repository of 3 Bar Gap
4 stars

This TradingView indicator provides scalping money management tools by displaying a customizable panel on the chart. It shows risk management details such as deposit size, maximum risk per trade as a percentage, and commission adjustments. The indicator plots

Indicator v5 ScalpingScreeners & dashboards
Updated 3 years ago · MIT GitHub repository of Scalping Money Management
4 stars

This indicator plots a separate-pane oscillator from a user-selected source. Named presets and a custom mode set the low-pass period, lookback, and Tr values used by the oscillator. The period is then scaled by hour, day, week, or month multipliers selected fr

Indicator v5 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of Boom Hunter - Oscillator

Bollinger Bands

by bfoura
4 stars

This indicator calculates standard Bollinger Bands using a simple moving average and standard deviation multiplier. Instead of plotting continuous band lines, it evaluates whether the current price trades within a configurable threshold distance of the band bo

Indicator v5 Volatility & bandsMean reversion
Updated 4 years ago · None stated GitHub repository of Bollinger Bands
4 stars

Snag - Detect Bull Bear is an indicator that identifies bull and bear market phases on the price chart. It uses a customizable ZigZag to detect trend reversals, tracking high and low points. The script applies Fibonacci-based rules to confirm breakout shifts b

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Snag - Detect Bull Bear
4 stars

Leonidas Trend Following System is a trend following indicator that plots key, long-term, and short-term exponential moving averages directly on the price chart. It calculates trend signals through EMA crossovers and price changes relative to the center line,

Indicator v5 TrendOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Leonidas Trend Following System
4 stars

The VIX Fix Double Pleasure indicator calculates standard synthetic Williams VIX Fix to spot market bottoms and combines it with a reversed VIX Fix calculation to detect market tops. It renders both metrics as histograms and lines in a separate pane. By evalua

Indicator v4 Volatility & bandsOscillators & momentum
Updated 4 years ago · MIT GitHub repository of VIX Fix: Double Pleasure

EMA and ADX v1

by aofwittawat
4 stars

This indicator calculates an Exponential Moving Average (EMA) and an Average Directional Index (ADX) to signal trend entries and exits directly on the price chart. It triggers a long signal when the close is above the EMA and a short signal when below, optiona

Indicator v5 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of EMA and ADX v1

Security

by Joshua-Chang
4 stars

This Pine Script v4 indicator is titled Security and is marked to draw on the price chart. No inputs are parsed, and the visible source contains no active calculation or plot. Almost every line is a comment sketching simple moving averages, color changes, cros

Indicator v4
Updated 5 years ago · None stated GitHub repository of Security
4 stars

This indicator overlays four simple moving averages and marks crosses between the short and basis averages on the price chart. It also plots Bollinger Bands around the basis average using a standard-deviation multiplier and fills the band. Separate resistance

Indicator v4 Moving averagesVolatility & bands
Updated 5 years ago · GPL-3.0 GitHub repository of Bollinger Bands/MA Cross

Supertrend MTF Heikin Ashi

by setyadhiputrad
4 stars

This indicator calculates and plots Supertrend lines based on Heikin Ashi price data for both the current chart timeframe and a higher timeframe. It determines trend direction by comparing prices against ATR-derived upper and lower bands, shifting colors and p

Indicator v4 TrendVolatility & bands
Updated 5 years ago · GPL-3.0 GitHub repository of Supertrend MTF Heikin Ashi

KuChart DayLight Basic Currencies

by Vertexstack-Code
4 stars

This indicator calculates and plots the relative performance of eight major currencies (USD, EUR, GBP, CHF, JPY, AUD, CAD, and NZD) in a separate pane. It fetches price data from major Forex currency pairs and calculates logarithmic percentage changes relative

Indicator v4 Oscillators & momentumScreeners & dashboards
Updated 6 years ago · None stated GitHub repository of KuChart DayLight Basic Currencies

Adam's RSI

by adamhelton
4 stars

Adam's RSI calculates a standard Relative Strength Index alongside a fast RSI and an EMA of the standard RSI. It plots the main RSI line colored according to whether it is above or below the 50 baseline, along with overbought and oversold levels. The indicator

Indicator v4 Oscillators & momentumMoving averages
Updated 6 years ago · None stated GitHub repository of Adam's RSI

Bollinger Squeeze

by degenview
3 stars

This indicator calculates standard Bollinger Bands using a simple moving average basis along with upper and lower volatility bands. It measures normalized band width to detect squeeze conditions where the bands contract to their narrowest point over a specifie

Indicator v6 Volatility & bandsMoving averages
Updated yesterday · GPL-3.0 GitHub repository of Bollinger Squeeze

ALMA Tarama

by gocaman
3 stars

This indicator plots an Arnaud Legoux moving average on the price chart and colors it by slope. It marks an entry label when the average turns up and an exit label when it turns down, and it fires matching alerts. A separate exponential moving average is drawn

Indicator v5 Moving averagesTrend
Updated yesterday · None stated GitHub repository of ALMA Tarama

GBPUSD H1 QuadLayer

by GifariKemal
3 stars

An institutional order block and EMA pullback indicator designed for GBPUSD on the 1-hour timeframe. It filters trading signals based on specific London and New York session kill zones, ATR volatility thresholds, signal quality metrics, and day or hour multipl

Indicator v5 SMC / ICT / price actionMoving averages
Updated 4 days ago · MIT GitHub repository of GBPUSD H1 QuadLayer

Zig Zag Labeler

by northis
3 stars

Calculates and plots zigzag swing lines directly on the price chart based on user-defined deviation and depth settings. It allows traders to number recent swing segments and assign specific Elliott Wave structural models, including impulses, zigzags, and diago

Indicator v6 Support & resistanceTrend Repaints
Updated 4 days ago · MIT GitHub repository of Zig Zag Labeler

Medallion Cipher

by ricksimpsontrading
3 stars

Medallion Cipher is a separate-pane indicator that combines a four-state hidden Markov model (bull, bear, range, and crisis) with weighted confluence signals. It can include mean reversion, trend, session timing, pattern matching, Hurst exponent, Shannon entro

Indicator v6 AI / machine learningMean reversion
Updated 9 days ago · None stated GitHub repository of Medallion Cipher

JCO Swings Trend HTF

by jcornierfra
3 stars

This Pine Script indicator detects swing highs and lows on a higher timeframe while analyzing the current chart timeframe. It calculates trend direction using swing structures with bullish or bearish momentum and compression status. CHoCH detection identifies

Indicator v6 TrendSMC / ICT / price action
Updated 12 days ago · None stated GitHub repository of JCO Swings Trend HTF

Adaptive Moving Average

by AkashSasikumar47
3 stars

Adaptive Moving Average (AMA) is a trend-following indicator that dynamically adjusts smoothing based on recent price volatility. It blends a fast EMA (default length 2) with a slow EMA (default length 30) using an adaptive multiplier derived from the highest

Indicator v6 TrendMoving averages
Updated 2 weeks ago · MIT GitHub repository of Adaptive Moving Average

This indicator calculates a multi-timeframe MACD line alongside signal lines and volatility bands in a separate chart pane. It offers nine customizable moving average types, including SMA, EMA, DEMA, TEMA, Hull MA, Volume Weighted MA, and Least Squares MA. Use

Indicator v5 Oscillators & momentumMoving averages
Updated 4 weeks ago · None stated GitHub repository of MACD Bands - Multi Timeframe [TradeMaster Lite]

This indicator plots buy and sell signals on the price chart overlay using Supertrend as the primary trend filter combined with multiple moving average crossover strategies. Users select from preset modes or enable custom combinations via toggles for 12 differ

Indicator v6 TrendMoving averages
Updated 5 weeks ago · MIT GitHub repository of Quantum Queen X + Supertrend Signal

Mean Reversion T

by Ye-Yu-Mo
3 stars

Mean Reversion T is a dual-engine intraday indicator designed for 15-minute charts to detect mean-reversion and shock-reversal trading opportunities. It calculates Z-score price deviations from a moving average mean alongside regime scores across 15-minute and

Indicator v6 Mean reversionMoving averages Repaints
Updated 2 months ago · MPL-2.0 GitHub repository of Mean Reversion T

RTD IFVG

by Rickylel
3 stars

RTD IFVG tracks inverted fair value gaps (IFVGs) and identifies bullish or bearish trade setups when price closes through gaps following liquidity sweeps, higher-timeframe FVG reactions, or SMT divergence. The indicator grades setups from A+ to C based on posi

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

Luxy Big Beautiful ORB

by hintheman
3 stars

Draws Opening Range Breakout levels on the price chart for 5, 15, 30 and 60 minute ranges, each with its own colour and an optional mid-range line. It detects breakouts and retests of those ranges using a percentage buffer, a minimum number of bars outside the

Indicator v6 BreakoutSessions & time
Updated 2 months ago · Custom licence GitHub repository of Luxy Big Beautiful ORB

TradingFlow: Stoch X

by realanthonyc
3 stars

TradingFlow: Stoch X is a Stochastic oscillator indicator plotted in a separate pane. It calculates standard percent K and percent D lines along with secondary crossover lines to generate trade signals outside overbought and oversold bands. The indicator autom

Indicator v6 Oscillators & momentumDivergence
Updated 2 months ago · MPL-2.0 GitHub repository of TradingFlow: Stoch X

KatanaFlow

by 7mertyavuz
3 stars

KatanaFlow is a trend-following overlay indicator that combines a Twin Range Filter with a smoothed moving average line to identify market direction and signal reversals. It calculates adaptive volatility bands using dual-period range smoothing to filter out p

Indicator v6 TrendVolatility & bands
Updated 3 months ago · MIT GitHub repository of KatanaFlow

This indicator plots pivot levels and inflection zones on the price chart. It calculates P, S1 to R4 pivot points using selected type such as Traditional or Fibonacci and anchor timeframe. Inflection zones appear as supply and demand boxes based on swing highs

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 3 months ago · MIT GitHub repository of Combined Advanced Trading Blueprint

AI Bot - Manual Alerts

by thanhcong1211
3 stars

AI Bot - Manual Alerts is an overlay indicator that scores buy and sell conditions from optional MACD, EMA, RSI, and break-of-structure checks. It treats the share of enabled conditions that fire as a confidence value and sends a JSON buy or sell alert once pe

Indicator v5 Oscillators & momentumMoving averages Repaints
Updated 3 months ago · None stated GitHub repository of AI Bot - Manual Alerts

Cyber HUD XAU

by panzmoravylab
3 stars

Cyber HUD XAU is an overlay indicator designed for XAUUSD that combines trend, momentum, and volatility filters. It calculates fast and slow ATR ratios alongside local price ranges to detect consolidation and chop filter states. The script evaluates candle bod

Indicator v6 Volatility & bandsOscillators & momentum
Updated 4 months ago · None stated GitHub repository of Cyber HUD XAU

Mc War

by tuanmcwar
3 stars

The Mc War indicator identifies Smart Money Concepts market structure elements directly on the main price chart. It detects swing highs and lows using pivot calculations to label higher highs, lower highs, higher lows, and lower lows. The script draws lines an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of Mc War

MTF Confluence Dashboard

by WiseManAlgo
3 stars

This indicator calculates a multi-timeframe trend and momentum score across five configurable timeframes for up to three symbols. It evaluates price relative to a fast EMA along with RSI momentum, weighting each timeframe to generate a normalized confluence sc

Indicator v5 Screeners & dashboardsTrend
Updated 4 months ago · None stated GitHub repository of MTF Confluence Dashboard
3 stars

Daily High Levels calculates and tracks regular trading hours (RTH) session open, high, low, and close values for intraday charts based on customizable New York session bounds. It fetches the prior daily close of NQ futures using higher-timeframe data retrieva

Indicator v6 Support & resistanceSessions & time Repaints
Updated 5 months ago · None stated GitHub repository of Daily High Levels
3 stars

The Linchuan Event Indicator plots multi-timeframe opening price zones alongside key moving averages and Bollinger Bands in a separate indicator pane. It tracks opening price lines and colored expansion zones across 5-minute, 30-minute, 1-hour, and 4-hour time

Indicator v5 Support & resistanceMoving averages
Updated 5 months ago · None stated GitHub repository of Linchuan Event Indicator
3 stars

This indicator measures the percentage change of the close over a configurable lookback and compares it with a breakout threshold. It marks upward and downward momentum regimes with a faint background tint on the price chart, plots a translucent close line, an

Indicator v5 Oscillators & momentumBreakout
Updated 6 months ago · None stated GitHub repository of Polymarket Overlay (trader-ai)

DIY Entry Signals

by benso87
3 stars

This indicator plots optional moving averages on the price chart and generates entry signals based on custom conditions from multiple technical indicators. Users select which indicators contribute to long or short signals, choose confirmation of candles, and c

Indicator v5 Oscillators & momentumMoving averages
Updated 6 months ago · MPL-2.0 GitHub repository of DIY Entry Signals

VW-ATR Strategy

by wesleyzilva
3 stars

Calculates a volume-weighted Average True Range by multiplying the standard ATR calculation by the current bar volume. The indicator plots this combined metric as a red line directly on the price chart. The main setting controls the lookback length for the ATR

Indicator v4 Volatility & bandsVolume
Updated 7 months ago · None stated GitHub repository of VW-ATR Strategy

AI Debug Helper

by monch1962
3 stars

AI Debug Helper is a Pine Script indicator that provides AI-powered debugging suggestions for PineScript code. It loads a simulated database of common error patterns such as series index out of bounds, division by zero, Na propagation, infinite loops, and best

Indicator v5 AI / machine learningScreeners & dashboards
Updated 7 months ago · None stated GitHub repository of AI Debug Helper
3 stars

Calculates and plots ICT concepts on the price chart, including Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) levels identified through fractal swings. The indicator detects liquidity sweeps, identifies Premium and Discount valuation zones with an Equ

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of ICT SSL Premium & Discount

Regard Hodler's Profile

by regardhodler
3 stars

The Regard Hodler's Profile indicator plots a volume profile on the price chart. It analyzes the last lookback bars to bin prices and accumulate buy and sell volumes based on candle direction. Stacked green and red bars appear at each price level, with a dashe

Indicator v6 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Regard Hodler's Profile

RitstaR-Algo

by ritstar
3 stars

This overlay indicator scores each confirmed bar from zero to six using fast, slow, and trend EMAs, higher-timeframe bias, RSI, MACD, ATR, and volume. It plots buy and sell labels when the score meets the minimum entry threshold and exit labels when the opposi

Indicator v5 TrendOscillators & momentum
Updated 8 months ago · None stated GitHub repository of RitstaR-Algo

JINADA Down

by cathxrsys
3 stars

JINADA Down is a multi-oscillator visualizer rendered in a separate chart pane. It constructs an oscillator map using Momentum, Commodity Channel Index, Stochastic, and RSI metrics. The indicator calculates and identifies standard and hidden bullish and bearis

Indicator v6 Oscillators & momentumDivergence
Updated 9 months ago · GPL-3.0 GitHub repository of JINADA Down

Liquidity Health Index (LHI)

by LucasRibeiroCaetano
3 stars

This indicator plots a composite Liquidity Health Index in a separate pane. It averages four 0 to 100 scores: the US 10-year minus 2-year yield spread, an inverse CBOE VIX score, an inverse MOVE index score, and the year-over-year change in the Fed balance she

Indicator v6 Volatility & bandsScreeners & dashboards
Updated 11 months ago · Custom licence GitHub repository of Liquidity Health Index (LHI)

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