Synced with GitHub · updated yesterday

Free TradingView Pine Scripts

8,340 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
8,340 scripts

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

MACD Crossover Strategy

by jaichaturvedi88
1 stars

This strategy plots on the price chart and trades long when the MACD line crosses above its signal line. It closes the long when the MACD line crosses back below the signal. Position size is the number of shares that a fixed ten thousand Indian rupees can buy

Strategy v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of MACD Crossover Strategy
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)

Fusion Cipher B Oscillator

by shahzaib-574
1 stars

The Fusion Cipher B Oscillator plots a multi-part momentum stack in a separate pane below the price chart. It calculates wave momentum with blue and white waves, money flow polarity, VWAP oscillator, RSI, Stochastic RSI, dots, and divergences. The script detec

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of Fusion Cipher B Oscillator
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

Non-repainting HTF EMA

by ForexCodes-hq
1 stars

This indicator plots an exponential moving average calculated from a user-defined higher timeframe directly on the price chart. It avoids repainting and lookahead bias by applying a one-bar historical offset to the higher-timeframe data with lookahead disabled

Indicator v6 Moving averagesTrend
Updated 3 months ago · MIT GitHub repository of Non-repainting HTF EMA
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]

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

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

Ultimate Trend Suite [AI] is an overlay indicator that combines trend identification, momentum, volume analysis, and smart money concepts. It generates buy and sell signals based on moving average crossovers confirmed by volume above its average. The script ca

Indicator v5 TrendVolume
Updated 4 months ago · None stated GitHub repository of Ultimate Trend Suite [AI]
1 stars

The Iron Condor Signal (Range Detector) is an overlay indicator that identifies range-bound, low-trend market conditions suitable for non-directional trading strategies. It calculates Bollinger Bands, the Average Directional Index (ADX), and the Relative Stren

Indicator v5 Volatility & bandsTrend
Updated 4 months ago · GPL-3.0 GitHub repository of Iron Condor Signal (Range Detector)

BB(10,2) + TP20 SameDay

by zraesdev-hub
1 stars

This strategy draws Bollinger Bands on the price chart and enters long when both the open and the close are below the lower band. Mode S1 exits the same day at a 20 percent take profit or forces a close if that target is missed. Mode S2 can hold for a set numb

Strategy v5 Volatility & bandsMean reversion
Updated 4 months ago · None stated GitHub repository of BB(10,2) + TP20 SameDay

RTE Overlay GBPUSD 5M

by Jagadeesh963
1 stars

This overlay indicator draws a fixed visual snapshot on the GBPUSD price chart only when the last bar is forming. It places a translucent box labeled FVG, a horizontal line and label marked MSS, and a text label reading GBPUSD bullish, all using hardcoded pric

Indicator v5 SMC / ICT / price action
Updated 4 months ago · None stated GitHub repository of RTE Overlay GBPUSD 5M

UT Bot v6

by Stolzel
1 stars

This indicator calculates and plots trend-following signals based on an adaptive UT Bot trailing stop mechanism on the price chart. Entry signals trigger on trailing stop crossovers, with sensitivity keys adjusting dynamically between trending and ranging mark

Indicator v6 TrendVolatility & bands
Updated 4 months ago · MIT GitHub repository of UT Bot v6
1 stars

Array Advanced Helpers is a Pine Script v6 strategy that plots on the price chart. It builds arrays from close, open, high and hl2 to compute the lowest and highest values along with the last index of the highest. Two EMAs with periods 8 and 21 generate crosso

Strategy v6 TrendMoving averages
Updated 4 months ago · MIT GitHub repository of Array Advanced Helpers

SMC / ICT Pro

by saadanezakaria6
1 stars

This overlay script identifies Smart Money Concepts (SMC) and ICT structure on the price chart. It detects swing pivots, Break of Structure (BOS), Change of Character (CHoCH), liquidity sweeps, order blocks, and Fair Value Gaps (FVG). Additionally, it plots an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of SMC / ICT Pro
1 stars

