Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 57)

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

SMC+WWAP+FVG+TBT

by IAMATOMIC001
3 stars

This overlay indicator maps market structure and a volume-weighted average on the price chart. It plots bullish and bearish structure from a pivot period, with an optional response length for shorter or longer structure. Premium and discount areas can be shade

Indicator v6 SMC / ICT / price actionVolume Repaints
Updated 12 months ago · None stated GitHub repository of SMC+WWAP+FVG+TBT

This indicator marks bullish and bearish harami candlestick patterns on the price chart. The prior candle must have a long body, and the current candle must be a doji or a weak, small candle. A bullish signal also requires a lookback downtrend, while a bearish

Indicator v5 Candlestick patternsTrend
Updated 2 years ago · None stated GitHub repository of Harami Bullish/Bearish Pattern (Candlestick Pattern)
3 stars

The Directional Flow Oscillator combines momentum, cumulative volume delta, price range position, trend ratio, and relative volatility into a single bounded composite indicator. It fetches lower-timeframe volume data to calculate cumulative volume delta and no

Indicator v5 Oscillators & momentumVolume
Updated 2 years ago · GPL-3.0 GitHub repository of Directional Flow Oscillator

Currency Strength Chart

by itmakesyousick
3 stars

This indicator measures and compares the relative strength of major forex currencies including EUR, USD, JPY, GBP, CHF, AUD, CAD, and NZD in a separate pane. It plots individual currency strength as lines or histograms alongside a currency pair strength table.

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

Test

by blackcat1402
3 stars

This indicator plots a small red label above price bars when a custom relative strength reading crosses down through a user-set pivot. It builds the reading from running moving averages of upward and downward close changes, in the same form as RSI. The RSI len

Indicator v4 Oscillators & momentum
Updated 5 years ago · MIT GitHub repository of Test

Delta Footprint Bubble

by piecioshka
2 stars

Calculates volume delta and market profile metrics directly on the price chart using TradingView footprint data. It identifies the Point of Control (POC), Value Area, and stacked buy or sell imbalances based on tick row settings. Visual outputs include POC bub

Indicator v6 VolumeSupport & resistance
Updated 12 days ago · MIT GitHub repository of Delta Footprint Bubble
2 stars

This indicator detects trend-following pullback entries using the Rank Correlation Index (RCI) and a triple Exponential Moving Average (EMA) ribbon. It identifies bullish setups when price maintains an upward EMA alignment while RCI reverses from oversold leve

Indicator v5 Oscillators & momentumMoving averages
Updated 2 weeks ago · None stated GitHub repository of Ver16-19 5M Entry Signal

PVSR Vector Zones MP

by midngtpickle
2 stars

PVSR Vector Zones MP identifies climax and above-average volume vector candles using Price Volume Spread Analysis and draws dynamic supply and demand boxes on the price chart. Bullish vector candles establish demand support zones, while bearish vector candles

Indicator v6 VolumeSupport & resistance
Updated 4 weeks ago · Custom licence GitHub repository of PVSR Vector Zones MP

On Balance Volume

by TamTH-Dev
2 stars

Calculates On Balance Volume (OBV) and displays it in a separate pane alongside optional exponential moving averages. Traders can toggle and configure three distinct EMAs with default lengths of 21, 55, and 144. The indicator provides extensive visual settings

Indicator v6 VolumeMoving averages
Updated 6 weeks ago · None stated GitHub repository of On Balance Volume

Liquidity & Inducements

by alvinng214
2 stars

This Pine Script indicator plots market structure pivots and liquidity inducements on the price chart. It identifies grabs, big grabs, sweeps, and turtle soups as potential liquidity zones where price may reverse. Equal highs and lows can trigger both liquidit

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

Inside Bar Chain Detector identifies sequences of inside bars fully contained within the prior bar's high-low range on price charts. It marks each inside bar with a diamond below the bar and optionally shows labels with chain length and range contraction perce

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 3 months ago · Apache-2.0 GitHub repository of Inside Bar Chain Detector

Advance SMC

by middlechild0
2 stars

