Pine Library · 1,047 open-source scripts

Free Stock Pine Scripts for TradingView (page 16)

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

Fable Bull HTF v1.2

by nishpa800
1 stars

A bullish-side detection indicator for higher timeframe charts that places numbered signals on the price chart. It combines relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value gap engine

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull HTF v1.2

BLDE-tracker

by Allen1212
303 stars

BLDE-tracker overlays historical ARK Invest buy and sell transactions directly onto the price chart for Blade Air Mobility (BLDE). It plots color-coded labels—green below bars for purchases and red above bars for sales—displaying the transaction direction and

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

Bgcolor Example

by be-thomas
65 stars

Bgcolor Example demonstrates background chart shading based on trading sessions in Pine Script v4. It evaluates whether the current candle falls into pre-market, regular market, or post-market trading hours using a custom session check on a thirty-minute resol

Indicator v4 Sessions & time
Updated 5 days ago · GPL-3.0 GitHub repository of Bgcolor Example

Fable Bull HTF v1.3

by nishpa800
1 stars

A bullish-side detection indicator for higher timeframe charts that draws numbered signals on the price chart. It uses relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value gap engines. A

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull HTF v1.3

BMY-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest for Bristol-Myers Squibb (BMY). It renders static visual labels directly on the price chart at specific historical timestamps, showing green labels below the bar for purchases and

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

Piercing Line & Dark Cloud

by Web3Degenerate
2 stars

This indicator identifies bullish Piercing Line and bearish Dark Cloud candlestick patterns directly on the price chart. It calculates the midpoint of the preceding candle and checks for directional candle closes along with opening gap conditions. To filter fa

Indicator v5 Candlestick patternsOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Piercing Line & Dark Cloud

Fable Bull LTF v1

by nishpa800
1 stars

The first release of a bullish-side detection indicator for lower timeframe charts. It draws numbered signals on the price chart from relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull LTF v1

BNR-Tracker

by Allen1212
303 stars

Visualizes historical ARK Invest transactions for the BNR ticker directly on the price chart. It plots green buy labels below bars and red sell labels above bars on specific historical dates, displaying the trade action and the multiplier count of participatin

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

Fable Bull LTF v1.4

by nishpa800
1 stars

A bullish-side detection indicator for lower timeframe charts that places numbered signals on the price chart. Its engines include relative volume tiers, displacement by a standard deviation multiplier, a VWMA with ATR Supertrend latch, pocket pivots, fair val

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull LTF v1.4

BSEN-tracker

by Allen1212
303 stars

BSEN Tracker overlays historical ARK Invest transaction records directly on the stock price chart. It plots labels on specific dates indicating when ARK funds purchased or sold shares, including multiplier notes when multiple ETFs traded the asset on the same

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

BYDDY-tracker

by Allen1212
303 stars

Plots historical ARK Invest buy and sell transactions for BYDDY directly on the price chart using green and red labels. It maps hardcoded timestamp events corresponding to dates when ARK funds (such as ARKQ) executed transactions, marking whether shares were b

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

BZ-tracker

by Allen1212
303 stars

The BZ-tracker indicator marks ARK Invest buy and sell transactions on stock charts with labels. It plots green labels for purchases and red labels for sales, each annotated with a multiplier such as X1 or X2 to show the number of ARK ETFs trading the stock on

Indicator v4 Support & resistanceScreeners & dashboards
Updated 2 years ago · None stated GitHub repository of BZ-tracker

FBF KC Companion v1

by nishpa800
1 stars

A companion indicator that draws about fifteen signal types on the price chart. It layers Keltner channel re-entry signals, triggered by a basis cross or a slope turn, over a pullback base, pocket pivot and pocket pivot down markers, displacement and a consoli

Indicator v5 Volatility & bandsVolume
Updated 2 months ago · None stated GitHub repository of FBF KC Companion v1

CAMT-tracker

by Allen1212
303 stars

This indicator overlays dated ARK Invest trade markers on the CAMT price chart. It places a green buy label below the bar on 16 January 2020 and a red sell label above the bar on 17 January 2020, each marked X1. An ETF input exists but only offers ALL, so it d

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

First Bar Fable v3

by nishpa800
1 stars