Calculates institutional liquidity sweeps across a configurable swing lookback period to trade market reversals directly on the price chart. It enters long when price dips below recent swing lows and closes back above, and enters short when price sweeps swing

Strategy v5 SMC / ICT / price actionSupport & resistance

Nexus Flow

by darkwader26
1 stars

Nexus Flow is a multi-dimensional trend and momentum indicator that combines EMA and ALMA trend detection with Supertrend consensus for adaptive trend filtering. It incorporates an adaptive RSI for momentum analysis with volatility-adjusted lookback and plots

Indicator v6 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Nexus Flow
1 stars

The script is an indicator that plots multiple moving averages on the price chart. It displays HMA 9, EMA 16, HMA 21, EMA 34 and EMA 50 lines with separate bullish and bearish colors plus optional band fills for each. Users toggle visibility of lines and fills

Indicator v6 Moving averages
Updated 5 months ago · None stated GitHub repository of EMA High/Low/Median Ribbon

Deep Trades Whales v4

by shubhamtaywade82
1 stars

Deep Trades Whales v4 is an indicator that detects large institutional trades by analyzing volume spikes against historical percentiles and Z-scores. It identifies whale activity through iceberg absorption patterns that require proximity to prior swing highs o

Indicator v6 VolumeVolatility & bands Archived
Updated 5 months ago · None stated GitHub repository of Deep Trades Whales v4

Talons BB Squeeze Breakout

by muammeryldrm42
1 stars

This strategy identifies Bollinger Band squeezes and enters positions on volatility breakouts. It defines a squeeze when the normalized band width over the last five bars drops below its 25th percentile over a configurable lookback window. When a breakout occu

Strategy v5 Volatility & bandsBreakout
Updated 5 months ago · None stated GitHub repository of Talons BB Squeeze Breakout
1 stars

This overlay strategy is built for MNQ on a five-minute chart and is meant to trade imbalance fair value gaps. It reads one-hour and two-hour closes against exponential moving averages for directional bias, and it flags liquidity sweeps of the previous day hig

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of IFVG Strategy – MNQ 5min

BOS & CHoCH [AFTHAB]

by kvmafthab-pixel
1 stars

This overlay indicator detects market structure on the price chart with two layers at once: internal structure on a five-bar leg and swing structure with a configurable length. It labels break of structure and change of character. After a break of structure, a

Indicator v6 SMC / ICT / price action
Updated 5 months ago · Custom licence GitHub repository of BOS & CHoCH [AFTHAB]

AMT ICT SMC v1

by latifangren
1 stars

This indicator plots premium and discount zones, equilibrium lines, fair value gaps (FVG) with center of equilibrium (CE) midpoints, inverted FVGs (IFVG), scored order blocks (OB), and CISD markers on the cryptocurrency price chart. It includes a compact dashb

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · MIT GitHub repository of AMT ICT SMC v1

Sentiment 2

by ggamer5555
1 stars

Sentiment 2 is a trend-following strategy that calculates a normalized composite market sentiment score ranging between 0 and 1. It combines exponential and Hull moving average slopes, high/low midpoints, Supertrend distances, and Parabolic SAR metrics. Plotte

Strategy v6 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Sentiment 2

Gold indicator

by H4RsH-25
1 stars

The Gold indicator plots the 20 SMA and 200 EMA on the price chart together with $2 proximity zones around the SMA. It generates strong long signals when price enters the zone from below, stays above the SMA and MACD histogram is positive. Strong short signals

Indicator v6 TrendOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of Gold indicator

BVortex

by Alberto082544
1 stars

BVortex calculates a scaled Vortex Indicator presented as a histogram in a separate pane. It evaluates positive and negative directional movements over a specified lookback period relative to True Range. The histogram changes color to highlight extreme momentu

Indicator v6 Oscillators & momentumTrend
Updated 5 months ago · None stated GitHub repository of BVortex

