Synced with GitHub · updated yesterday

Free TradingView Pine Scripts

10,850 free, open-source indicators, strategies and libraries for TradingView. Copy any script and paste it into the Pine Editor to use it on your chart.

New scripts by RSS
10,850 scripts

Minervini Pressure

by ankurksoni
1 stars

A separate-pane indicator that measures buying versus selling pressure from volume. Over a chosen lookback, default 20 bars, it sums volume on up candles and on down candles and plots the difference as a share of the total on a scale from minus 100 to plus 100

Indicator v6 VolumeOscillators & momentum
Updated 2 days ago · None stated GitHub repository of Minervini Pressure

Expectancy Lab

by jayadevrana
1 stars

Expectancy Lab plots fast and slow exponential moving averages on the price chart to generate crossover signals. It simulates one trade at a time using an ATR-based stop loss and a risk-to-reward target multiplier. The script tracks historical trade outcomes t

Indicator v6 Moving averagesTrend
Updated 3 days ago · MPL-2.0 GitHub repository of Expectancy Lab

SMC Context Overlay

by skipp-dev
1 stars

SMC Context Overlay ingests context data inputs to render Smart Money Concepts elements directly on the price chart. It visualizes market structure events such as Break of Structure (BOS), Change of Character (CHOCH), support and resistance levels, as well as

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · None stated GitHub repository of SMC Context Overlay

Courier UDT Return Method

by pineforge-4pass
1 stars

A long-only strategy that builds a volatility envelope from an EMA centre and an ATR width using a custom type and a method. It enters long when the close crosses above the centre plus a multiple of the width. It exits when the close falls below the centre, or

Strategy v6 Volatility & bandsBreakout
Updated 6 days ago · Apache-2.0 GitHub repository of Courier UDT Return Method

Limit Verification Probe R2

by GammaExpansion
1 stars

This strategy probes limit order verification across four modes in a cycling pattern. It opens positions using resting limits, marketable limits, stop-limits, or exit limits with an offset. The script runs cycles to verify order behavior and plots probe values

Strategy v6 Screeners & dashboardsSupport & resistance
Updated 6 days ago · MIT GitHub repository of Limit Verification Probe R2

TorkEma

by engtuncay
1 stars

This indicator calculates and plots a standard exponential moving average (EMA) directly on the main price chart. Users can customize the calculation period length and the input price source. The script renders a single orange line overlaying price action to a

Indicator v5 Moving averagesTrend
Updated 6 days ago · None stated GitHub repository of TorkEma

7/19 EMA Crypto

by kanylbullen
1 stars

The 7/19 EMA Crypto strategy calculates two exponential moving averages using lengths 7 and 19. It plots bullish crossovers as long signals and bearish crossovers as short signals directly on the price chart. Long positions enter on bullish EMA crossovers and

Strategy v5 TrendMoving averages
Updated 7 days ago · None stated GitHub repository of 7/19 EMA Crypto

An indicator that estimates per-bar delta from open, high, low, close and volume, scaling volume by where the close sits within the bar range. It rebuilds a session profile binned by price and draws it as teal and orange horizontal bars to the right of price,

Indicator v6 Volume
Updated 7 days ago · GPL-3.0 GitHub repository of Delta Break and Retest Stage 1 Delta Engine
1 stars

DEPV2 B1 Seviyeler calculates and plots key high-timeframe price levels across weekly, monthly, and yearly periods. For each period, it tracks the current open, high, and low, along with the previous period's high, low, and close values. The indicator uses cus

Indicator v6 Support & resistance
Updated 12 days ago · None stated GitHub repository of DEPV2 B1 Seviyeler (W/M/Y)

SR+Trend v12 (backup)

by MuhammadMuhamid
1 stars

A backup copy of a long-only crypto spot strategy built on multi-timeframe pivot support and resistance. It enters when price retests a support zone and holds, with an option to flip broken resistance into support. Further switches add moving average, SuperTre

Strategy v6 Support & resistanceTrend
Updated 12 days ago · None stated GitHub repository of SR+Trend v12 (backup)

This indicator scans and ranks a custom watchlist of up to nine symbols alongside a benchmark reference symbol by daily ATR percentage. It computes the Average True Range as a percentage of the close using daily timeframe security calls without lookahead bias.

Indicator v6 Screeners & dashboardsVolatility & bands
Updated 13 days ago · MPL-2.0 GitHub repository of Taught to Trade — Volatility Scanner (ATR%)

Market Cipher B

by kasutu
1 stars

