Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 48)

Open-source Pine Script indicators that draw on your TradingView chart or in their own pane. Copy one and paste it into the Pine Editor.

Pine scripts7,612
Code shown here3,783open licence
Updated in a year5,283
No repaint flag6,673

Indicators: All

3 stars

Calculates a Relative Strength Index oscillator and detects regular and hidden bullish or bearish divergences using pivot points. It displays in a separate pane below the main chart, highlighting divergence occurrences between price movement and the RSI oscill

Indicator v5 Oscillators & momentumDivergence Repaints
Updated 1 year ago · None stated GitHub repository of Sapphire RSI Divergence Indicator

This indicator calculates and plots a custom Exponential Moving Average (EMA) directly on the main price chart. It uses an initial Simple Moving Average over a user-defined period to seed the exponential calculation, applying standard alpha weighting to smooth

Indicator v5 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Exponential Moving Average (Trend Following)

Poison Rat v2.1 - DataCrypto Analytics

by datacrypto-analytics
3 stars

This indicator tracks multi-timeframe moving average crosses directly on the price chart. It evaluates three Running Moving Averages (RMA lengths 4, 9, and 16) fetched from a user-selected secondary timeframe alongside 100-period and 200-period Simple Moving A

Indicator v4 Moving averagesTrend Repaints
Updated 3 years ago · Apache-2.0 GitHub repository of Poison Rat v2.1 - DataCrypto Analytics

Currency Strength Chart

by itmakesyousick
3 stars

The Currency Strength Chart calculates and plots the relative strength of major fiat currencies, including EUR, USD, JPY, GBP, CHF, AUD, CAD, and NZD, in a separate chart pane. It evaluates cross-pair exchange rates using configurable data sources like price,

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart
3 stars

Greeffer's Long Study calculates Donchian Channels alongside a volume moving average filter to generate trade signals. When price touches the lower or upper channel boundaries combined with volume exceeding a custom moving average multiplier, the indicator tri

Indicator v4 TrendVolatility & bands
Updated 4 years ago · CC0-1.0 GitHub repository of Greeffer's Long Study

RTF Indicator

by blackcat1402
3 stars

The RTF Indicator plots Bollinger Band signals on the price chart for trading signals. It uses inputs for band length, stddev, pivot point, recent bars, loss tolerance, pause bar, and take profit to determine entry and exit points. The script manages trade cyc

Indicator v4 Volatility & bandsSupport & resistance
Updated 5 years ago · MIT GitHub repository of RTF Indicator

Bollinger Bands

by piecioshka
2 stars

This indicator plots standard Bollinger Bands directly on the price chart using a simple moving average and standard deviation bounds. It displays filled background channels between the center moving average and the outer bands. Optional mean-reversion signal

Indicator v6 Volatility & bandsTrend
Updated 12 days ago · MIT GitHub repository of Bollinger Bands
2 stars

Modern Ichimoku Cloud [GBB] is an advanced trend and momentum indicator that enhances classic Ichimoku Kinko Hyo with multi-layered structural analysis. It plots traditional Tenkan-sen, Kijun-sen, Senkou Spans, and Chikou Span on the price chart while offering

Indicator v6 TrendSupport & resistance
Updated 2 weeks ago · MIT GitHub repository of Modern Ichimoku Cloud [GBB]

Pivots MP

by midngtpickle
2 stars

Pivots MP draws Fibonacci or Camarilla pivot levels on the price chart. It plots the central pivot plus resistance and support pairs from R1/S1 through R5/S5 for a chosen period, from hourly through multi-year, and can keep earlier periods according to the loo

Indicator v6 Support & resistance Repaints
Updated 4 weeks ago · Custom licence GitHub repository of Pivots MP

Market Structure

by TamTH-Dev
2 stars

Market Structure identifies and visualizes key market structure developments directly on the price chart. It calculates swing highs and swing lows using pivot detection with a five-bar lookback alongside an Average True Range filter to track structure. The ind

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Market Structure