BAKOME ICT Institutional

by BAKOME-Hub
1 stars

BAKOME ICT Institutional is an overlay indicator that implements Inner Circle Trader concepts directly on the price chart. It calculates 50 and 200 EMAs for trend direction, identifies market structure breaks and changes of character using pivot points, and de

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · MIT GitHub repository of BAKOME ICT Institutional
1 stars

This strategy overlays a seven-step smart-money process on the price chart. It compares a higher-timeframe close with an EMA to shade bullish or bearish trend, then marks equal highs and lows, order blocks, fair value gaps, and changes of character. Inputs set

Strategy v6 SMC / ICT / price actionTrend
Updated 5 months ago · None stated GitHub repository of Kasper — 7 Étapes de Trading

SR Levels

by onlyspx
1 stars

SR Levels visualizes custom support and resistance price zones directly on the main price chart. It parses user-defined CSV text input containing zone labels, target symbols, and price bounds for SPX, SPY, and ES contracts. When the current symbol matches the

Indicator v6 Support & resistance
Updated 6 months ago · None stated GitHub repository of SR Levels

SMC + VWAP Edge Strategy

by StockPro-AI
1 stars

This strategy combines Smart Money Concepts with Order Blocks and Fair Value Gaps alongside multiple VWAP levels including session, weekly, monthly, and anchored variants. It detects confluence zones to generate long and short entry signals on the price chart.

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of SMC + VWAP Edge Strategy
1 stars

This Pine Script indicator computes a Confluence Score from 0 to 100 by aggregating seven breakout identification strategies based on VCP trend template, TTM squeeze, volume analysis, relative strength, MA setup, RSI momentum and price near resistance. It plot

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of Breakout Confluence Scanner
1 stars

This strategy trades BIST30 futures on the price chart using a fast 9-period and slow 21-period EMA crossover signal. It generates buy signals only during Turkish market session hours of 09:30-18:15 UTC+3 and closes all positions automatically at session end.

Strategy v6 TrendOscillators & momentum
Updated 6 months ago · MIT GitHub repository of VİOP Session Strategy

Beginner EMA + RSI + ATR

by Sandesh30-cloud
1 stars

Beginner EMA + RSI + ATR is a long-only trend-following strategy plotted directly on the price chart. It identifies an uptrend when the 50-period EMA trades above the 200-period EMA, triggering long entries when the 14-period RSI crosses above the 50 centerlin

Strategy v5 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of Beginner EMA + RSI + ATR
1 stars

This indicator detects bullish and bearish Fair Value Gaps (FVGs) using three-bar price imbalance logic directly on the main price chart. When an imbalance occurs, it highlights the price gap with semi-transparent boxes and plots triangular shape markers above

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of FVG Scanner - Institutional Bridge

TR 10 [Vaibhav]

by DeveloperVaibhav1
1 stars

TR 10 [Vaibhav] is an overlay indicator that plots buy and sell signals on the price chart. It calculates signals using multiple EMA periods for trend direction, RSI for momentum, and a confluence score combining these factors. Signals are generated when condi

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of TR 10 [Vaibhav]

Range STR v3 IMBA v3

by martyn-ukrainian-trading-plan
1 stars

The SMC Range STR v3 IMBA v3 indicator detects swing ranges on multi-timeframe charts. It plots range boxes, support and resistance lines, and swing dots on the price chart. Users can configure the grace period, retracement percentage, swing timeframe, break m

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Range STR v3 IMBA v3
1 stars

The Adaptive Liquidity Matrix indicator calculates and plots a synthetic liquidity matrix on the price chart. It anchors to the highest volume candle on a selected macro timeframe, reads its polarity to set support or resistance levels, and expands the matrix

Indicator v6 Volatility & bandsSupport & resistance
Updated 6 months ago · AGPL-3.0 GitHub repository of Adaptive Liquidity Matrix

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