A community imitation of the Market Cipher B oscillator, drawn in a separate pane. It plots a WaveTrend oscillator with a fast line, overbought and oversold levels, and dots at wave crossings, including buy, sell, gold and divergence dots. It also includes a s

Indicator v5 Oscillators & momentumDivergence
Updated 2 weeks ago · None stated GitHub repository of Market Cipher B

TQE Trade Quality Engine

by AssetWhisper
1 stars

An overlay indicator that combines several statistical modules into a single trade planning panel. For a long or short direction, chosen automatically or manually, it proposes an ATR-based stop widened for tail risk, a target R multiple optimised for expectanc

Indicator v5 Volatility & bandsSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of TQE Trade Quality Engine

Bmoon System Signals

by morindok
1 stars

Bmoon System Signals is a fractal-based mirror indicator that overlays on the price chart. It calculates mirrored price levels using two user-defined mirror levels (P1 and P2) with options for logarithmic or arithmetic mirroring. The indicator detects multi-ba

Indicator v6 Support & resistanceTrend
Updated 7 weeks ago · None stated GitHub repository of Bmoon System Signals

MM Trap Pro

by Alaamo7
1 stars

MM Trap Pro is an overlay indicator that detects volume-backed bull and bear trap patterns on the price chart. It calculates a simple moving average of volume and identifies high-volume candles with significant body percentages that fail to break previous high

Indicator v6 VolumeCandlestick patterns
Updated 2 months ago · Custom licence GitHub repository of MM Trap Pro

MA Suite

by vedkanani123
1 stars

An overlay indicator built around one selectable moving average, with an optional extra smoothing step. It reads trend from price above or below the average or from a rising average, and marks support and resistance touches within a percentage tolerance, plus

Indicator v6 Moving averagesTrend
Updated 2 months ago · None stated GitHub repository of MA Suite
1 stars

This Pine Script v6 strategy detects classic divergences between price action and the Stochastic oscillator in a separate pane. Bullish divergences trigger long entries when price forms lower lows while %D forms higher lows. Bearish divergences trigger short e

Strategy v6 DivergenceOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Stochastic Divergence Strategy

Polish Setup Strategy

by GreyssonEnterprises
1 stars

A Pine v5 strategy that uses smoothed moving averages of 21, 50 and 200, W and M pattern recognition with an optional volume check, an RSI midline filter and a time-zone trading session. Targets use extension levels, risk per trade is a base percentage capped

Strategy v5 Moving averagesSessions & time
Updated 2 months ago · MIT GitHub repository of Polish Setup Strategy

Liquidity Heatmap

by VVASILEVSS
1 stars

A Pine v5 overlay that estimates liquidation price levels and draws them as horizontal lines on the price chart. When volume is above its 14-bar average, a bullish candle adds a long liquidation line below the low and a bearish candle adds a short line above t

Indicator v5 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Liquidity Heatmap
1 stars

This indicator merges the Quantum Flow v19.1 gold smart money engine with an RSI cross module on the price chart. The RSI module shows faded buy and sell marks on a normal cross and stronger high probability marks when the cross occurs inside a Quantum Flow zo

Indicator v6 SMC / ICT / price actionOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Quantum Flow v19.1 + RSI Edge
1 stars

Plots an exponential moving median on the price chart as a comparison with the standard EMA. For each bar it takes a window of recent prices, gives nearer bars exponentially larger weights, sorts the prices and returns the value where cumulative weight reaches

Indicator v5 Moving averages
Updated 3 months ago · None stated GitHub repository of Exponential Moving Median (EMM)
1 stars

This strategy executes trades based on Triangular Moving Average (TMA) crossings, Support and Resistance filters (such as Daily Pivots, Anchored VWAP, and 5-day moving averages), and volume or percentage gain criteria. Exits are driven by specific session time

Strategy v6 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of STT SR TMA Scale ExitOnly Plan

Strategy Template

by mrdungx2603
1 stars

This is a Pine Script v6 strategy template that sets up a trading strategy drawing on the price chart. It includes inputs for data source, fast and slow length parameters, take profit and stop loss percentages, and a time-based trading session filter. The stra

Strategy v6 Moving averagesTrend
Updated 4 months ago · None stated GitHub repository of Strategy Template

RSI XO

by riegodavid-git
1 stars

A minimal overlay indicator that calculates an RSI and marks extremes directly on the price chart. A white O appears above a bar when the RSI is above the overbought level, and a white X appears below a bar when it is below the oversold level. RSI length, over

Indicator v6 Oscillators & momentumMean reversion
Updated 4 months ago · None stated GitHub repository of RSI XO

KLSE Trend Template

by kevinesk
1 stars