A composite detection indicator that marks fifteen or more toggleable signals on the price chart, each labelled S1 onward. They include relative volume setups combined with displacement and a pullback-and-jump pattern, plus named patterns such as Typhoon, Musa

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of First Bar Fable v3

CAT-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell events for Caterpillar (CAT) on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, with text that records the trade side and how many ARK ETF

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

First Bar Fable v5

by nishpa800
1 stars

A larger release of a composite detection indicator with many toggleable numbered signals drawn on the price chart. They cover relative volume setups with displacement and a pullback-and-jump pattern, plus named patterns such as Typhoon, Musashi, Whale, Dynami

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of First Bar Fable v5

Stocks Buy The Dip

by tseitz
1 stars

An indicator on the price chart that highlights a possible dip entry by shading the background green. The condition is a MACD line crossing above its signal line while MACD is at or below zero and the 14 period RSI sits under a buy threshold, 52 by default. Th

Indicator v4 Oscillators & momentumMean reversion
Updated 4 years ago · None stated GitHub repository of Stocks Buy The Dip

CBMG-Tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell transactions directly onto the price chart for Cellular Biomedicine Group (CBMG). It renders chart labels at explicit historical timestamps corresponding to reported trades, showing transaction type an

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

First Bar Fable v6

by nishpa800
1 stars

The v6 release of a composite detection indicator that draws many toggleable, numbered signals on the price chart. Signals cover relative volume setups with displacement, pullback-and-jump patterns and named formations such as Typhoon, Musashi, Whale, Dynamite

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of First Bar Fable v6

CCJ-tracker

by Allen1212
303 stars

CCJ-tracker is an overlay indicator that marks historical ARK Invest purchases and sales of Cameco with dated labels on the price chart. When the ETF input is set to ALL, it places green Buy labels below bars and red Sell labels above bars on hardcoded dates,

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

Heavy Combo Toggles v2

by nishpa800
1 stars

An indicator that groups fifteen heavy combo detections into three master plots on the price chart: bullish, bearish and neutral. Each master plot is an OR across five combos, namely Heavy Yin-Yang, Heavy Nagasaki, Heavy Nagasaki Volume, Heavy Trident and Neut

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Heavy Combo Toggles v2

CDXS-tracker

by Allen1212
303 stars

This indicator displays historical ARK Invest buy and sell transactions for Codexis Inc (CDXS) directly on the price chart. It plots color-coded labels at exact historical bar timestamps, placing green labels below bars for purchases and red labels above bars

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

Volume Value

by ivansoft
1 stars

An indicator in a separate pane built on traded value, volume times the mid price, taken from 30-second data and cumulated over one, three, five and ten minutes. For each window it computes a percentile level over a settable number of bars and checks the value

Indicator v6 VolumeSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Volume Value

CEL Tracker

by Allen1212
303 stars

CEL Tracker visualizes historical buy and sell transactions executed by ARK Invest directly on the price chart. The indicator places text labels at specific historical timestamps corresponding to public trade reports, displaying buy or sell activity alongside

Indicator v4 Screeners & dashboards
Updated 2 years ago · None stated GitHub repository of CEL Tracker

CELL-tracker

by Allen1212
303 stars

This indicator visualizes historical purchase and sale transactions made by ARK Invest funds on the price chart. It plots labels indicating buy and sell activity, allowing users to filter trades by specific ARK ETFs or view aggregate records. The settings incl

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

CFMS-tracker

by Allen1212
303 stars

CFMS-tracker is an overlay indicator that marks historical ARK Invest sell events for the CFMS ticker as red labels above price bars. The visible script places two Sell X1 labels on 16 and 17 January 2020 using bar timestamps. A single ETF setting exists but o

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

CGEN-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell labels on the CGEN price chart. It places dated labels above or below bars, marking sells in red and buys in green, and shows how many ARK ETFs traded the stock on the same day. An ETF input switches b

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

GG - Levels

by g-moe
3 stars

This indicator tracks and visualizes key intraday session levels directly on the price chart. It calculates open, high, low, and close values for Regular Trading Hours (RTH), the Overnight Session (ON), and the Initial Balance (IB) period. It draws horizontal

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

CGENM-tracker

by Allen1212
303 stars

