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

MA + R:R Strategy (tuned)

by MuhammadMuhamid
1 stars

A long-only crypto spot strategy variant that makes a multi-timeframe moving average trend the primary entry trigger, with 300-period averages on one-minute and five-minute charts and a rising-slope requirement. Other trend, volume and structure filters are av

Strategy v6 TrendMoving averages
Updated 12 days ago · None stated GitHub repository of MA + R:R Strategy (tuned)

EMA 20/50 Cross

by quantxaashish
1 stars

This indicator calculates 20-period and 50-period exponential moving averages (EMAs) to identify trend direction and crossover signals. It plots both EMA lines directly on the chart and displays visual shape markers below or above price bars whenever a bullish

Indicator v5 Moving averagesTrend
Updated 13 days ago · MIT GitHub repository of EMA 20/50 Cross

This indicator calculates and plots a stochastic oscillator in a separate pane with exposed fast %K, slow %K, and slow %D lines. It allows users to customize the smoothing method using SMA, EMA, WMA, or HMA instead of forcing standard SMA. Key input settings i

Indicator v6 Oscillators & momentum Repaints
Updated 13 days ago · MPL-2.0 GitHub repository of Taught to Trade - Configurable Stochastics

Fractal Model

by Just-beyond-z
1 stars

An overlay that draws higher-timeframe candles beside the live chart so the structure of larger candles can be read while trading a lower timeframe. Up to six timeframes can be shown, from 15 minutes to daily, in automatic or manual selection, with a set numbe

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 13 days ago · None stated GitHub repository of Fractal Model
1 stars

A strategy visualizer, with no real orders, that tracks a 200-bar moving average of lows on the 1-hour timeframe. When price touches the average it arms, then marks long or short entries on a wick rejection seen on 5 or 15 minute candles, or a run of three sam

Indicator v6 Mean reversionSupport & resistance Repaints
Updated 2 weeks ago · None stated GitHub repository of MA200 Wick Rejection

Hull Moving Average

by AkashSasikumar47
1 stars

A Pine v6 indicator that plots the Hull Moving Average on the price chart. It is built from weighted moving averages: twice a half-length average minus a full-length average, then smoothed over the square root of the length. This keeps lag low while staying sm

Indicator v6 Moving averagesTrend
Updated 2 weeks ago · MIT GitHub repository of Hull Moving Average

Ichimoku Cloud

by AkashSasikumar47
1 stars

The Ichimoku Cloud indicator plots five lines: Conversion Line, Base Line, Lagging Span, Leading Span A, and Leading Span B, forming a cloud on the price chart. It shows trend and momentum by position relative to the cloud: above green is bullish, below red is

Indicator v6 TrendMoving averages
Updated 2 weeks ago · MIT GitHub repository of Ichimoku Cloud
1 stars

This overlay strategy combines a fast and slow EMA, MACD, and RSI smoothed by an EMA. It opens a long when any one of those three crosses bullish while the other two stay aligned upward, and it opens a short on the matching bearish combination. Trades are limi

Strategy v5 TrendOscillators & momentum
Updated 3 weeks ago · None stated GitHub repository of EMA + MACD + RSI Strategy
1 stars

A gold-oriented overlay that prints buy and sell signals on closed bars. It combines an EMA trend stack, an RSI band, MACD and stochastic RSI triggers, an optional volume filter and a weighted confidence score that must pass a minimum. Stop loss and two take-p

Indicator v5 Oscillators & momentumTrend
Updated 3 weeks ago · None stated GitHub repository of neXQan XAUUSD Gold Indicator
1 stars

A test strategy used to check how a converter handles broker emulation. It goes long when a 9-period EMA crosses above a 21-period EMA and short on the opposite cross. Open longs get a stop and a limit set from ATR multiples, while shorts get an ATR-based trai

Strategy v6 TrendMoving averages
Updated 3 weeks ago · Apache-2.0 GitHub repository of AlphaResin Conformance 3

Fibow

by moonyroy
1 stars