Plots Smart Money Concepts (SMC) elements directly on the price chart, including fractal-based market structures such as Break of Structure (BOS) and Change of Character (ChoCH). It tracks dynamic support and resistance levels, detects bullish and bearish Fair

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · None stated GitHub repository of Advance SMC

CM Ult MacD MTF

by avatar-lavventura
2 stars

This indicator plots a multi-timeframe MACD oscillator using customizable fast length, slow length, source, and signal smoothing. It displays the MACD line, signal line, and histogram in a separate pane, with options for trend-based coloring of lines, highligh

Indicator v5 Oscillators & momentumMoving averages
Updated 7 months ago · None stated GitHub repository of CM Ult MacD MTF

This indicator functions as a range-defining plugin for the Grid Bot system, calculating dynamic upper and lower grid boundaries based on a moving average and standard deviation offsets. It supports 17 different moving average algorithms, including EMA, SMA, H

Indicator v6 Moving averagesVolatility & bands Repaints
Updated 8 months ago · MIT GitHub repository of Grid Bot Moving Avarage StDev [psyll]

Chart VWAP

by regalouisei
2 stars

Chart VWAP calculates and plots an anchored volume-weighted average price across the visible chart window directly on the price chart. It supports optional upper and lower standard deviation bands adjusted by a multiplier. Additional settings allow users to di

Indicator v6 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Chart VWAP

This indicator compares US sector ETFs with technology and utilities using price ratios that can be log-transformed. It smooths those ratios with a simple moving average and measures fast and mid-length percentage change to classify financials versus technolog

Indicator v5 Oscillators & momentumMoving averages
Updated 10 months ago · MIT GitHub repository of Sector RS & Intermarket Regime Dashboard

This indicator calculates Mansfield Relative Strength by comparing the current asset's close against a reference index, sector, or industry benchmark. It plots the resulting relative strength curve alongside an exponential moving average in a separate pane, hi

Indicator v6 TrendMoving averages
Updated 1 year ago · MPL-2.0 GitHub repository of Mansfield Relative Strength indicator
2 stars

This indicator overlays trend and momentum analysis directly onto the price chart by combining a customizable moving average trend filter with dual QQE MOD calculations. It determines trend direction using selectable moving average types, including EMA, ALMA,

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of 超级趋势 + QQE 集成指标

Failed Breakdown

by ashwagamma
2 stars

Failed Breakdown identifies and tracks key session support levels—including overnight lows, daily lows, and afternoon lows—and detects potential failed breakdowns against them. The indicator monitors price penetration to classify breakdowns into soft, medium,

Indicator v5 BreakoutSupport & resistance
Updated 1 year ago · None stated GitHub repository of Failed Breakdown

This indicator plots a short and a long simple moving average on the price chart and marks buy and sell labels when they cross, but only inside a user-set clock window. The short and long periods and the start and end times, entered as HHMM integers, control t

Indicator v5 Moving averagesSessions & time

Inverse Choppiness Index

by ryangaraygay
2 stars

This indicator calculates the Choppiness Index to gauge market consolidation versus trending conditions. When the Choppiness Index indicates high choppiness above a threshold of 50 during a defined trading session, the script plots a transparent rectangle over

Indicator v5 TrendVolatility & bands
Updated 1 year ago · MIT GitHub repository of Inverse Choppiness Index

VIX 10SMA

by klevler
2 stars

This indicator plots candles for a selected symbol, defaulting to CBOE:VIX, in a separate pane together with a simple moving average of close and a line at 1.2 times that average. It colors the background when the symbol high is more than 20 percent above the

Indicator v5 Volatility & bandsMoving averages
Updated 2 years ago · MIT GitHub repository of VIX 10SMA

HTF Candles & Pivots

by itmakesyousick
2 stars

HTF Candles & Pivots overlays higher timeframe candle bodies and wicks directly onto the primary price chart alongside calculated pivot point levels. It visualizes open, high, low, and close levels for selected timeframes like hourly, daily, or weekly bars usi

Indicator v5 Support & resistanceCandlestick patterns
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots
2 stars

Zig Zag Ratio Simplified plots ZigZag trend lines connecting swing highs and lows on the price chart. It calculates ratio relationships between market swings, displaying ratio labels, high and low price tags, and an optional status helper table. Main settings