CGENM-tracker marks recorded ARK Invest activity for the CGENM stock directly on the price chart. The visible code places three red downward labels reading Sell above the bars for 12, 13, and 16 November 2020, using bar timestamps and above-bar placement. It d

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

A volume pattern indicator that draws toggleable signals on the price chart. It includes relative volume patterns such as SAAB, Kratos, Grand Slam, MOAB, Hiroshima and Nagasaki, several long and short setups, high-volume markers across a range of lookbacks, an

Indicator v5 Volume
Updated 2 months ago · None stated GitHub repository of Heavy Weapons Single v3.1

CLDR-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest for Cloudera directly on the price chart. It renders visual labels at specific bar timestamps to show transaction dates and trade counts across tracked funds. The primary setting

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

This indicator measures the relative strength of a chart symbol compared to a benchmark symbol, such as SPY or QQQ. It plots either a raw relative strength ratio or a Mansfield RS oscillator in a separate pane. Confluence signals trigger when relative strength

Indicator v6 TrendOscillators & momentum
Updated 2 days ago · MIT GitHub repository of Relative Strength Line [WavesUnchained]

getSeries

by ivansoft
1 stars

A Pine Script v5 library whose functions build arrays of values that meet a condition. One function collects the latest values where a condition is true since a reset condition, optionally keeping only a set number of values, and another keeps values within a

Library v5
Updated 1 year ago · None stated GitHub repository of getSeries

CLLS-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest for Cellectis S.A. (CLLS) directly on the price chart. It renders green upward labels below price bars for purchase dates and red downward labels above price bars for sales dates,

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

A volume pattern indicator that draws toggleable signals on the price chart, with displacement tuned to a nine standard deviation multiplier. It includes relative volume patterns such as SAAB, Kratos, Grand Slam, Hiroshima and Nagasaki, long and short setups,

Indicator v5 Volume
Updated 2 months ago · None stated GitHub repository of Heavy Weapons Single v3.3 DISP 9

CMLF Tracker

by Allen1212
303 stars

CMLF Tracker overlays historical buy and sell transaction records of ARK Invest funds directly onto the price chart for CMLF. It plots green upward labels for buy dates and red downward labels for sell dates, indicating how many ARK ETFs traded the asset on th

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

CMPS-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest on CMPS directly on the price chart. It displays green upward labels below price bars for purchase dates and red downward labels above price bars for sales, showing transaction fr

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

CND-tracker

by Allen1212
303 stars

This indicator marks historical ARK Invest purchases and sales for the CND ticker on the price chart. It places dated labels below bars for buys and above bars for sells, using green and red label styles. An ETF setting switches between ARKF, ARKW, and a combi

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

Heavy Weapons ULTRA

by nishpa800
1 stars

A volume pattern indicator that draws toggleable signals on the price chart, extended with sub-minute and sub-two-minute thresholds that change the high-volume lookback and displacement floor on very short chart intervals. Signals include relative volume patte

Indicator v5 Volume
Updated 2 months ago · None stated GitHub repository of Heavy Weapons ULTRA

CRBU-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of CRBU on the price chart. When the ETF setting is ALL, it places green buy labels below bars and red sell labels above bars on fixed calendar dates, each tagged X1. The ETF input also off

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

This strategy calculates double-smoothed Heikin Ashi candles and plots them directly on the price chart alongside a smoothed Relative Strength Index. It evaluates market conditions against external volatility data from an inverse symbol, generating long and sh

Strategy v5 Candlestick patternsOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Heikin Ashi with Session Wicks Strategy
2 stars

Risk-Adjusted Momentum Oscillator plots a normalized momentum oscillator in a separate pane, dynamically scaling momentum by ongoing drawdown risk. It calculates momentum via Rate of Change, Price Momentum, or Log Returns, applying Z-score normalization and ad

Indicator v6 Oscillators & momentumVolatility & bands
Updated 8 months ago · None stated GitHub repository of Risk-Adjusted Momentum Oscillator

CRM-tracker

by Allen1212
303 stars

This indicator plots historical ARK Invest buy and sell activity for Salesforce (CRM) on the price chart. It places green labels below bars for buys and red labels above bars for sells, using fixed calendar dates and a count of how many ARK ETFs traded that da

Indicator v4
Updated 2 years ago · None stated GitHub repository of CRM-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