Pine Library · 4,367 open-source scripts

Free Pine Script v6 Scripts (page 6)

Scripts written for Pine Script version 6, the current version of TradingView's language. They paste into the Pine Editor and run as they are.

Pine scripts4,367
Code shown here2,412open licence
Updated in a year4,021
No repaint flag3,857

Pine Script v6: Indicators, Strategies and Libraries

Apex Signal Matrix Pro

by farbodghasemlu
2 stars

Apex Signal Matrix Pro is an overlay indicator that scores long and short bias from trend, momentum, structure, participation, and risk-reward. It plots entry and strong-entry signals when a smoothed score clears thresholds and the directional spread exceeds a

Indicator v6 TrendOscillators & momentum
Updated 8 months ago · Custom licence GitHub repository of Apex Signal Matrix Pro
2 stars

This indicator calculates the Bollinger Band Width Percentile (BBWP) across multiple selectable timeframes to assess relative volatility levels. It evaluates the current bandwidth against historical lookback periods and plots percentile values alongside moving

Indicator v6 Volatility & bands
Updated 9 months ago · None stated GitHub repository of Bollinger Band Width Percentile - Multi Time Frame

This indicator plots Bollinger Bands and Keltner Channel on the price chart to analyze volatility and price action. It supports switching between Bollinger Bands, Keltner Channel, Parallel Channels, and VWAP Bands. Users select the source price, moving average

Indicator v6 Volatility & bandsMoving averages
Updated 9 months ago · MPL-2.0 GitHub repository of Bollinger Bands + Keltner Channel Refurbished

This indicator detects breakout signals on the price chart when volume exceeds a threshold, a gap appears, or a strong candle forms, combined with an upward MA50 trend. It plots MA10, MA50, MA150 and MA200 for reference and places entry and exit labels directl

Indicator v6 BreakoutMoving averages
Updated 10 months ago · MIT GitHub repository of Breakout Strategie + MA Labels + Stops

QQE + AK Trend + EFI

by realanthonyc
2 stars

Combines Quantitative Qualitative Estimation (QQE), AK Trend calculation, and Elder Force Index (EFI) into a single indicator pane. It calculates a smoothed RSI-based QQE histogram with Wilder's ATR factor, integrates dynamic timeframe scaling for the AK Trend

Indicator v6 Oscillators & momentumTrend
Updated 10 months ago · MPL-2.0 GitHub repository of QQE + AK Trend + EFI
2 stars

Better Volume PRO v2.0 calculates volume distribution, estimating buying and selling pressure to derive a volume delta and confidence score. The confidence scoring system evaluates candle structure, VWAP coherence, relative volume, and multi-bar consistency. H

Indicator v6 VolumeScreeners & dashboards
Updated 11 months ago · MIT GitHub repository of Better Volume PRO v2.0 (Enhanced + Stats)

[TradingX] SMA|EMA

by TradingX-TF
2 stars

This indicator plots six moving averages on the price chart. Each line is independently set as an SMA or EMA, with default lengths of 11, 22, 50, 100, 200 and 360. It draws colored plots and optional labels that name each length and type. When enabled, it high

Indicator v6 Moving averages
Updated 11 months ago · None stated GitHub repository of [TradingX] SMA|EMA

Magic Sequential 9

by realanthonyc
2 stars

Magic Sequential 9 tracks price sequences by comparing the current close to the close four bars prior, drawing numerical markers on the chart for counts seven, eight, and nine. It incorporates an optional Average True Range volatility threshold to filter out s

Indicator v6 TrendVolatility & bands
Updated 11 months ago · MPL-2.0 GitHub repository of Magic Sequential 9
2 stars

The MA/EMA + RSI Trend & Pullback indicator combines moving averages with the RSI oscillator to determine trend direction and identify pullback opportunities for entries and exits. It plots fast and slow MAs on the price chart along with the RSI, and applies b

Indicator v6 TrendOscillators & momentum
Updated 11 months ago · None stated GitHub repository of MA/EMA + RSI Trend & Pullback

FVG [atrader934]

by Ahmedhub934
2 stars

The script identifies bullish and bearish Fair Value Gaps (FVGs) on the current or specified timeframe. It plots auto-updating boxes and labels directly on the price chart to highlight detected gaps. Main settings control box extension in bars, fill and border

Indicator v6 SMC / ICT / price action Repaints
Updated 11 months ago · MIT GitHub repository of FVG [atrader934]

Normalized EFI

by realanthonyc
2 stars

Normalized EFI calculates a normalized variation of the Elder Force Index and plots it as an oscillator in a separate pane alongside a zero baseline. It scales percentage price changes by relative volume, defined as current volume divided by an exponential mov

Indicator v6 VolumeOscillators & momentum
Updated 11 months ago · MPL-2.0 GitHub repository of Normalized EFI
2 stars

This indicator identifies swing pivot points using an external signal library configured with depth, deviation, and backstep parameters. It calculates market direction changes and plots buy and sell signal labels directly on the price chart. Users can configur

Indicator v6 Support & resistanceTrend Repaints
Updated 12 months ago · None stated GitHub repository of Buysellsignal-Yashgode9

VWAP Price Channel Enhanced

by realanthonyc
2 stars

Calculates an adaptive price channel anchored to Donchian extremes, combining VWAP resets on dynamic highs and lows. The indicator automatically toggles between short-term and long-term calculation lengths based on the chosen timeframe. It plots upper and lowe

Indicator v6 TrendVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of VWAP Price Channel Enhanced

This indicator automatically detects and plots support and resistance areas on the price chart. It identifies reversal patterns using candlestick spikes, pivot points, and trend analysis while applying noise filtering for small candles. Areas get shaded with c

Indicator v6 Support & resistanceTrend
Updated 1 year ago · None stated GitHub repository of Trend Areas - Support/Resistance
2 stars

The Multi EMA + VWAP Combo indicator consolidates five Exponential Moving Averages (EMAs) and a Volume Weighted Average Price (VWAP) into a single chart overlay. It calculates five configurable EMAs (defaulting to 9, 21, 50, 100, and 200 periods) to track mult

Indicator v6 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Multi EMA + VWAP Combo

Complexity Trender

by panzmoravylab
2 stars

Complexity Trender is an indicator that combines EMA crossovers, RSI momentum, Stochastic signals, Bollinger Bands, ADX trend strength, volume analysis, and divergence detection to identify trends. It plots labels, trend lines, and a summary table directly on

Indicator v6 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Complexity Trender

Trend Analyzer EMA Only

by panzmoravylab
2 stars

Trend Analyzer EMA Only is a price-chart indicator that compares a fast and a slow exponential moving average. It marks BUY and SELL when the averages cross, and it treats a trend as up or down only when both slopes agree and their relative gap exceeds a neutr

Indicator v6 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Trend Analyzer EMA Only
2 stars

This indicator plots an Exponential Moving Average directly on the price chart and dynamically changes its color based on the market trend. When the closing price is above the moving average, the line and background tint turn green to indicate bullish conditio

Indicator v6 Moving averagesTrend
Updated 1 year ago · MIT GitHub repository of 200 EMA with Trend Color

15M

by etnt
2 stars

15M is an intraday chart overlay designed for 15-minute timeframes. It plots a volume-weighted moving average (VWMA) alongside a simulated 5-day moving average calculated from user-defined daily trading hours. The script detects several classic candlestick pat

Indicator v6 Moving averagesCandlestick patterns
Updated 1 year ago · MPL-2.0 GitHub repository of 15M

Color

by Electrified-Trading
2 stars

Color is a Pine Script utility library designed for advanced color manipulation and comparison within scripts. It provides helper methods to compare two color instances across RGB and transparency channels, calculate relative color luminosity, and determine hi

Library v6
Updated 1 year ago · MPL-2.0 GitHub repository of Color
2 stars

The Multi-Indicator Trading System is an indicator that plots EMAs on the price chart. It calculates EMA50 and EMA200 crossovers on the 15-minute timeframe, with optional trend filters from 1H or 4H timeframes. Confirmations come from RSI, MACD, Bollinger Band

Indicator v6 TrendMoving averages
Updated 1 year ago · MIT GitHub repository of Multi-Indicator Trading System

Custom Strong Levels

by ashwagamma
2 stars

This indicator identifies key support and resistance price levels and automatically plots trendlines connecting major highs and lows directly on the price chart. It tracks price structure using custom level objects and processes 1-minute lower timeframe data t

Indicator v6 Support & resistanceTrend
Updated 1 year ago · None stated GitHub repository of Custom Strong Levels
2 stars

The Kairi Relative Index with Arrows indicator calculates the percentage deviation of a chosen price source relative to its Simple Moving Average. It plots green and red arrows when the KRI crosses above or below the zero line, signaling potential bullish or b

Indicator v6 Oscillators & momentumMoving averages
Updated 1 year ago · MIT GitHub repository of Kairi Relative Index with Arrows

Tik 1 USD

by keiru517
2 stars

Tik 1 USD is an overlay indicator that plots a grid of horizontal price level lines across a specified price range. The script iterates from a configurable start ratio to an end ratio in fixed increments, drawing color-coded extended lines directly on the main

Indicator v6 Support & resistance
Updated 1 year ago · None stated GitHub repository of Tik 1 USD
2 stars

This indicator tracks and visualizes the previous hourly price range directly on the chart. When an hourly bar closes, it draws a shaded rectangular box spanning the highest and lowest prices of that 60-minute period. As a new hourly session forms, earlier box

Indicator v6 Support & resistanceSessions & time
Updated 1 year ago · MPL-2.0 GitHub repository of PriceCatch - Previous Hour Range

1-Minute ATR Table

by ryangaraygay
2 stars

This indicator calculates 1-minute Average True Range (ATR) values for three different period lengths: 5, 8, and 14. It applies predefined multipliers to these ATR values to compute estimated stop-loss distances in price ticks. The output is displayed in a cus

Indicator v6 Volatility & bandsScreeners & dashboards
Updated 1 year ago · MIT GitHub repository of 1-Minute ATR Table

Table Test

by hikari112
2 stars

Table Test is a Pine Script v6 indicator that renders a precomputed ASCII-art image in a table in a separate pane. Integer arrays store character indexes for each image row, and the script maps those indexes to ASCII glyphs so the picture appears as text. A si

Indicator v6
Updated 1 year ago · None stated GitHub repository of Table Test

Advance Trading Script

by devgaganin
2 stars

This overlay indicator applies a recursive multi-pole filter to a chosen price source and is set up to scale that filter with a filtered true range. The pole count selects the filter order from one to nine, while the sampling period controls how quickly the sm

Indicator v6 TrendMoving averages
Updated 1 year ago · GPL-3.0 GitHub repository of Advance Trading Script
2 stars

This indicator marks regular New York Stock Exchange (NYSE) session open (9:30 AM ET) and close (4:00 PM ET) times directly on the price chart. It draws vertical lines and descriptive text labels at historical session boundaries and projects lines forward for

Indicator v6 Sessions & time
Updated 1 year ago · MIT GitHub repository of NYSE Market Lines & Labels
2 stars

The Refined Multi-TF Crypto Analyzer plots technical analysis signals on the main price chart by combining multi-timeframe moving averages, RSI, ADX, and volume spikes. It checks for trend alignment between the chart timeframe and a higher timeframe, identifie

Indicator v6 TrendOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Refined Multi-TF Crypto Analyzer

Gamma/X Killzone Sweeps

by OverleveragedWhale
1 stars

An indicator that watches four ICT-style killzones (Asia, London, New York AM and PM) for a sweep of the previous killzone's high or low followed by a close back inside. It marks the setups on the price chart with a fixed target, a stop just past the wick, opt

Indicator v6 SMC / ICT / price actionSessions & time
Updated yesterday · None stated GitHub repository of Gamma/X Killzone Sweeps

Asif 4H TP5 and MS Break

by Asifali549
1 stars

A long-only strategy for crypto on the 4-hour chart that combines two entry types: an Ichimoku plus market structure break signal, and a structure break confirmed by a volume spike. Trend EMAs and a volume multiple filter entries, and each signal type has a co

Strategy v6 BreakoutTrend
Updated yesterday · None stated GitHub repository of Asif 4H TP5 and MS Break

BD Trading Cockpit

by BD-Chess
1 stars

A separate-pane indicator that gathers several readings into one table: a percentage ZigZag, a multi-timeframe consensus across up to eight selectable timeframes, a short-term sync momentum check between two symbols (Bitcoin and Ethereum by default), and an MD

Indicator v6 Screeners & dashboardsTrend
Updated yesterday · None stated GitHub repository of BD Trading Cockpit

Area Momentum

by xopromo
1 stars

An indicator on the price chart that treats the distance between price and a moving average as an area. It enters when the growth of that area has accelerated for a set number of bars and exits when growth slows. Settings pick the average type (SMA, EMA, WMA o

Indicator v6 Moving averagesOscillators & momentum
Updated yesterday · None stated GitHub repository of Area Momentum
1 stars

A regime-first signal engine for the price chart. It classifies the market stage with a long moving average on an automatically chosen timeframe, then looks for setups: trend pullback, base breakout, stage-two entry, and two bottom-reversal types after heavy s

Indicator v6 TrendBreakout Repaints
Updated yesterday · None stated GitHub repository of Institutional Buy & Sell v9.4
1 stars

This indicator calculates and plots the standard Average Directional Index (ADX) to measure overall trend strength. It calculates positive and negative directional movement against the true range using RMA smoothing to derive the directional index, which is th

Indicator v6 TrendOscillators & momentum
Updated yesterday · Custom licence GitHub repository of Average Directional Index

Matrix Trend BTR

by natalivm
1 stars

A price-chart overlay that draws an Ichimoku-style cloud and a moving average, then prints buy and sell triangles from a chosen engine: RSI crossing its average in the cloud trend direction, EMA trend reversals, or manual price-level rules. Extra optional sign

Indicator v6 TrendOscillators & momentum
Updated yesterday · None stated GitHub repository of Matrix Trend BTR
1 stars

A smart money concepts indicator that marks market structure swings, momentum-filtered structure breaks, order blocks with a point of control and a high probability zone score, fair value gaps, liquidity sweeps and equal highs or lows. An optional confluence e

Indicator v6 SMC / ICT / price actionSessions & time
Updated yesterday · None stated GitHub repository of AlphaX Structure Flow Pro

Seasonality Check

by Va3elina
1 stars

A separate-pane indicator that recomputes yearly seasonality statistics from the chart's own history. It collects close-to-close returns for each calendar month and each year's year-to-date return, starting from a chosen year, and averages them. The aim, per t

Indicator v6
Updated yesterday · None stated GitHub repository of Seasonality Check
1 stars

A price-chart indicator for leveraged turbo and mini products on stocks, built on the daily 14-period RSI. It computes the price at which today's close would take the daily RSI below the oversold level, using the previous day's averages, and works on intraday

Indicator v6 Mean reversionOscillators & momentum Repaints
Updated yesterday · None stated GitHub repository of RSI 30 Turbo Levels
1 stars

Marks the Asia session range on the price chart with a box, high and low lines and Fibonacci retracement levels, and does the same for Monday's range. A display mode filters the levels to all, strong or strongest, where strength reflects confluence outside the

Indicator v6 Sessions & timeSupport & resistance
Updated yesterday · None stated GitHub repository of Asia Session Fib Retracement
1 stars

An overlay for same-day expiry credit spreads on the S&P 500 index that reproduces signals from the author's separate backend. It watches an opening observation window, then flags directional entries when stochastic, RSI, trend, a VWAP alignment gate and a con

Indicator v6 Sessions & timeMean reversion
Updated yesterday · None stated GitHub repository of ZeroDTE Backend Mirror

Dip2Green PRO

by mcgary6567-lab
1 stars

A Pine v6 indicator that looks for a dip followed by confirming candles. A long setup is an oversold red flush followed by green candles, and a short setup is an overbought green move followed by red candles. A composite score from RSI depth, range against ATR

Indicator v6 Mean reversionOscillators & momentum
Updated yesterday · None stated GitHub repository of Dip2Green PRO

SURGE Sentinel

by Reckless2316
1 stars

A Pine v6 overlay for crypto charts that scores several confluence layers across the chart timeframe, a middle timeframe and a higher timeframe, with an optional reference asset. A signal fires only when the winning score, the number of agreeing layers and the

Indicator v6 TrendVolatility & bands Repaints
Updated yesterday · None stated GitHub repository of SURGE Sentinel

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