Fibow is an intraday trading strategy that tracks daily price extremes to calculate directional Fibonacci support and resistance levels. It monitors price action for Pin Bar and Engulfing candlestick patterns reacting at key Fibonacci retracement thresholds. U

Strategy v6 Support & resistanceCandlestick patterns
Updated 3 weeks ago · None stated GitHub repository of Fibow
1 stars

Computes support and resistance zones on the chart by clustering 1h moving averages, Bollinger bands, daily pivots, volume profile levels and optionally the previous day high and low. It reads weekly, daily, 4h and 1h trend bias and moves a status through wait

Indicator v5 Support & resistanceVolatility & bands Repaints
Updated 3 weeks ago · None stated GitHub repository of Options Short Ladder (Auto)
1 stars

The indicator calculates confirmed pivot highs and lows on up to three user-selectable timeframes using source-timeframe closed bars only. It identifies the nearest resistance above and support below the current price by comparing candidates from each timefram

Indicator v6 Support & resistanceTrend Repaints
Updated 3 weeks ago · MIT GitHub repository of MTF Nearest Support / Resistance

Speed of Tape [ATAS Style]

by pranay123-stack
1 stars

A price-chart overlay that estimates how fast trading is happening and paints candles when that speed is unusually high. Because TradingView has no tick count, it approximates speed from volume or from the bar body, scaled by the timeframe and a chosen period

Indicator v5 Volume
Updated 5 weeks ago · None stated GitHub repository of Speed of Tape [ATAS Style]

Lunch Range Breakout

by JACKZHOU0521
1 stars

The Lunch Range Breakout indicator identifies and plots a midday consolidation range based on configurable exchange-time hours, defaulting to 11:30 through 13:30. Once the window closes, it plots the session high and low levels directly on the price chart. The

Indicator v6 BreakoutSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Lunch Range Breakout

ORB + ICT Manual Signals v3

by mccallister-dev
1 stars

This overlay indicator marks opening-range breakouts inside configurable Asian, London, and New York session windows. It searches for a break, retest, and continuation after an optional delay, then shows confirmed-bar signals with estimated entry, stop, and ta

Indicator v6 BreakoutSMC / ICT / price action
Updated 5 weeks ago · None stated GitHub repository of ORB + ICT Manual Signals v3

Kernal Cipher 2

by kdricha0602
1 stars

Kernal Cipher 2 is a lower-pane signal panel. It scores trend with fast, slow, and long EMAs, slope, Supertrend, and ADX, then blends WaveTrend, StochRSI, pivot divergence, volume, relative strength versus equity benchmarks, and beta. Green and red diamonds ma

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Kernal Cipher 2

Daily Trend Rider

by femibol
1 stars

A long-only swing strategy for daily charts of liquid stocks. It requires several consecutive green closes, a close above the 20 EMA, ADX above a minimum and a bullish SuperTrend, within a price band. Entry is a break of the prior high on volume or a pullback

Strategy v6 TrendBreakout
Updated 6 weeks ago · None stated GitHub repository of Daily Trend Rider

Zimpact Buy/Sell v2

by acquillemac
1 stars

An ATR-based band indicator with a ratcheting SuperTrend line built from RMA of highs and lows. It shows upper and lower bands, an optional outer channel, an optional teal oscillator line, buy and sell signals when direction flips, and two take profit levels a

Indicator v5 TrendVolatility & bands
Updated 6 weeks ago · None stated GitHub repository of Zimpact Buy/Sell v2

Liquidity Map

by mrme000m
1 stars

A Pine v5 indicator that overlays a set of reference levels on the price chart. It plots VWAP, 50 and 200 EMAs, a 24-bar high and low, the latest swing high and swing low, a volume point of control approximated from the highest-volume bar, and ATR-based stop r

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 weeks ago · None stated GitHub repository of Liquidity Map
1 stars

An overlay that marks long and short signals by combining a Money Flow Index with k-means derived overbought and oversold levels, and an Andean oscillator crossing its signal line, both within a confirmation window. Optional trend and ATR percentage filters ca