Market Regime Dashboard

by vantradelabs
2 stars

The Market Regime Dashboard is a multi-timeframe dashboard indicator that evaluates market conditions across three user-defined timeframes. It measures four core dimensions: trend strength using ADX and DI direction, momentum using RSI z-scores, volatility via

Indicator v6 Screeners & dashboardsTrend
Updated 2 months ago · Custom licence GitHub repository of Market Regime Dashboard
2 stars

Calculates entry signals, stop loss levels, and five take-profit targets based on a 7-factor dual scoring engine. The system evaluates short-term market bias using EMA 9 and 21 crossovers, VWAP, RSI, MACD, ADX, relative volume, and multi-timeframe 5-minute RSI

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 months ago · Custom licence GitHub repository of Sniper Entry/Exit with SL&TP

Custom Oscillator

by danielbodnar
2 stars

This reference script provides practical Pine Script v6 code examples for creating custom indicators. It includes a smoothed Relative Strength Index oscillator plotted with overbought and oversold background zones, a multi-timeframe moving average overlay with

Indicator v6 Oscillators & momentumMoving averages
Updated 2 months ago · MIT GitHub repository of Custom Oscillator

ICT HTF MSS & Liquidity

by alvinng214
2 stars

This indicator detects market structure shifts and liquidity levels on a user-selected higher timeframe using ICT concepts. It plots open and claimed liquidity lines on the price chart along with break of structure (BOS) and fair value gap (FVG) zones to highl

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICT HTF MSS & Liquidity

HVC Watcher

by major
2 stars

This indicator identifies High Volume Close (HVC) and Highest Volume Ever (HVE) events directly on the price chart. It calculates a volume simple moving average and detects bars where volume exceeds a configured multiple of that average. Detected bars can disp

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · Apache-2.0 GitHub repository of HVC Watcher

This indicator identifies swing highs and swing lows to detect institutional order blocks and breaker blocks, plotting them as colored boxes directly on the price chart. It provides optional alert triggers when new order blocks form. User settings allow toggli

Indicator v6 SMC / ICT / price actionSupport & resistance

Q-Trend

by middlechild0
2 stars

Q-Trend is a trend-following indicator that calculates a dynamic trend line using price channels and an ATR volatility offset. It plots a colored trend line directly on the price chart, switching between bullish and bearish modes when price breaches the upper

Indicator v5 TrendVolatility & bands
Updated 5 months ago · None stated GitHub repository of Q-Trend

Volume

by mhs54
2 stars

This indicator displays normalized volume on a 0 to 100 relative scale within a separate indicator pane. It identifies the highest volume over a customizable lookback period and rescales volume values accordingly, maintaining visual consistency across differen

Indicator v6 VolumeMoving averages
Updated 6 months ago · None stated GitHub repository of Volume

This indicator detects significant volume-driven market moves to serve as a controller plugin for the Grid Bot system. It calculates a normalized Volume Rate of Change based on a simple moving average of volume and compares it against historical maximums. When

Indicator v6 VolumeVolatility & bands
Updated 8 months ago · MIT GitHub repository of Grid Bot Controler Plugin Big Move [psyll]
2 stars

This indicator divides the lookback range between the highest and lowest close into ten equal price bins and plots each bin’s average close as a support or resistance level on the price chart. It counts bullish and bearish rejections of those levels over the s

Indicator v6 Support & resistance
Updated 8 months ago · None stated GitHub repository of BIN Based Support and Resistance [SS]

Swing Structure - Clean BOS

by ifreddyman2014-tech
2 stars

Swing Structure - Clean BOS identifies market structure by plotting swing high and low points, Break of Structure (BOS) lines, and Order Blocks directly on the price chart. It features an optional displacement filter requiring breakout candles to exceed an ave

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 8 months ago · None stated GitHub repository of Swing Structure - Clean BOS

