Pine Library · 1,047 open-source scripts

Free Stock Pine Scripts for TradingView (page 17)

Open-source Pine scripts written for shares: relative strength, earnings and gap tools, screeners and stock strategies.

Pine scripts1,047
Code shown here408open licence
Updated in a year564
No repaint flag963

Stocks: Indicators, Strategies and Libraries

65 stars

This reference indicator demonstrates how to retrieve symbol data using Pine Script v4 syntax. It calls the security function to request the closing price of BATS:AAPL on the current timeframe with gaps enabled. The resulting values are plotted in a separate p

Indicator v4 Sessions & time
Updated 5 days ago · GPL-3.0 GitHub repository of Example 1: Regular Session Data

CRNT-tracker

by Allen1212
303 stars

This overlay indicator marks recorded ARK Invest activity on the CRNT price chart. In the provided code it places a green buy label below the bar at a fixed historical date, with the text Buy and X1. An ETF input is present but offers only ALL, so it does not

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

HUB 1020 1153am

by nishpa800
1 stars

A signal hub indicator that bundles many detection groups into plots on the price chart. Groups include White Flag momentum, overlap and super patterns, fauna clusters, relative volume windows, first two bars, a swing bottom and a pullback-and-jump follow-up b

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of HUB 1020 1153am

CRS-tracker

by Allen1212
303 stars

This overlay indicator marks ARK Invest activity on the CRS price chart. It places a single green label below the bar at the timestamp 17 January 2020 with the text Buy and X1. An ETF input is present but only offers the option ALL, so it does not switch among

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

Signal Quality Engine [WavesUnchained] is a range-fade indicator that identifies exhaustion at range extremes and signals potential reversals. It applies an ADX and EMA slope regime gate to stand down during strong trends. Using distance, structure, and moment

Indicator v6 Mean reversionSupport & resistance
Updated 2 days ago · MIT GitHub repository of Signal Quality Engine [WavesUnchained]

Hercules Rewrite

by g-moe
3 stars

Hercules Rewrite is a signal and visual trade management indicator that overlays entry setups directly on the price chart. It detects candle setups based on minimum tick movement and engulfing patterns, filtering entries through parameters like moving averages

Indicator v5 Candlestick patternsTrend
Updated 5 months ago · None stated GitHub repository of Hercules Rewrite

HUB 1020 1153am Bear

by nishpa800
1 stars

A bearish mirror of a signal hub indicator that bundles many detection groups into plots on the price chart. Groups include White Flag momentum, overlap and super patterns, fauna clusters, relative volume windows, first two bars, a swing top and a pullback-and

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of HUB 1020 1153am Bear

CRWD-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest trade markers for CrowdStrike (CRWD) on the price chart. It places green buy labels below bars and red sell labels above bars at fixed dates, with text such as Buy or Sell and an X1 count. The ETF input switches be

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

This indicator plots the close of BATS-listed AAPL on the chart timeframe in a separate pane, using a broken line style. It builds a tickerid for that symbol limited to the regular session, but the security call shown uses the plain BATS:AAPL symbol and reques

Indicator v4 Sessions & time
Updated 5 days ago · GPL-3.0 GitHub repository of Example 3: Regular Session Data (using tickerid)
1 stars

A signal hub indicator that bundles many detection groups into plots on the price chart, in a tick-chart-safe build. Groups include White Flag momentum, overlap and super patterns, fauna clusters, relative volume windows, first two bars, a swing bottom and a p

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of HUB 1020 1153am Tick-Friendly

CSOD-tracker

by Allen1212
303 stars

The CSOD-tracker indicator visualizes historical institutional purchases and sales directly on the price chart by plotting buy and sell labels with corresponding ETF count markers. It utilizes predefined timestamp records to display trade events for the specif

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

CSTL-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest buy and sell events for CSTL on the price chart. It places green labels below bars for buys and red labels above bars for sells, each dated with a fixed timestamp and marked with an ETF count such as X1. The ETF input

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

CYBR-tracker

by Allen1212
303 stars

This overlay indicator marks ARK Invest activity on the CYBR price chart. With the ETF input set to ALL, it draws a green buy label below the bar dated 16 January 2020, using the text Buy and a same-day count of X1. The script does not calculate price indicato

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

DANE-tracker

by Allen1212
303 stars

DANE-tracker is a Pine Script v4 overlay that marks dated purchase events on the DANE price chart. With the ETF input set to ALL, the only available choice, it places green labels below the bars on 16 January 2020 and 22 January 2020, each reading a buy with a

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

ICT ORB

by alboogycOdR
6 stars

This overlay indicator marks a session opening range on the price chart and filters breakouts with relative volume. Session type, duration, and optional custom start time set the range, and historical ranges can stay on the chart. Full mode can require a liqui

Indicator v5 BreakoutSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of ICT ORB
3 stars