Indicator v5 Oscillators & momentumAI / machine learning
Updated 7 weeks ago · None stated GitHub repository of AI MFI + Andean ETH 15min

This overlay indicator marks the high and low of four Smart Money Concepts killzones on the price chart. It tracks the Asian range, London open, New York morning, and London close using America/New_York session windows so daylight saving shifts stay aligned. W

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 7 weeks ago · MPL-2.0 GitHub repository of Session Highs and Lows Indicator (SMC Sessions, DST-safe)
1 stars

An indicator in a separate pane that builds a 0 to 100 gauge of market risk from several other markets rather than the chart symbol: an equity ETF, the VIX, the dollar index, the 10-year yield and a high-yield credit ETF. Their returns or changes are turned in

Indicator v5 Volatility & bands
Updated 7 weeks ago · MPL-2.0 GitHub repository of CASA v2 Cross-Asset Risk Gauge

Strategy 02 Placeholder

by Pr-ashant-pawar
1 stars

A Pine v6 indicator that contains no trading logic. The file is a placeholder for a second strategy in the repository, and its own comment says the source code was not available. It declares an overlay indicator and plots nothing, has no inputs, and produces n

Indicator v6
Updated 7 weeks ago · None stated GitHub repository of Strategy 02 Placeholder

MACD

by DEVfancybear
1 stars

This indicator calculates and plots the standard Moving Average Convergence Divergence oscillator in a separate chart pane. It computes a fast exponential moving average and a slow EMA, derives the MACD line from their difference, and calculates a smoothed sig

Indicator v6 Oscillators & momentumMoving averages
Updated 7 weeks ago · MIT GitHub repository of MACD

Bitmoon System

by morindok
1 stars

Bitmoon System projects mirrored price levels and symmetric price bands directly onto the main price chart. It calculates geometric mirror reflections using central and secondary user-selected price pivots and reference timestamps. The indicator identifies his

Indicator v6 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Bitmoon System

Indicator Template

by MoDarK-MK
1 stars

This indicator template provides a production-grade boilerplate for constructing custom TradingView indicators in Pine Script v6. It features a configurable lookback length and price source input, automatic or custom color theme styling, and an on-screen dashb

Indicator v6 Screeners & dashboards
Updated 7 weeks ago · MPL-2.0 GitHub repository of Indicator Template

Hedge Fund Manager SIGIL

by dwightspitz
1 stars

A strategy that builds simulated Renko bricks from the ATR of a chosen reference symbol, SPY by default, and trades within a set start and end date. It scales position sizes with a factor, keeps a hold percentage, and can add a TRAMA cloud with a percentage ex

Strategy v6 Trend
Updated 8 weeks ago · MIT GitHub repository of Hedge Fund Manager SIGIL

PowerTrend

by peterdmv
1 stars

PowerTrend is a price-chart overlay that recreates Webby's Power Trend. It plots a configurable EMA and SMA, counts consecutive days the low stays above the EMA and the EMA stays above the SMA, and starts an uptrend when those counts, a rising SMA, and an up c

Indicator v6 TrendMoving averages
Updated 2 months ago · MPL-2.0 GitHub repository of PowerTrend

Leg Delta Profile

by Robwhitlow3
1 stars

This indicator plots a horizontal net delta histogram on the price chart for the current active swing leg, from the last confirmed pivot to the current bar. Delta is approximated using lower-timeframe sub-bars, classifying volume as ask or bid based on close v

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · MIT GitHub repository of Leg Delta Profile

Basic Trend View

by Alaamo7
1 stars

Basic Trend View is a simple educational indicator from a Pine Script v6 course that colors chart bars based on price direction. It colors bullish bars green when the close is greater than the open, bearish bars red when the close is less than the open, and ne

Indicator v6 Candlestick patternsTrend
Updated 2 months ago · Custom licence GitHub repository of Basic Trend View

Deviation Momentum For Loop

by vedkanani123
1 stars