Reverse RSI Signals [AlgoAlpha]

by mushroom-men-Trading
2 stars

This indicator projects reverse RSI price levels directly onto the main price chart to generate dynamic upper and lower bands alongside a Supertrend envelope midline. It detects bullish and bearish divergences by tracking RSI pivots with a configurable left lo

Indicator v6 Oscillators & momentumTrend
Updated 9 months ago · None stated GitHub repository of Reverse RSI Signals [AlgoAlpha]

QQE + AK Trend Combined

by realanthonyc
2 stars

This indicator combines a Qualitative Quantitative Estimation oscillator with an AK Trend line in a separate pane. It computes a smoothed Relative Strength Index and builds QQE bands using Wilder's smoothed average true range of the RSI. Additionally, it integ

Indicator v6 Oscillators & momentumTrend
Updated 11 months ago · MPL-2.0 GitHub repository of QQE + AK Trend Combined
2 stars

This indicator displays an on-chart comparison table tracking eleven major industry sector ETFs against a benchmark index, typically SPY. It calculates percentage price changes over a selectable timeframe, evaluates relative strength versus the benchmark, prov

Indicator v6 Screeners & dashboardsTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Industry Indices Comparison

My Fib Pivots

by ashwagamma
2 stars

The My Fib Pivots indicator plots daily pivot points on the price chart along with Fibonacci retracement levels from 0.236 to 2.0. It displays the last period's pivot, latest classic pivot range (CPR), retired CPR, and rolling pivots. Users can toggle visibili

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of My Fib Pivots

Dual MA Crossover with Time Filter calculates a short simple moving average and a long simple moving average, plotting both on the main price chart. It identifies bullish crossovers and bearish crossunders to display Buy and Sell labels on the chart. A user-de

Indicator v5 TrendMoving averages Repaints
2 stars

PriceCatch Stock Range Binning calculates the distribution of daily percentage price changes over a configurable historical lookback period, up to 2,000 trading days. It categorizes daily rate-of-change values into specific positive and negative percentage bin

Indicator v6 Screeners & dashboardsVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of PriceCatch Stock Range Binning

Custom Session OHL

by ryangaraygay
2 stars

Custom Session OHL calculates and plots the open, high, and low price levels established during a user-specified time session. It tracks the session opening price along with the highest and lowest prices reached during that window, plotting them directly on th

Indicator v5 Sessions & timeSupport & resistance
Updated 1 year ago · MIT GitHub repository of Custom Session OHL

JBravo Swing

by scallywag41
2 stars

JBravo Swing plots a 9-period simple moving average, a 20-period exponential moving average, and a 200-period simple moving average directly on the price chart. It evaluates price position relative to these moving averages to generate Buy, Sell, Strong Buy, an

Indicator v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of JBravo Swing

Breakout Indicator

by Web3Degenerate
2 stars

Breakout Indicator plots high and low threshold levels for a chosen timeframe, such as daily, directly on the price chart. When price closes above the high or below the low, the indicator displays a breakout shape and marks ATR-based stop loss and take profit

Indicator v5 BreakoutSupport & resistance
Updated 2 years ago · None stated GitHub repository of Breakout Indicator

Mc War v3

by tuanmcwar
2 stars

Mc War v3 is a price-chart indicator that finds swing highs and lows over a user-set lookback and draws upper and lower order-block zones as boxes. It limits how many bearish and bullish blocks stay visible and can use candle bodies instead of wicks for zone e

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 years ago · None stated GitHub repository of Mc War v3
2 stars

Jens Rabe Academy - Indicator 1 combines multiple trend and market condition tools directly on the main price chart. It calculates exponential moving averages (10, 21) and simple moving averages (30, 40, 50, 150, 200), identifies distribution days (D-Days) bas

Indicator v5 Moving averagesTrend Repaints
Updated 2 years ago · MIT GitHub repository of Jens Rabe Academy - Indicator 1
2 stars