This indicator evaluates Mark Minervini's Trend Template criteria directly on the price chart. It checks eight technical conditions based on 21, 50, 150, and 200-period exponential moving averages, alongside 52-week (260-bar) highs and lows. The script plots t

Indicator v5 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of KLSE Trend Template

Intraday Trading

by rubbermetal
1 stars

Intraday Trading is an indicator that combines a fast MACD built from simple moving averages with an EMA structure made of a 50-period EMA of highs, a 50-period EMA of lows and a 15-period EMA of closes. Long and Short labels appear when the MACD crosses its s

Indicator v6 TrendOscillators & momentum
Updated 4 months ago · MPL-2.0 GitHub repository of Intraday Trading

While Loop Counter

by Snappni
1 stars

This strategy sums the last len closing prices using a while loop then divides by len to obtain an average. It enters long when close exceeds the average and short when below. Positions close automatically on reversal. No stop loss is applied and entries occur

Strategy v6 Mean reversionTrend
Updated 4 months ago · MIT GitHub repository of While Loop Counter

Market Structure BOS & CHoCH

by shubhamtaywade82
1 stars

Labels break of structure and change of character events on the price chart, in a simplified smart money concepts style. It tracks both internal structure with short pivots and swing structure with longer pivots, drawing a line and label for each event. Settin

Indicator v6 SMC / ICT / price action Archived
Updated 5 months ago · None stated GitHub repository of Market Structure BOS & CHoCH

Talons RSI Divergence

by muammeryldrm42
1 stars

The Talons RSI Divergence strategy detects bullish and bearish divergences by combining RSI values with price pivots. It calculates RSI using a customizable period and identifies pivot highs and lows on both price and RSI with a lookback setting. Bullish diver

Strategy v5 Oscillators & momentumDivergence
Updated 5 months ago · None stated GitHub repository of Talons RSI Divergence

This overlay indicator maps crypto price action with a volume profile, anchored VWAP, and optional trend filters. It builds a lookback profile, value area, and acceptance tests around profile levels, and it can show right-side profile boxes. Anchored VWAP and

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v7.1 Conservative Clean
1 stars

This indicator plots three exponential moving averages and shades London and New York session hours on the price chart. It generates buy and sell signals when the fast EMA crosses the slow EMA in the direction of the 200 EMA trend filter. Entries require confi

Indicator v6 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Señales Intradía EMA + MACD
1 stars

An opening range tool for the price chart. At a set time in a chosen time zone, by default 8:30 in the Bogota zone, it records the high and low of the first five minutes and draws them as a box and lines. During a trading window of 90 minutes it signals a brea

Indicator v6 Sessions & timeBreakout
Updated 6 months ago · None stated GitHub repository of Primera Vela NY - 5m to 1m
1 stars

This compact indicator labels Elliott Wave counts on the price chart. It runs a zig-zag at several depths, chooses the depth that gives the best fit, and applies Elliott Wave rules, with a strict mode that forces an A-B-C count when the rules break. A correcti

Indicator v6 Support & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Mini Elliott Wave 2026-2

VWAP Volatility Bands

by Focal-QuantAI
1 stars

An indicator on the price chart that smooths a VWAP with a T3 moving average cascade and surrounds it with ATR-scaled volatility bands. The VWAP can reset each session, week or month. Optional bounce signals mark reactions from the outer bands in the direction

Indicator v6 Volatility & bandsVolume
Updated 6 months ago · None stated GitHub repository of VWAP Volatility Bands

Dragon Breakout

by AlanGuo
1 stars

A long strategy that plots five moving averages (25, 50, 100, 150 and 300 by default, SMA or EMA) and looks for a bullish candle that opens below and closes above at least a set number of them. The breakout must come on volume above a ratio of its recent avera

Strategy v6 BreakoutMoving averages
Updated 7 months ago · None stated GitHub repository of Dragon Breakout

SQZ+MOM - (Buy/Sell) Indicator

by gabriel-klettur
1 stars

This script calculates squeeze conditions by comparing Bollinger Bands with Keltner Channels and plots linear regression momentum lines directly on the main price chart. It checks whether Bollinger Bands fall inside Keltner Channels to identify volatility sque

Indicator v6 Volatility & bandsOscillators & momentum
Updated 7 months ago · None stated GitHub repository of SQZ+MOM - (Buy/Sell) Indicator
1 stars

This indicator calculates volume distribution across price slices over a lookback period and plots boxes on the price chart to represent high volume nodes. It measures volume in each slice and draws horizontal boxes whose width corresponds to volume intensity,

Indicator v6 VolumeSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of High Volume Nodes (HVN)
1 stars