A separate-pane momentum indicator that measures how far price sits from a selectable moving average and sums that deviation over a for-loop range of lookbacks, from a start to an end value. The result is compared with a long threshold and a short threshold to

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · None stated GitHub repository of Deviation Momentum For Loop
1 stars

A price-chart indicator built on the UT Bot ATR trailing stop idea, with sensitivity and ATR period inputs and a preset chosen from the chart timeframe. It prints buy and sell labels when price crosses the trailing line and offers an optional line, ribbon fill

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Luxy UT GOD UT-BOT Forecast

CH033 ORB+ VWAPs Indicator

by sandovalchristian033
1 stars

This indicator plots multiple anchored VWAPs, session ranges, fair value gaps, and multi-instrument monitoring tables directly on the price chart. It signals long or short setups when price breaks the initial fifteen-minute New York opening range, re-enters th

Indicator v6 BreakoutSessions & time
Updated 2 months ago · None stated GitHub repository of CH033 ORB+ VWAPs Indicator

Ultra Combo v57

by nishpa800
1 stars

Pine v6 overlay indicator that marks combination signals on the price chart. Groups include PBJ or PB with F2, E3 and cluster patterns, sequential combos, back-to-back day combos, Heavy Weapon with any bullish or bearish signal, GZ1 and high-volume mega combos

Indicator v6 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Ultra Combo v57

Signal Overlay

by insomniac-asif
1 stars

A chart overlay with three exponential moving averages of 9, 21 and 50 bars, plus manual marker toggles for long, short, entry, stop hit and target hit on the latest bar. The setup type and a conviction score are typed in by the user and shown in the label. It

Indicator v6 Sessions & timeMoving averages
Updated 2 months ago · MIT GitHub repository of Signal Overlay

Smart Money Concepts Pro

by BrandonFreire
1 stars

A smart money concepts indicator for the price chart that labels internal and swing market structure as break of structure or change of character, with filters and a confluence option. It can draw internal and swing order blocks, strong and weak highs and lows

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Smart Money Concepts Pro
1 stars

TN Swarm Modular Executor combines four distinct sub-strategy modules—Momentum (CCI), Mean Reversion (RSI), Breakout (Bollinger Bands), and Volatility (ATR channels)—into a multi-agent consensus engine. It calculates individual member signals and aggregates th

Indicator v6 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of TN Swarm Modular Executor
1 stars

A chart-overlay indicator meant for 4-hour charts that combines several filters: a Heikin-Ashi MACD read from the daily timeframe without future data, an approximate volume profile with value area, a swing-anchored VWAP, a squeeze momentum reading built from B

Indicator v6 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of POC VA MACD HA v8 4H Daily

APM v7 BTC/USD ALL

by rcaldwell67
1 stars

APM v7 BTC/USD ALL is an indicator that plots three exponential moving averages on the price chart for BTC-USD. It calculates EMA Fast, EMA Mid, and EMA Slow using user-defined lengths. Additional momentum oscillators include RSI, MACD, Stochastic, and CCI. Th

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of APM v7 BTC/USD ALL

Adaptive Market Suite

by jayadevrana
1 stars

This indicator bundles four switchable modules, each with its own settings. The first is an adaptive moving average that speeds up in clean trends and shows a trending or ranging read. The second draws volatility bands whose width follows the ATR percentile. T

Indicator v6 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Adaptive Market Suite
1 stars

This Pine Script indicator plots daily support and resistance levels for XAUUSD gold at 08:00 SGT on weekdays. It finds resistance by backward searching 5-minute candles until the 07:55 candle close exceeds the 07:50 high, then repeats for support when the clo

Indicator v5 Support & resistanceVolatility & bands
Updated 2 months ago · None stated GitHub repository of Gold 08:00 SGT Support/Resistance

Grimmchu

by GreyssonEnterprises
1 stars

Grimmchu is a Pine Script strategy designed to trade within specified session time windows and days of the week. It combines session timing constraints with momentum filters based on a configurable relative strength index. Users can customize the active tradin

Strategy v5 Sessions & timeOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Grimmchu

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