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.
This indicator draws a developing current-day point of control, value area high, and value area low on the price chart for intraday timeframes. It builds an approximate volume profile by distributing each stored chart bar's volume across a configurable number
This strategy trades Taiwan-stock fair value gaps on the price chart. It marks gaps that pass an ATR size and displacement filter, tracks inverse FVGs, internal order-block retests and sweeps, and scores enabled triggers with fixed weights. A signal confirms o
This strategy calculates the relative strength index of the closing price and enters a long position when the RSI crosses above a user-set oversold level. It exits that long with a fixed absolute stop price and a fixed absolute limit price. The main settings c
Identifies stop hunt sweeps where price wicks past recent pivot highs, pivot lows, or previous day high and low levels before closing back inside the range. It plots sweep markers, connecting level lines, and previous day levels directly on the price chart, wi
Opposing Tick Zones identifies supply and demand areas based on swing high and low bars using a configurable swing strength setting. The indicator marks the high of the lowest bar as demand and the low of the highest bar as supply. When price sits between both
Calculates an Average True Range trailing stop directly on the price chart. It measures true range smoothed by a simple moving average to align with MT5 ATR semantics, multiplied by a user-defined factor. The stop ratchets upward during uptrends and downward d
This overlay indicator measures the opening gap between the session open and the prior daily close, then checks whether price continues to hold beyond that close. After a user-defined opening window in minutes, it marks an up signal when an up gap holds and th
This strategy defines opening range breakouts within Asian, London and New York sessions using ATR-based width and buffer filters. It identifies potential entries on breakout after a retest followed by continuation, applying ICT-style context and SMC proxies f
This indicator overlays an EMA stack, Supertrend, and ATR range bands on the price chart and scores long or short confluence from trend, WaveTrend, StochRSI, confirmed divergence, and volume. Labels mark when the score meets the long or short threshold, with A
Kernal Cipher is a custom TradingView Pine Script v6 indicator that overlays multiple technical components on the price chart for discretionary momentum trading. It calculates trend using EMA fast, slow, and long lengths with slope filters, regime detection vi
This indicator marks fair value gaps and new day and new week opening gaps on the price chart. Inside a New York session window it looks for the first presented gap, optionally requiring a displacement candle, and can also draw later gaps. Boxes expire after u
Indicatorv6SMC / ICT / price actionSessions & time
This indicator plots Malaysian support and resistance levels on the price chart. It finds swing highs and lows, then marks those prices as support or resistance and labels each level Fresh, Unfresh, or Flip after retests and breaks. Separate major swing settin
Composite Market Bias is a separate-pane indicator that scores bullish and bearish conditions from RSI, fast versus slow EMA, MACD histogram, Bollinger Band position, and price versus a 50-period EMA. It plots the resulting bias score with RSI, EMA trend, MACD
BTC Trading Assistant is an indicator for discretionary Bitcoin traders. It calculates cost-aware position size from supplied direction, stop price, equity and risk percentage. The tool draws risk and reward zones, break-even line, R targets and estimated net
This overlay indicator detects candles that stay entirely below a short exponential moving average and groups them into a sequence. When price later closes above the sequence high, it waits for a pullback that touches that level and then marks a long entry, re
ADR 50 SR Pro calculates key support and resistance levels based on 50% of the Average Daily Range (ADR) projected above and below the daily opening price. It plots horizontal level lines and customizable shaded zone boxes directly on the main price chart. Tra
The Bitmoon System calculates symmetrical price projections and mirrored fractal levels directly on the price chart. It allows users to set central mirror levels, reference price points, and reference time anchors to project past fractal patterns forward or ac
This strategy implements quantitative intraday models tailored for NQ and MNQ futures contracts. Traders can select between EMA Pullback, Opening Range Breakout, or Liquidity Sweep setups with user-defined New York trading sessions. It handles position sizing
Calculates a Simple Moving Average (SMA) and Relative Strength Index (RSI) to render a live status dashboard table on the price chart. The script plots the SMA line directly on the price chart with color dynamic styling based on market trend direction. On the
This indicator plots Inverse Fair Value Gaps (IFVG) and Optimal Trade Entry (OTE) zones directly on the price chart. It identifies bullish and bearish IFVGs from swing points and marks OTE levels at 0.62, 0.705 and 0.79 Fib extensions. The script detects confl
This indicator scores each bar of a BIST equity with a weighted confluence of thirteen layers and plots the result in a separate pane. Daily ADX, SMA and EMA alignment lock direction and can veto a candidate. The one-hour timeframe needs a PAC touch plus a con
AEGIS Demo is an EMA crossover strategy designed to trigger webhook signals for an external automated execution bot. It calculates a 20-period fast exponential moving average and a 50-period slow exponential moving average, plotting both lines directly on the
This intraday strategy executes trades on gold (XAUUSD) 5-minute charts using 15-minute higher-timeframe bias. It identifies key liquidity levels—such as previous day highs and lows, session levels, swings, and equal highs or lows—and waits for confirmed liqui
Calculates and plots customizable moving averages on the price chart using 20 native slots and 5 cross-timeframe overlay slots. Supports SMA, EMA, RMA, VWMA, and WMA moving average types with user-defined sources, lengths, colors, and line widths. Visibility c
This indicator calculates four-year accumulated volume weighted average prices with recency weighting for the current year, previous year, two years ago and three years ago. It plots lines for each individual AVWAP, a recency-weighted composite and an equal-we
Delta Pulse is a price chart overlay indicator that visualizes orderflow delta in three layers. It approximates delta per bar from lower-timeframe tick data by classifying volume as ask or bid. The gradient map colors bars by z-score of delta using configurabl
The AI Dynamic Liquidity Engine indicator detects swing highs and lows on the price chart to identify potential liquidity zones. It tracks swing points in arrays and validates each zone by counting proximity tests based on recent price action. When a zone reac
This indicator identifies failed opening range breakouts and plots session-based analytical overlays directly on the price chart. It defines the New York opening range from 09:30 to 09:45, identifies false breakouts that return inside the range, and triggers r
This indicator is drawn on the price chart and classifies relative volume against a simple moving average of volume. It combines volume with candle-body effort, close location, wick bias, and ATR to label bullish, bearish, or mixed conditions. Configurable thr
This overlay indicator tracks confirmed swing highs and lows as liquidity levels and marks a break of structure when the close moves beyond the last swing. It detects bullish and bearish fair value gaps that meet a minimum ATR size, then plots filtered long an
EMA & Time Exit Strategy v6 is an overlay trend-following strategy based on exponential moving averages and fixed-duration holding periods. It plots a fast EMA and a slow EMA directly on the price chart, triggering a long entry when the fast EMA crosses above
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
This indicator classifies market conditions into five regimes using Bandt-Pompe permutation entropy on price closes. It calculates an entropy score to assess order versus randomness, smooths it into a predictability metric, and computes an adaptive percentile
This Pine Script strategy fades exhaustion moves into the Pivot Point SuperTrend band. It buys when price stretches down into the band and sells when price stretches up, using touch, reversal or both triggers. Entries support pyramiding with configurable steps
KB# GOLD is a trading strategy that identifies trend entries and exits using moving average crossovers and optional Tillson T3 breakout filtering. The script calculates fast and slow exponential moving averages alongside a T3 smoothing curve. When breakout mod
This Pine Script indicator plots a range filter line along with high and low target bands on the price chart. It calculates a smoothed average range using a sampling period and multiplier, then applies a filter to detect upward and downward trends. Signals tri
Liquidity Gravity Fields tracks market liquidity sweeps and plots supply and demand zones directly on the main price chart. It identifies pivot highs and lows over a user-defined swing length and checks for buy-side or sell-side sweeps paired with a volume bas
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
The script is a Pine Script strategy that calculates two simple moving averages: a fast SMA with length 9 and a slow SMA with length 21. It plots these SMAs on the price chart along with buy and sell markers. The strategy signals long entries on bullish crosso
Gold Dominator Pro is a multi-indicator overlay designed primarily for gold trading. It combines higher-timeframe exponential moving averages with momentum oscillators like RSI, MACD, and StochRSI, alongside volatility tools such as ATR, Bollinger Bands, and A
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,
Alien Wash is a price-chart indicator that draws the latest green horizontal line at the previous candle high after an up close beyond a USD buffer, and the latest red line at the previous candle low after a down close beyond that buffer. A buy signal fires wh
This script provides a Chinese localization of the LuxAlgo Smart Money Concepts suite, plotting market structure directly onto the price chart. It detects both internal and swing market structure shifts, including break of structure (BOS) and change of charact
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
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
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
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
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
Indicatorv6SMC / ICT / price actionSessions & time
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.