This indicator plots four classic moving averages directly onto the price chart to help track short-term momentum and long-term trend direction. It calculates 8-period and 21-period exponential moving averages alongside 50-period and 200-period simple moving a

Indicator v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of EMA 8/21, SMA 50/200

HTF Candles & Pivots

by itmakesyousick
2 stars

This overlay indicator draws higher-timeframe candles as boxes on the price chart, with a selectable timeframe, candle thickness, wicks, history, vertical divisions, and optional fill for negative candles. It can plot pivot levels, including an optional centra

Indicator v5 Candlestick patternsSupport & resistance
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

Multi ZigZag

by WISEPLAT
2 stars

This indicator calculates and plots up to four independent ZigZag lines on the price chart simultaneously using customizable length periods. It identifies high and low pivot points across multiple time horizons to display market structure and trend swings. Use

Indicator v5 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of Multi ZigZag

[CBB] Trade Windows

by codybbrown
2 stars

This indicator shades the price-chart background during a user-defined trading session. It reads the session string, defaulting to midnight through 13:00 on all seven weekdays, and evaluates it in the America/New_York time zone against the chart's current time

Indicator v5 Sessions & time
Updated 3 years ago · None stated GitHub repository of [CBB] Trade Windows

RSI Scalping Machine [UT]

by theupslidedown
2 stars

This overlay indicator combines RSI, an RSI-VWAP length, RMI, ADX, volume, a range filter, and a cloud on the price chart. Settings change the ADX type, length, and threshold, the volume multiplier and average length, RSI source and lengths, the range-filter s

Indicator v5 Oscillators & momentumVolume
Updated 3 years ago · None stated GitHub repository of RSI Scalping Machine [UT]

MC Study - Aggressive

by Metzenas
2 stars

This indicator builds a WaveTrend-style oscillator from typical price, using an exponential moving average channel and a smoothed channel index. It flags a base buy when the fast line crosses its three-bar simple average while the fast line is at or above that

Indicator v4 Oscillators & momentum
Updated 5 years ago · None stated GitHub repository of MC Study - Aggressive
1 stars

An indicator on the price chart exported from an optimiser, with a long list of switchable entry patterns, all off by default in the visible settings. Options include pivot points, engulfing and pin bar candles, Bollinger, Donchian and ATR channel breakouts, m

Indicator v6 BreakoutCandlestick patterns
Updated 2 days ago · None stated GitHub repository of USE Optimizer Export

Ichimoku Cloud

by mydcc
1 stars

This indicator plots the standard Ichimoku Kinko Hyo components directly on the price chart. It calculates the Conversion Line, Base Line, Leading Span A, Leading Span B, and Lagging Span using Donchian midpoint logic over configurable periods. The script shad

Indicator v6 TrendMoving averages
Updated 2 days ago · Custom licence GitHub repository of Ichimoku Cloud

An indicator that finds swing structure with pivots, draws a Fibonacci cloud and levels, and runs an adaptive trailing line that changes with a trend, range or volatile regime from ADX and ATR. Signals come from a trailing flip or from a cross of the 0.5 level

Indicator v6 TrendSupport & resistance
1 stars

Compares a smoothed FX price trend with a smoothed government yield spread trend, z-scores both over a normalisation window and plots them in a separate pane along with their difference. Threshold bands mark when the two are aligned and when they diverge, usin

Indicator v6 Oscillators & momentumDivergence
Updated 2 days ago · None stated GitHub repository of FX Price vs Yield Spread
1 stars

An overlay that sketches a same-day iron condor on the S&P 500 index or its ETF and mini equivalents, detecting which instrument is loaded. It tracks an opening observation window, then at a set build time projects short strikes a chosen percentage out of the

Indicator v5 Sessions & timeSupport & resistance
Updated 2 days ago · None stated GitHub repository of ZeroDTE Iron Condor v1

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