Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 156)

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

Sessions Toolbox

by g-moe
3 stars

Sessions Toolbox overlays key intraday trading sessions—Asia, Euro, and USA—directly on the price chart. It features optional background highlighting, markers for session open and close levels, and session-specific Volume Weighted Average Price (VWAP) lines wi

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Sessions Toolbox

SLGCW-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest buy and sell labels for SLGCW on the price chart. An ETF input switches between a combined view and ARKG only. In the combined view, each dated label shows a buy or sell mark and a same-day ETF count. In the ARKG view

Indicator v4
Updated 2 years ago · None stated GitHub repository of SLGCW-tracker
99 stars

This indicator implements John Ehlers' Swiss Army Knife as a second-order recursive filter and plots the result in a separate pane. A mode string selects EMA, SMA, Gaussian, Butterworth, smoother, high-pass, two-pole high-pass, band-pass, or band-stop coeffici

Indicator v6 Moving averagesOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of SAK: Swiss Army Knife Indicator

Squeeze Momentum

by g-moe
3 stars

This overlay indicator combines classic Bollinger Band and Keltner Channel squeeze detection with linear regression momentum and pivot-based support and resistance levels. It plots a long-term moving average filter and tracks squeeze compression and release co

Indicator v5 Volatility & bandsOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Squeeze Momentum

Pushing request.security

by regalouisei
2 stars

This indicator generates a multi-ticker dashboard table displaying key metrics across multiple symbols on a user-defined timeframe. It calculates data such as percentage price changes, RSI values, and moving average relationships using multi-symbol requests. S

Indicator v5 Screeners & dashboards
Updated 8 months ago · None stated GitHub repository of Pushing request.security

SLGL-tracker

by Allen1212
303 stars

The SLGL-tracker is an indicator that plots labels on the price chart to visualize ARK Invest's purchases and sales of stocks from November 2019 to the present. It draws buy and sell labels showing share volume and ETF weight for selected ETFs. Users can choos

Indicator v4 Support & resistance
Updated 2 years ago · None stated GitHub repository of SLGL-tracker
99 stars

This indicator calculates John Ehlers' Smoothed Adaptive Momentum oscillator in a separate pane. It identifies the dominant cycle period using a Hilbert Transform and Homodyne Discriminator, then measures price momentum across that dynamic cycle length. A two-

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of SAM: Smoothed Adaptive Momentum

Stoch Slow

by g-moe
3 stars

This indicator calculates a Slow Stochastic Oscillator plotted in a separate pane. It calculates a smoothed %K value using a 3-period stochastic raw calculation averaged over a configurable K Period simple moving average. The %D line is calculated by applying

Indicator v5 Oscillators & momentum
Updated 5 months ago · None stated GitHub repository of Stoch Slow
2 stars

The R:R Trading System Framework is a TradingView Pine Script indicator that overlays on the price chart. It lets users select a backtest method such as Stochastic or 2x MA Cross. Multiple risk-reward levels can then be configured with adjustable stop loss per

Indicator v5 Support & resistanceOscillators & momentum
Updated 8 months ago · None stated GitHub repository of R:R Trading System Framework

SMFR-Tracker

by Allen1212
303 stars

SMFR-Tracker visualizes historical ARK Invest buy and sell transactions directly on the price chart for the SMFR ticker. It draws chart labels at specific historical trade timestamps, indicating whether ARK funds bought or sold shares on those days. Users can

Indicator v4
Updated 2 years ago · None stated GitHub repository of SMFR-Tracker
99 stars

The Savitzky-Golay Filter applies polynomial convolution to smooth price series while preserving features like local extrema better than simple moving averages. It calculates filter coefficients based on the selected window size and polynomial order, applying

Indicator v6 Moving averagesTrend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Savitzky-Golay Filter (SGF)
3 stars

Stochastic Divergences calculates standard Stochastic Oscillator lines (%K and %D) and scans for regular and hidden divergences against price action. It evaluates pivot highs and lows over a user-defined pivot lookback period to compare oscillator peaks and tr

Indicator v5 Oscillators & momentumDivergence
Updated 5 months ago · None stated GitHub repository of Stochastic Divergences
2 stars

This overlay indicator builds a sentiment profile across the highest-to-lowest price range of a lookback window. It splits that range into rows and draws boxes whose length reflects bullish or bearish candle bodies, optionally using lower-timeframe intrabar op

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Range Sentiment Profile [LuxAlgo]

SNAP-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of SNAP on the price chart. It places green buy labels below bars and red sell labels above bars on fixed calendar dates, with text that counts how many selected ETFs traded the stock that

Indicator v4
Updated 2 years ago · None stated GitHub repository of SNAP-tracker
99 stars

This indicator calculates the Schaff Trend Cycle and plots it in a separate pane. It subtracts a slow EMA from a fast EMA, applies a stochastic over the cycle length, smooths that result, and applies a second stochastic. A second-stage smoother then feeds opti

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Schaff Trend Cycle (STC)
3 stars

Supersaiyan Strategy is an overlay indicator that plots three exponential moving averages alongside the volume-weighted average price (VWAP). It computes a standard Moving Average Convergence Divergence (MACD) oscillator and prepares trend metrics based on EMA

Indicator v5 Moving averagesOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Supersaiyan Strategy
2 stars

This indicator logs realtime bar updates across five dimensions: volume, price, time, activity, and age to plot interactive profiles directly on the price chart. It aggregates ticks, volume, and polarity into customizable level buckets, displaying double-sided

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Realtime 5D Profile [LucF]

SNOW Tracker

by Allen1212
303 stars

SNOW Tracker visualizes historical buy and sell transactions executed by ARK Invest ETFs for Snowflake Inc. (SNOW). It plots green and red labels directly on the main price chart at specific historical transaction timestamps. Each label indicates whether share

Indicator v4
Updated 2 years ago · None stated GitHub repository of SNOW Tracker

This indicator calculates the second finite difference of a chosen source series, treating that value as price acceleration. It subtracts twice the previous bar from the current bar and adds the value two bars earlier, then plots the result as a yellow line in

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Second Derivative / Acceleration (ACCEL)
2 stars

This indicator plots a histogram of historical risk values in a separate pane. It calculates risk with standard deviation, ATR, downside deviation, drawdown, entropy-based risk, or VIX. Drawdown can use the period high or a rolling high. Users set lookback, op

Indicator v5 Volatility & bandsScreeners & dashboards
Updated 8 months ago · None stated GitHub repository of Risk Distribution Histogram

SNPS-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest buy and sell events for Synopsys on the price chart as dated labels. Green labels mark buys below the bar and red labels mark sells above the bar, with an X count for how many ARK ETFs traded the stock that day. The E

Indicator v4
Updated 2 years ago · None stated GitHub repository of SNPS-tracker

Skewness (SKEW)

by mihakralj
99 stars

This indicator calculates the population skewness of a chosen source over a rolling lookback, using the Fisher-Pearson coefficient. It keeps rolling sums of the mean, variance, and third central moment, then divides the third moment by the cubed standard devia

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Skewness (SKEW)
3 stars

This indicator plots multiple moving averages directly on the price chart and identifies crossover entry and exit signals. It evaluates crossovers between a fast moving average and a slower baseline, requiring price bar direction confirmation to mark long and

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of 2 EMA Cross 10 EMA
2 stars

This overlay indicator plots a six-axis RSI radar on the price chart. It requests 14-period RSI for six user-chosen timeframes and places each reading on a polygon centered on the visible price range. Overbought and oversold marks sit at 70 and 30. Settings ch

Indicator v5 Oscillators & momentum
Updated 8 months ago · None stated GitHub repository of RSI Radar Multi Time Frame

SNTI-tracker

by Allen1212
303 stars

This overlay indicator plots historical ARK Invest buy and sell labels for SNTI on the price chart. Green labels sit below the bar for buys and red labels sit above the bar for sells, each tied to a fixed calendar date and marked with an X1 count. The only set

Indicator v4
Updated 2 years ago · None stated GitHub repository of SNTI-tracker

Solar Cycle (SOLAR)

by mihakralj
99 stars

This indicator calculates a solar cycle from each bar's open time using the Sun's ecliptic longitude. The result runs from about -1 at the winter solstice through 0 at the equinoxes to about +1 at the summer solstice, and it is plotted as a yellow line in a se

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Solar Cycle (SOLAR)

Equivolume Bars

by regalouisei
2 stars

Equivolume Bars displays custom candlestick boxes on the main price chart, where each bar's width is proportional to its volume relative to a rolling lookback sum. The script calculates volume ratios to stretch or shrink historical and live price bodies and wi

Indicator v4 VolumeCandlestick patterns
Updated 8 months ago · None stated GitHub repository of Equivolume Bars

SOFI-tracker

by Allen1212
303 stars

This indicator plots hardcoded ARK Invest buy and sell dates for SOFI on the price chart. Green labels sit below bars for buys and red labels sit above bars for sells. The ETF input switches between combined activity and ARKF-only records. Combined mode marks

Indicator v4
Updated 2 years ago · None stated GitHub repository of SOFI-tracker
99 stars

This indicator calculates the Spearman rank correlation coefficient between the chart asset and a secondary ticker, plotting the resulting values between minus one and plus one in a separate pane. It ranks price data over a specified lookback period and applie

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Spearman Rank Correlation (SPEARMAN)
3 stars

This overlay indicator plots ATR-based horizontal levels around the previous close of a selected higher timeframe. A trading-type input maps day, multiday, swing, position, and long-term modes to daily through yearly periods. It draws trigger bands from a perc

Indicator v5 Volatility & bandsSupport & resistance Repaints
Updated 5 months ago · None stated GitHub repository of ATR Levels + CALL/PUT

SPCE-tracker

by Allen1212
303 stars

This indicator plots ARK Invest trade labels for SPCE stock on the price chart. It shows buy and sell actions with share volumes and marks multiple transactions per day when several ARK ETFs trade the stock. Users select an ETF type from the input settings to

Indicator v4 Screeners & dashboardsSupport & resistance
Updated 2 years ago · None stated GitHub repository of SPCE-tracker
99 stars

Square Root Transformation calculates the square root of a selected price or data series in a separate pane. It applies a mathematical square root function to compress scale differences and reduce variance across positive values. The indicator safely handles m

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Square Root Transformation (SQRT)

Bands Indicator

by g-moe
3 stars

This indicator plots multiple deviation bands around the volume-weighted moving average and standard deviation. Upper bands R-1 to R-6 and lower bands S-1 to S-6 appear at Fibonacci ratios of the deviation from the mid-line on the price chart. The mid-line is

Indicator v5 Volatility & bandsMoving averages
Updated 5 months ago · None stated GitHub repository of Bands Indicator

SPFR-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest exchange-traded funds for the SPFR stock directly on the price chart. It draws green labels below price bars for buy actions and red labels above bars for sell actions, indicating

Indicator v4
Updated 2 years ago · None stated GitHub repository of SPFR-tracker

Squeeze Momentum

by mihakralj
99 stars

This indicator plots Squeeze Momentum in a separate pane. It compares Bollinger Bands with a Keltner Channel to mark a squeeze when the bands sit inside the channel. Momentum is a linear regression of price relative to a Donchian midline and an SMA, shown as a

Indicator v6 Volatility & bandsOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Squeeze Momentum

Bankai + DTEK

by g-moe
3 stars

Bankai + DTEK is an overlay indicator that combines Qualitative Quantitative Estimation (QQE) logic, trend coloring based on SuperTrend and CCI ATR, up to four customizable EMA clouds, and simplified TD Sequential signals. It plots multiple moving average clou

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Bankai + DTEK

SPLK-Tracker

by Allen1212
303 stars

SPLK Tracker is a price chart overlay indicator that plots historical buy and sell transactions made by ARK Invest ETFs for Splunk Inc. (SPLK). The script places labels above or below price bars using historical timestamps corresponding to reported fund trades

Indicator v4
Updated 2 years ago · None stated GitHub repository of SPLK-Tracker
99 stars

The Standard Deviation (STDDEV) indicator calculates the standard deviation of the input source series over a user-defined period. It employs a circular buffer for O(1) streaming computation, ensuring efficient memory usage. The indicator plots the standard de

Indicator v6 Volatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Standard Deviation (STDDEV)

Bankai DXY

by g-moe
3 stars

Bankai DXY is a multi-component trend and signal overlay script that combines EMA clouds, moving average slope filters, Aroon filters, QQE signals, Supertrend, CCI-ATR trend rules, and simplified TD Sequential counts. It overlays dynamic EMA clouds on the main

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Bankai DXY

SPNS-tracker

by Allen1212
303 stars

SPNS-tracker is an overlay indicator that marks ARK Invest purchases of SPNS on the price chart. It places green below-bar labels on two January 2020 dates, each showing a buy with a count of one. A single ETF input exists but only offers ALL, so it does not s

Indicator v4
Updated 2 years ago · None stated GitHub repository of SPNS-tracker

Calculates a linear regression trend line and standard deviation bands based on the residuals over a user-defined lookback window. The script plots the central linear regression line along with upper and lower channel boundaries directly on the price chart, fi

Indicator v6 TrendVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of Standard Deviation Channel (SDCHANNEL)

Bankai ES Trend

by g-moe
3 stars

Bankai ES Trend combines multiple trend and momentum tools into an overlay indicator on the price chart. It calculates moving average slope filters, Aroon trend conditions, QQE momentum signals, Supertrend levels, and multi-period EMA clouds. It plots trend ba

Indicator v5 TrendMoving averages Repaints
Updated 5 months ago · None stated GitHub repository of Bankai ES Trend

SPR-Tracker

by Allen1212
303 stars

SPR-Tracker visualizes historical buys and sells made by ARK Invest funds for the specified ticker directly on the main price chart. It plots text labels indicating buy or sell actions along with the number of participating ARK ETFs on specific transaction dat

Indicator v4
Updated 2 years ago · None stated GitHub repository of SPR-Tracker

This indicator calculates the standard error of a linear regression of the chosen source over a user-defined lookback and plots that value as a yellow line in a separate pane. It fits slope and intercept on a circular buffer, then takes the square root of the

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Standard Error of Regression (STDERR)

SRNG-tracker

by Allen1212
303 stars

This indicator plots ARK Invest trade labels on the SRNG stock price chart. It marks historical buy and sell dates with green or red labels and X1 or X2 multipliers that count how many ARK ETFs participated on each day. The script draws static vertical labels

Indicator v4 Support & resistance
Updated 2 years ago · None stated GitHub repository of SRNG-tracker
99 stars

The Stochastic Fast (STOCHF) indicator calculates the fast stochastic oscillator, consisting of the raw fast %K line and the smoothed fast %D signal line. %K measures the relative position of the current close within the high-low range calculated over the spec

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Stochastic Fast (STOCHF)
3 stars

Buy Low Sell High Composite is a pane oscillator that normalizes RSI, a short-versus-long EMA difference, the MACD histogram, and the Money Flow Index onto a shared scale, then sums them into one composite. It plots that composite as a colored area, the MACD s

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of Buy Low Sell High Composite

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