Calculates and plots key session reference levels directly on the price chart, specifically pre-market high and low alongside prior day high and low. Users can adjust how levels project across historical data, toggle line labels, customize spacing, and show pr

Indicator v5 Support & resistanceSessions & time
Updated 5 months ago · None stated GitHub repository of Hooplah High Low + Table

DDD-tracker

by Allen1212
303 stars

DDD-tracker is an overlay indicator that marks historical ARK Invest purchases and sales of DDD on the price chart. It draws green buy labels below bars and red sell labels above bars at fixed dates, with a count of how many ARK funds traded the stock that day

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

DE-tracker

by Allen1212
303 stars

This indicator plots labels on the TradingView price chart to mark ARK Invest's buy and sell trades for the DE stock. Buy transactions appear in green with X1 or X2 multipliers showing the number of ARK ETFs involved on the same day; sells appear in red. The m

Indicator v4 Support & resistanceSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of DE-tracker

This strategy calculates standard Bollinger Bands using a Simple Moving Average and standard deviation multiplier to identify entry conditions. It triggers pending stop orders and outputs formatted alert messages compatible with TradingConnector for automated

Strategy v5 Volatility & bandsMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of Bollinger Bands Strategy with TradingConnector Alerts

DIS-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of Disney on the price chart. It does not calculate an oscillator or generate live signals. When the ETF input is ALL, it places green buy labels below bars and red sell labels above bars o

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

DOCU-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest purchase and sale marks for DocuSign on the price chart. Green labels below bars mark buys and red labels above bars mark sells, each tied to a fixed calendar date. A multiplier such as X2 or X3 shows how many selecte

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

DOYU-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of DOYU on the price chart. When the ETF input is ALL, it places green buy labels below the bar and red sell labels above the bar on fixed calendar dates, each labeled with an X1 count. The

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

Example security 1

by be-thomas
65 stars

This indicator plots the 15-minute close of NYSE:IBM on the current chart. It calls the security function with a fixed symbol, the 15-minute timeframe, and the close, then draws that series as one overlay line. There are no inputs, alerts, or trade entries and

Indicator v4
Updated 5 days ago · GPL-3.0 GitHub repository of Example security 1

DRNA-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest for the stock DRNA directly on the price chart. It renders green upward labels below price bars for purchase events and red downward labels above price bars for sales events, disp

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

ATR Compare

by ivansoft
1 stars

Compares normalised volatility across a fixed list of Moscow Exchange stocks and funds in a separate pane. For each symbol it requests a 14-period ATR expressed as a percentage of close and plots it as a line, drawing the line more strongly when the value is a

Indicator v5 Volatility & bandsScreeners & dashboards
Updated 1 year ago · None stated GitHub repository of ATR Compare

DSM-tracker

by Allen1212
303 stars

DSM-tracker is an overlay indicator that marks ARK Invest activity on the price chart. In the supplied code it draws one green label below the bar on 17 January 2020 reading Buy X1 when the ETF input is ALL. That input offers only the ALL choice, so it does no

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

This indicator draws an equity factor dashboard in a separate pane. It can show a correlation table over a chosen length and a performance table based on rate of change or Sharpe ratio. Optional implied correlation plots, including single and double normalizat

Indicator v5 Screeners & dashboardsOscillators & momentum
Updated 8 months ago · None stated GitHub repository of CE - 42MACRO Equity Factor Table

DSY-tracker

by Allen1212
303 stars

DSY-tracker is an overlay indicator that marks recorded ARK Invest purchases of DSY on the price chart. When the ETF input is set to ALL, it places green buy labels below bars on a fixed list of dates beginning in November 2019. The ETF setting switches the di

Indicator v4
Updated 2 years ago · None stated GitHub repository of DSY-tracker
3 stars

Inner Outer Risk Zones plots horizontal price levels and risk boundary zones directly on the main price chart. The indicator allows traders to input manual target and support levels—including Outer Top, Inner Top, Inner Bottom, and Outer Bottom—along with risk

Indicator v5 Support & resistance
Updated 5 months ago · None stated GitHub repository of Inner Outer Risk Zones

DYNS-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of DYNS on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, with an X1 count of how many ARK ETFs traded that day. An ETF input

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

This lower-pane indicator tracks a custom Supertrend built from ATR and a selectable average, then colors trend states such as rising, bear, pretrend, overbought, and oversold. It can paint bars, plot optional arrows, and show a dashboard of EMA lengths and sc

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of J8 30 123 Spy Scalping Lower Pro

EDIT-tracker

by Allen1212
303 stars

EDIT-tracker is a Pine Script v4 overlay indicator that marks historical ARK Invest purchases and sales of the EDIT stock on the price chart. With the ETF input set to ALL, it places green Buy labels below bars and red Sell labels above bars on fixed calendar

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

This indicator draws a SPY scalping panel in a separate pane. It calculates a Supertrend side from ATR smoothed by a selectable average, defaulting to HMA, and uses three moving averages of selectable type, defaulting to EMA lengths 13, 50, and 75. Colors mark

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of J8 30 123 Spy Scalping Lower Pro 2 Jerry