A counter-trend indicator that complements a trend-following sibling. It looks for fading trends in two ways: four-hour EMAs narrowing together followed by a counter-cross on one hour, or RSI divergence on four hours with a rejection candle. A signal offset ca

Indicator v5 Mean reversionDivergence
Updated 7 months ago · None stated GitHub repository of V16 Trend Exhaustion Catcher

Scalper Quick Strike

by Basant1Saini
1 stars

Scalper Quick Strike is a Pine Script strategy that trades on intraday charts using multiple EMAs and Stochastic oscillator. It calculates fast medium and slow EMAs along with a smoothed Stochastic to detect trend alignment and momentum shifts. Long entries tr

Strategy v5 TrendOscillators & momentum
Updated 7 months ago · None stated GitHub repository of Scalper Quick Strike

QQQ Gamma (30DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for QQQ (the Nasdaq-100 ETF) expiring in thirty days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline fr

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of QQQ Gamma (30DTE)
1 stars

An overlay indicator that colours candles showing displacement, meaning a candle range far larger than normal. Candle range is measured open to close or high to low and compared with a standard deviation over a chosen length multiplied by a strength setting. B

Indicator v5 SMC / ICT / price actionVolatility & bands
Updated 9 months ago · None stated GitHub repository of Visualizing Displacement

ES Professional Fade

by knectardev
1 stars

The ES Professional Fade strategy trades overnight price gaps during regular trading hours on intraday charts. It establishes an opening range and enters counter-trend positions when price fails near overnight extremes. Positions target the previous day's clos

Strategy v5 Mean reversionSessions & time
Updated 9 months ago · None stated GitHub repository of ES Professional Fade
1 stars

This indicator plots a custom MACD oscillator directly on the main price chart while incorporating multi-depth Zigzag pattern detection. It supports four MACD calculation modes—Traditional, AS Histogram, Leader, and Source—with customizable fast, slow, and sig

Indicator v5 Oscillators & momentumMoving averages Repaints
Updated 9 months ago · None stated GitHub repository of MACD-X Overlay More Than MACD

About the Pine Script Library

The ForexR Pine Script Library collects open-source TradingView indicators, strategies and libraries that are published on GitHub. Every script links to its repository, so you can see the author's latest version, issues and licence. Where the licence allows it, the full code is on the script's page, ready to copy into TradingView's Pine Editor. Stars, updates and licences are synced from GitHub every day, and new scripts are added every week.

Each script is read automatically before it is listed: it must declare an indicator, strategy or library for Pine Script version 4 or later, and copies of the same code are listed only once. The summaries and tags are written automatically from the code and the README. They describe what a script does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Indicators and backtests describe the past. Check any strategy in the Strategy Tester and on a demo account before you trade with it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

Pine Script Library FAQ

What is Pine Script?

Pine Script is the programming language of TradingView. Indicators, strategies and libraries written in it run directly on TradingView charts: an indicator draws lines, zones or signals, a strategy places simulated trades that the Strategy Tester reports on, and a library holds functions other scripts can import.

How do I add a Pine Script to my TradingView chart?

Open a script here and press Copy script. In TradingView, open the Pine Editor at the bottom of the chart, create a new indicator or strategy, select all of the template text and paste over it. Press Save, then Add to chart. A strategy's trades appear in the Strategy Tester tab.

Are these Pine Scripts free?

Yes. Every script listed here is published on GitHub, so you can read and use it at no cost. ForexR shows the full code only when the author published it under an open licence, such as MIT, GPL or the Mozilla Public License that TradingView adds to new scripts. For other scripts the Copy button reads the file straight from GitHub. Check the licence before reusing code in your own work.

Why are there no Pine Script v3 or older scripts?

Pine Script versions 1 to 3 are years out of date and miss most of the functions current scripts rely on. The library lists scripts written for versions 4, 5 and 6, and you can filter by version. Version 6 is the current one.

What does "Repaints" mean?

A repainting script can change its signals after the fact: on the live bar, or when it reads a higher timeframe before that bar has closed. Its history then looks better than it would have traded in real time. Scripts where the code or the author says so are marked Repaints, and the "Hide repainting" filter leaves them out.

How does ForexR choose which scripts to list?

A crawler searches GitHub every week for Pine Script files, reads each one and keeps scripts written for Pine version 4 or later in repositories with at least one star. Copies of the same code are listed once, under the most-starred repository. Repositories that ship programs, hide downloads behind passwords or show signs of bought stars are left out. Stars, updates and licences are refreshed from GitHub every day, and the summaries are written automatically from each script's code and README.

Trade on TradingView With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers