Pine Library · 4,367 open-source scripts

Free Pine Script v6 Scripts (page 10)

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

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
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

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

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

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 2 months ago · MIT GitHub repository of Smart Money Concepts V3.5.5 - Confluence Learning Engine
1 stars

A strategy that trades only when a fast and slow EMA crossover agrees with an RSI filter and an external signal input. Optional filters add a 200 EMA trend check, a volume multiple and MACD confirmation. Exits use a chandelier and ATR trailing stop with an eme

Strategy v6 TrendOscillators & momentum
Updated 3 months ago · MIT GitHub repository of NEXYROTH x AlgoPro Hybrid

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

Super Duper Trend

by shahrukhhaider
1 stars

A strategy built on a SuperTrend line using an ATR period and multiplier, entering when the trend direction flips and sizing trades by a fixed amount input. Optional exits can be enabled: a faster SuperTrend, an ATR trailing stop, an EMA exit, and fixed percen

Strategy v6 TrendVolatility & bands
Updated 3 months ago · Custom licence GitHub repository of Super Duper Trend

PineFlow v6 — ORB Risk Strategy

by loveyuanfandj-glitch
1 stars

PineFlow v6 — ORB Risk Strategy executes opening range breakout trades filtered by trend and momentum indicators. It defines an initial opening range and trades breakouts during the active trading session when aligned with fast and slow EMAs, ADX momentum, and

Strategy v6 BreakoutSessions & time
Updated 3 months ago · MIT GitHub repository of PineFlow v6 — ORB Risk Strategy
1 stars

MTF Confluence Strategy is a Pine Script strategy that generates long and short signals based on Supertrend flips on the chart timeframe confirmed by Supertrend on a higher timeframe. Signals require ADX above a threshold for trending conditions and optional v

Strategy v6 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of MTF Confluence Strategy

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

EMA Crossover Strategy

by jaichaturvedi88
1 stars

A simple long-only strategy written for an Indian rupee account. It buys when the close is above a short EMA, default 9, and closes the position when the high falls below a longer EMA, default 26. Order size is a fixed rupee amount divided by price, and tradin

Strategy v6 Moving averagesTrend
Updated 3 months ago · None stated GitHub repository of EMA Crossover Strategy

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

EMA Gold Trader 2026

by alexhb-maker
1 stars

An overlay for the price chart that plots a 60-period EMA, a 60-period double EMA and a 200-period EMA. It marks a buy triangle when the previous close sits above both the EMA and the double EMA, and a second triangle when the EMA crosses above the double EMA.

Indicator v6 TrendMoving averages
Updated 3 months ago · MIT GitHub repository of EMA Gold Trader 2026
1 stars

This indicator draws two ATR trailing stop lines on the price chart: a fast Sniper line and a slow Anchor line. A buy or sell trigger comes from the fast line flipping, and the README says it should agree with the slow line's direction. A session filter shades

Indicator v6 TrendVolatility & bands
Updated 3 months ago · MIT GitHub repository of Phoelix 15min Sniper Bot - Raw Ride Edition

Crypto Sniper 1H

by balax-studio
1 stars

A multi-timeframe crypto signal indicator designed for the 1-hour chart. It combines Bollinger Bands, Keltner Channels, RSI and EMAs with sweep and fair value gap patterns, a smoothed Williams %R confirmation from 15-minute data, 4-hour ATR for volatility and

Indicator v6 Volatility & bandsSMC / ICT / price action Repaints
Updated 3 months ago · None stated GitHub repository of Crypto Sniper 1H
1 stars

A comprehensive fundamental analysis dashboard overlay tailored for the Indonesian Stock Market (IDX). It evaluates stocks across up to seven dimensions: Value, Quality, Growth, Health, Income, Momentum, and an optional Indonesia macro factor. The script autom

Indicator v6 Screeners & dashboards
Updated 3 months ago · MIT GitHub repository of Saham: Papan Instrumen
1 stars

Papan Gerak is a multi-dimension technical analysis dashboard aimed at Indonesian stocks. This base module declares the indicator in a separate pane and stores the display and calculation settings used by the dashboard. It covers table position, font size, com

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · MIT GitHub repository of Saham: Papan Gerak By. Akhmfz

BTC Master Window Analysis

by ShubhRanpara
1 stars

This overlay indicator divides Bitcoin price history into repeating time windows measured in days, with an optional gap between windows and an optional custom start date that phase-locks each cycle. For each window it sets a center and upper and lower bounds f

Indicator v6 Support & resistanceBreakout
Updated 3 months ago · MIT GitHub repository of BTC Master Window Analysis

EMA Cross (Clean)

by ForexCodes-hq
1 stars

A small Pine v6 example strategy that goes long when a 12-period EMA crosses above a 26-period EMA, and only acts on a confirmed bar. After entry it attaches a fixed stop loss placed a set number of points below the average entry price, set by one input. There

Strategy v6 Moving averagesTrend
Updated 3 months ago · MIT GitHub repository of EMA Cross (Clean)
1 stars

The ATR Breakout Channel strategy detects breakouts by comparing the current close price to the high or low of the previous 20 bars, forming a channel. Entries occur when the price breaks through the channel in the trend direction of a 200-period EMA if the tr

Strategy v6 BreakoutTrend
Updated 3 months ago · MIT GitHub repository of ATR Breakout Channel [QuantForge]

Research Alpha Subset

by woodstock-tokyo
1 stars

A Pine v6 indicator in a separate pane that plots seven research formulas, each as its own line. They combine drawdown from a recent high with relative volume, inverted short RSI values, a panic-sell reversal term, a five-bar return minus a share of the twenty

Indicator v6 Oscillators & momentumMean reversion
Updated 3 months ago · None stated GitHub repository of Research Alpha Subset

Fat Tail System vFinal.2

by zyuzhong470
1 stars

A strategy that looks for a volatility squeeze using a normalised Bollinger Band width, then waits for rising linear regression slope momentum and a break above recent resistance before entering. Exits use an ATR-multiple stop loss, an optional reward-to-risk

Strategy v6 BreakoutVolatility & bands
Updated 3 months ago · None stated GitHub repository of Fat Tail System vFinal.2

GEKO Gold

by grzegorzkowalskigk-jpg
1 stars

GEKO Gold is a trend-following indicator for gold (XAUUSD/MGC). It computes a GEKO-TIMID composite trend strength score by blending weekly and daily EMAs and ADX values, then classifies the trend into Emerging, Dominant or Extended states. The indicator plots

Indicator v6 TrendMoving averages
Updated 3 months ago · Custom licence GitHub repository of GEKO Gold

Fractal Model (TTrades)

by abhinaynatraj
1 stars

An overlay that draws higher-timeframe candles beside the current chart and adds T-spot detection, sweep logic and fractal model labelling. The higher timeframe is chosen automatically or set manually, with a bias setting, remaining-time timer, labels and an i

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Fractal Model (TTrades)

Auric Sentinel

by arslanahmad429
1 stars

A multi-layer overlay that combines an EMA ribbon with a higher-timeframe EMA and price context, swing-based order blocks, a premium and discount zone, session and volatility filters, and a risk table. Settings choose the EMA lengths, swing bars, invalidation

Indicator v6 SMC / ICT / price actionTrend
Updated 4 months ago · None stated GitHub repository of Auric Sentinel
1 stars

BottleRocket Pivot Breakout is an intraday trading strategy designed to capture breakout moves above daily pivot levels. It derives floor trader pivots and ATR values from prior-day session data to avoid lookahead bias. Entries are filtered using a minimum sto

Strategy v6 BreakoutSupport & resistance Repaints
Updated 4 months ago · None stated GitHub repository of BottleRocket Pivot Breakout
1 stars

A Pine v6 strategy for 15-minute Bitcoin perpetual charts that trades RSI momentum breakouts. It enters long or short when RSI pushes through set levels plus a gap, with optional candle color, EMA 200 trend, ATR range and body-size filters, and a pullback re-e

Strategy v6 Oscillators & momentumTrend
Updated 4 months ago · None stated GitHub repository of BTC RSI Momentum v20

LSC Pattern

by mrdungx2603
1 stars

LSC Pattern is an on-chart indicator designed to detect three-bar price reversal patterns known as LSC Low and LSC High. An LSC Low bullish pattern occurs when the second bar forms a local trough relative to its adjacent bars and the third bar closes above the

Indicator v6 Candlestick patterns
Updated 4 months ago · None stated GitHub repository of LSC Pattern

Toxic Flow Radar

by omm9846
1 stars

A volume-based order flow gauge in a separate pane. It estimates buying and selling volume from each candle's close position within its range, then measures how one-sided that flow has been over a rolling window, in the style of VPIN. Columns turn green or red

Indicator v6 VolumeOscillators & momentum
Updated 4 months ago · MIT GitHub repository of Toxic Flow Radar
1 stars

An overlay that scans for trend-continuation pullbacks. It reads a 1-hour EMA stack for bias, waits for a close through the latest confirmed swing to mark a market structure shift, then draws the 0.62 to 0.79 Fibonacci optimal trade entry zone of that leg. A s

Indicator v6 SMC / ICT / price actionTrend
Updated 4 months ago · None stated GitHub repository of Market Structure + OTE

Sentinel Intelligence Strategy

by FolahanWilliams
1 stars

A strategy that trades mean reversion using a composite score built from RSI, MACD, 50 and 200 SMA trend, Bollinger bands, Z-score and volume. Longs and shorts trigger when oversold or overbought readings agree with a confidence gate, with filters against buyi

Strategy v6 Mean reversionOscillators & momentum
Updated 4 months ago · None stated GitHub repository of Sentinel Intelligence Strategy
1 stars

Identifies 3-candle price patterns that combine structural liquidity sweeps with candle breaks. In a bullish pattern, a second candle sweeps the low of an initial bearish candle before closing above its open, followed by a third candle closing above the previo

Indicator v6 Candlestick patternsSMC / ICT / price action
Updated 4 months ago · None stated GitHub repository of 3-Candle Pattern Clean

Asia Session Box

by riegodavid-git
1 stars

A small overlay indicator that draws a box around a fixed 30-minute window each day, defined in Philippine time (Asia/Manila). The only timing input is the start hour, 7 by default, so the window runs from the start of that hour to half past. The box expands t

Indicator v6 Sessions & timeSupport & resistance
Updated 4 months ago · None stated GitHub repository of Asia Session Box

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