EDR-tracker

by Allen1212
303 stars

EDR-tracker is an overlay indicator that marks historical ARK Invest purchases and sales of EDR on the price chart. It places green buy labels below bars and red sell labels above bars at hardcoded dates. Each label shows the trade direction and how many ARK E

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

J8 30 123 SPY Scalping PRO 2 Jerry is an overlay strategy designed for short-term SPY scalping and spread setups. It combines multiple Exponential Moving Averages with a custom Supertrend calculation based on flexible moving average types and ATR lengths to pl

Strategy v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of J8 30 123 SPY Scalping PRO 2 Jerry

Gaps

by ivansoft
1 stars

An indicator on the price chart that finds price gaps between bars and draws a box over each one, green for up gaps and red for down gaps. A gap must exceed a minimum size set as a percentage of the recent average bar range. Each box extends to the right until

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of Gaps

ESLT-tracker

by Allen1212
303 stars

ESLT-tracker plots historical ARK Invest purchase and sale labels on the ESLT price chart. Green labels mark buys below bars and red labels mark sells above bars at fixed calendar timestamps. The ETF input switches between all recorded activity and the ARKQ or

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

This intraday strategy is designed for short-term scalping on equity and index markets like SPY. It evaluates price movement using configurable exponential and Hull moving averages combined with an ATR-based Supertrend calculation. The script plots signal arro

Strategy v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of J8 30 123 SPY Scalping PRO 2 Jerry

EVGN-tracker

by Allen1212
303 stars

EVGN-tracker places dated labels on the EVGN price chart to mark ARK Invest buy and sell activity. Green labels sit below bars for buys and red labels sit above bars for sells. Each label shows Buy or Sell and an X count of how many ARK ETFs traded that day. A

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

Hidden Relative Strength

by eddiebelaval
7 stars

The Hidden Relative Strength indicator normalizes price changes of a symbol by dividing them by ATR volatility, then subtracts the normalized move of a benchmark symbol such as QQQ to derive raw relative strength. This value is accumulated over time, scaled by

Indicator v5 Volatility & bandsOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Hidden Relative Strength

Diluted EPS Signal

by regalouisei
2 stars

This indicator tracks fundamental earnings data directly on the price chart. It retrieves consensus earnings-per-share estimates and reported diluted EPS using financial data requests. When a new earnings report is detected, it calculates the percentage surpri

Indicator v5
Updated 8 months ago · None stated GitHub repository of Diluted EPS Signal

EXPC-tracker

by Allen1212
303 stars

This Pine Script indicator plots labels on the price chart to mark ARK Invest ETF buy and sell events for a selected stock. The main input setting is ETF type selection, defaulting to ALL or specific ETFs such as ARKQ. Labels appear below the chart price for e

Indicator v4 Support & resistanceSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of EXPC-tracker

FARO-tracker

by Allen1212
303 stars

This indicator plots ARK Invest trade marks for FARO on the price chart. It places dated labels above bars for recorded sales, including a sell mark on 17 January 2020 labeled as one ETF. The only input is an ETF selector whose sole option is ALL, so it does n

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

FATTAL-tracker

by Allen1212
303 stars

This indicator overlays dated ARK Invest buy and sell labels on the FATTAL price chart. It places a green buy label below the bar and a red sell label above the bar at fixed historical timestamps, with text marking the direction and a count of one. An ETF inpu

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

Jerry MACD

by g-moe
3 stars

Jerry MACD is a momentum oscillator indicator displayed in a separate pane. It calculates a standard Moving Average Convergence Divergence line, signal line, and histogram using fast, slow, and signal lengths. The indicator features symbol-specific entry thres

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of Jerry MACD

FB Tracker

by Allen1212
303 stars

This indicator plots ARK Invest buy and sell trade labels directly on the price chart for Facebook stock. Labels show buy quantities with green "Buy Xn" text and sell quantities with red "Sell Xn" text at exact bar times. The etf_type input changes the ETF fil

Indicator v4 Support & resistanceSMC / ICT / price action
Updated 2 years ago · None stated GitHub repository of FB Tracker

Earnings Price Move Cheat Sheet [Kioseff Trading] is an overlay indicator designed to quantify price movements around earnings announcements. It calculates percentage returns across earnings periods and uses historical simulation to estimate Value at Risk (VaR

Indicator v5 Volatility & bandsScreeners & dashboards
Updated 8 months ago · None stated GitHub repository of Earnings Price Move Cheat Sheet [Kioseff Trading]

FBRT-tracker

by Allen1212
303 stars

FBRT-tracker is an overlay indicator that marks recorded ARK Invest activity in FBRT with labels on the price chart. With the ETF input set to ALL, it draws red downward labels above bars on fixed dates, each reading as a sell with a count of X1. The only sett

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

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