Indicator v5 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of Zig Zag Ratio Simplified

[CBB] 2023 System

by codybbrown
2 stars

This overlay indicator calculates the Commodity Channel Index from a selected source and detects crossings above an upper threshold and below a lower threshold, storing the high, low, and midpoint of those bars. It also builds two Bollinger Band sets with inde

Indicator v5 Oscillators & momentumVolatility & bands
Updated 3 years ago · None stated GitHub repository of [CBB] 2023 System

Chandelier Exit + MACD [UT]

by theupslidedown
2 stars

This indicator draws a Chandelier Exit on the price chart. It sets a long stop under the highest price and a short stop above the lowest price, each offset by a multiple of ATR, then trails the active stop as price moves. Direction turns long or short when pri

Indicator v5 TrendVolatility & bands Repaints
Updated 3 years ago · None stated GitHub repository of Chandelier Exit + MACD [UT]

POC VA Levelz

by ClimberMel
2 stars

POC VA Levelz is a volume profile indicator that plots the point of control and value area on the price chart. It calculates and displays the daily open, initial balance high, previous day POCs, developing day POCs, and day before yesterday POCs as horizontal

Indicator v4 Support & resistanceVolume Repaints
Updated 4 years ago · MIT GitHub repository of POC VA Levelz

Order Level Search

by DaniilOkrug
2 stars

Calculates and plots horizontal support and resistance levels by identifying recurring price clusters within a set historical lookback period. The indicator scans past highs and lows, grouping touches that fall within a specified tick deviation. Levels meeting

Indicator v5 Support & resistance Repaints
Updated 4 years ago · MIT GitHub repository of Order Level Search

MC - Money Flow Index

by Metzenas
2 stars

MC - Money Flow Index calculates and plots a volume-weighted oscillator in a separate pane based on typical price and trading volume over a customizable lookback period. The oscillator line dynamically turns green when reading at or above 50 and red when falli

Indicator v4 Oscillators & momentumVolume
Updated 5 years ago · None stated GitHub repository of MC - Money Flow Index

Trendlines - JD

by JorisDuyck
2 stars

This indicator detects pivot highs and pivot lows to construct and plot dynamic trendlines directly on the price chart. It stores pivot coordinates inside a custom pseudo-3D array structure and connects consecutive points using either candle wicks or real bodi

Indicator v4 Support & resistanceTrend
Updated 5 years ago · MIT GitHub repository of Trendlines - JD
1 stars

The Moving Average Exponential indicator plots an EMA of the input source with a user-defined length on the price chart. It supports offset for shifting the plot. Additional smoothing options apply different MA types to the EMA output and optionally overlay Bo

Indicator v6 Moving averagesVolatility & bands
Updated 2 days ago · Custom licence GitHub repository of Moving Average Exponential
1 stars

An indicator that reads open, high, low, close and volume for a chosen symbol from a Pine Seeds repository, set by owner and repository inputs, and plots the seed close on the chart. It adds a simple moving average of the seed close with optional one standard

Indicator v6 Mean reversion
Updated 2 days ago · None stated GitHub repository of GitHub CSV Seed (Daily Refresh)
1 stars

Fits a rolling regression of the chart's close several bars ahead on z-scored macro inputs, then plots the fitted value shifted forward so the line leads price on the chart. One feature set uses rates and cross-asset series such as US yields, the dollar index

Indicator v6 AI / machine learning
Updated 2 days ago · None stated GitHub repository of Nasdaq Macro Lead - Fair Value

ZeroDTE Wave v1

by xynkro
1 stars

An overlay that marks reversal entries and exits for same-day index option trades on five-minute bars. Entries need a stochastic reversal cross, an EMA trend filter, a cooldown and a time window, and must pass a confluence score, a VIX stand-aside gate, an opt

Indicator v5 Mean reversionSessions & time
Updated 2 days ago · None stated GitHub repository of ZeroDTE Wave v1

Rebalanced Allocation

by nvolpe2007-cell
1 stars

Simulates a portfolio of ten crypto assets, a gold-backed token and cash that is rebalanced on a fixed schedule, and plots the resulting equity curve against buy and hold in a separate pane. Target weights are 50 percent crypto, 25 percent gold and the rest ca

Indicator v6 Screeners & dashboards
Updated 2 days ago · None stated GitHub repository of Rebalanced Allocation

Tsh Arrow

by teshmi9z-beep
1 stars

An overlay that draws a SuperTrend-style trend line built from a volume-weighted moving average, selectable from SMA, EMA, WMA, RMA or VWMA types, with a fixed ATR factor. A k-nearest neighbours routine compares recent prices with the smoothed trend line to pr

Indicator v5 TrendAI / machine learning
Updated 2 days ago · MIT GitHub repository of Tsh Arrow

Ghost x Gemini

by mphinance
1 stars

A dashboard-style overlay meant to be added next to another indicator, showing a structured information panel of trend, volatility and momentum readings on the price chart. It draws on Hull trend, TRAMA, Keltner bands, swing structure, Williams %R exhaustion,

Indicator v6 Screeners & dashboardsTrend
Updated 3 days ago · Custom licence GitHub repository of Ghost x Gemini

AI Renko Supertrend

by ankurksoni
1 stars

A price-chart overlay that builds Renko-style bricks from an adaptive ATR and runs a Supertrend on them. ATR length is blended from short, base, long and slow readings, and the band factor and brick size widen or narrow depending on whether volatility is high

Indicator v6 TrendVolatility & bands
Updated 3 days ago · None stated GitHub repository of AI Renko Supertrend

DIY Volume Profile

by jayadevrana
1 stars

DIY Volume Profile is an indicator that calculates the point of control and value area using volume distribution across price rows based on the last specified lookback bars. It plots horizontal lines for the value area high and low along with the POC on the pr

Indicator v6 VolumeSupport & resistance
Updated 4 days ago · MPL-2.0 GitHub repository of DIY Volume Profile

Week 03

by moonyroy
1 stars

Week 03 is an overlay indicator that groups price into fifteen-minute blocks and tracks each group's open, high, and low. It records which side of the previous range breaks first, then draws line segments connecting the prior structure point to those highs and

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 days ago · None stated GitHub repository of Week 03

I_ma

by GammaExpansion
1 stars

This indicator calculates and plots a wide selection of moving averages across multiple lookback lengths, including simple, exponential, running, weighted, volume-weighted, Hull, Arnaud Legoux, and linear regression curves. It also computes chained and volume-

Indicator v6 Moving averagesTrend
Updated 7 days ago · MIT GitHub repository of I_ma

EMA1-EMA2 Analiz

by engtuncay
1 stars

This indicator plots two exponential moving averages and two moving averages on the price chart. It calculates bullish and bearish crossovers between the primary moving averages to generate signals, displaying transition markers above and below bars as well as

Indicator v6 Moving averagesTrend
Updated 7 days ago · None stated GitHub repository of EMA1-EMA2 Analiz

GridWB4

by cckmchiu-gapps
1 stars

GridWB4 plots a customizable price-and-time grid directly on the chart using two user-defined anchor coordinates (top-right and bottom-left). It divides the selected time and price range into up to seven side-by-side grid units with borders and diagonal slope

Indicator v5 Support & resistance
Updated 8 days ago · None stated GitHub repository of GridWB4

DEPV2 A5 · HACİM

by YuceSezar89
1 stars

DEPV2 A5 plots volume participation in a separate pane. It divides current volume by its simple moving average, estimates directional flow from a close-location delta, and measures how much recent volume sits inside a price band around the close, scaled by ATR

Indicator v6 VolumeVolatility & bands
Updated 13 days ago · None stated GitHub repository of DEPV2 A5 · HACİM

MTF Overlay Suite

by MuhammadMuhamid
1 stars

A price-chart overlay that collects many modules in one script: four SMAs, four EMAs, three Supertrends, VWAP, Bollinger Bands, standard pivot points, support and resistance zones, trendlines and an automatic Fibonacci retracement. Each moving average can use

Indicator v6 Moving averagesSupport & resistance Repaints
Updated 13 days ago · None stated GitHub repository of MTF Overlay Suite

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