Pine Library · 1,372 open-source scripts

Free Crypto Pine Scripts for TradingView (page 20)

Open-source Pine scripts written for bitcoin and other crypto markets, which trade every day of the week.

Pine scripts1,372
Code shown here785open licence
Updated in a year696
No repaint flag1,164

Crypto: Indicators, Strategies and Libraries

DEPV2 DEBUG S17

by YuceSezar89
1 stars

DEPV2 DEBUG S17 is a debug indicator for a multi-method crypto trading signal tool. It supports 20 major cryptocurrency symbols from Binance such as BTCUSDT, ETHUSDT, SOLUSDT, and others. Four signal classes are available: TREND based on price levels, MOMENTUM

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S17
1 stars

A Pine v4 strategy that builds a MACD from simple moving averages of 12 and 26 bars with a nine-bar signal, alongside a 14-period RSI. It plots the volume-weighted average price in blue and the 30-bar highest and lowest closes as green and red lines on the pri

Strategy v4 Oscillators & momentumVolume Repaints
Updated 4 years ago · None stated GitHub repository of MACD Please (Shorts)

FairValueGap E003

by ruckard
13 stars

Calculates the distance between the current price and the opposite end of the latest fair value gap, entering trades on the expectation that price will partially fill the gap. It incorporates risk management with customizable stop loss, take profit based on ri

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FairValueGap E003

DEPV2 DEBUG S18

by YuceSezar89
1 stars

This Pine Script indicator scans multiple Binance cryptocurrency symbols including BTCUSDT, ETHUSDT, and others. It computes signals across four method classes: trend, momentum, volatility, and volume. Different signal modes include single-method, simultaneous

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S18

MACD Please 3

by tseitz
1 stars

A Pine v4 strategy that draws VWAP and green and red lines for rolling highs and lows over two and five bars. It watches for price breaking those extremes together with MACD and RSI bottoming patterns, and keeps counters of highs and lows. Inputs set the lookb

Strategy v4 Oscillators & momentumBreakout Repaints
Updated 4 years ago · None stated GitHub repository of MACD Please 3

FairValueGap F004

by ruckard
13 stars

The FairValueGap F004 strategy trades fair value gap fills with automated risk management and Zignaly webhook integration. It calculates the distance between the current price and the opposite end of a recently created gap, entering positions with the expectat

Strategy v5 SMC / ICT / price actionMean reversion
Updated 1 year ago · None stated GitHub repository of FairValueGap F004

DEPV2 DEBUG S19

by YuceSezar89
1 stars

This indicator monitors and analyzes up to 20 cryptocurrency pairs across four core analytical dimensions: trend, momentum, volatility, and volume. It generates signals using several selectable modes, including single-factor triggers, simultaneous multi-method

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S19
1 stars

A Pine v4 strategy using a 12/26 MACD, a 14-period RSI and rolling highs and lows over lookbacks of sixty and two hundred twenty bars. Inputs set take-profit and stop-loss percentages for longs and shorts, and a maximum of four adds. Counters of new highs and

Strategy v4 Oscillators & momentumBreakout Repaints
Updated 4 years ago · None stated GitHub repository of MACD Please 4 (Long Lookbacks)
114 stars

This script plots pivot-based support and resistance levels on the price chart while generating directional trade labels tagged with RSI values to measure momentum at turning points. It overlays multi-timeframe open and close step lines with background fills t

Indicator v4 Support & resistanceOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Support and Resistance Strategy (v.2)

FilledValueGap A006

by ruckard
13 stars

This strategy enters trades in the opposite direction of filled value gaps, operating under the assumption that price action will resume the primary trend after filling a recent gap. It plots directly on the main price chart and supports MA-based trend filters

Strategy v5 SMC / ICT / price actionTrend
Updated 1 year ago · None stated GitHub repository of FilledValueGap A006

DEPV2 DEBUG S2

by YuceSezar89
1 stars

DEPV2 DEBUG S2 is a multi-symbol indicator that aggregates signals across 20 cryptocurrency pairs using four methods: TREND, MOMENTUM, VOLATILITY and VOLUME. It supports signal modes including simultaneous confidence, sequential and automatic per-asset selecti

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S2
1 stars

A Pine v4 strategy combining a 12/26 MACD, a 14-period RSI and rolling highs and lows over lookbacks of twenty and two hundred twenty bars. Inputs set long and short percentage stops, an RSI level for closing longs in a short zone, a short-selling switch and a

Strategy v4 Oscillators & momentumBreakout
Updated 4 years ago · None stated GitHub repository of MACD Please 4 (Percent Stops)

FilledValueGap B002

by ruckard
13 stars

FilledValueGap B002 is a strategy designed to execute trades when price moves to fill recently created gaps, operating under the assumption that price action will continue along the main trend direction. It uses Curie moving average closing lines for additiona

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of FilledValueGap B002

RR Dangov

by IAMATOMIC001
3 stars

RR Dangov is a price-chart strategy that combines optional confluence modules for entries. The trader selects a primary and a secondary source from Guppy moving averages, VWAP, an opening-range breakout, Supertrend, or CPR, and can add WaveTrend, stochastic, a

Strategy v5 TrendMoving averages
Updated 12 months ago · None stated GitHub repository of RR Dangov

BFI Reversal

by skipp-dev
1 stars

BFI Reversal is a price-chart indicator that marks reversal and continuation setups from pivot structure, clustered zones, and scored flow. It offers balanced or aggressive early-reversal modes and a continuation-breakout mode, with asset profiles for auto, st

Indicator v6 Support & resistanceVolume
Updated 4 days ago · None stated GitHub repository of BFI Reversal

DEPV2 DEBUG S20

by YuceSezar89
1 stars

This indicator watches up to twenty user-chosen symbols and scores each one with four signal classes: trend, momentum, volatility, and volume. Signal mode can use a single class, require several classes to agree, require them in a set order inside a bar window

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S20

A Pine v4 strategy using a 12/26 MACD, a 14-period RSI and rolling highs and lows over very short lookbacks of two and twenty bars. Inputs set take-profit and stop-loss percentages for longs and shorts of two and ten percent, and up to four adds. Counters of n

Strategy v4 Oscillators & momentumBreakout Repaints
Updated 4 years ago · None stated GitHub repository of MACD Please 4 (Short Lookbacks)

Anand's Strategy

by hasnocool
106 stars

Anand's Strategy is a multi-timeframe breakout strategy that determines overall bias using daily candle data and triggers entries on 15-minute breakouts. It calculates higher-timeframe trend direction by comparing previous daily closes against daily high and l

Strategy v5 TrendBreakout
Updated 2 years ago · GPL-3.0 GitHub repository of Anand's Strategy

FilledValueGap C002

by ruckard
13 stars

The FilledValueGap C002 strategy opens positions in the opposite direction of filled value gaps, assuming price action will resume the underlying trend after a gap fills. It includes customizable take profit, stop loss based on gap distance or percentage, trai

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FilledValueGap C002
7 stars

BTC M2 Global Deviation [MIT] measures and visualizes the correlation between global fiat M2 money supply and Bitcoin price. It aggregates M2 economic data across major national central banks, converts all currencies to USD, and normalizes both the global M2 t

Indicator v6 TrendVolatility & bands
Updated 3 months ago · None stated GitHub repository of BTC M2 Global Deviation [MIT]

Uabmacd

by avatar-lavventura
2 stars

The script plots a WaveTrend oscillator in a separate pane, calculating TCI as an EMA of a normalized price deviation and its 4-bar SMA. It displays overbought and oversold levels with colored circles for WT1-WT2 crossovers and bar coloring on crossover bars.

Indicator v4 Oscillators & momentumMoving averages
Updated 7 months ago · None stated GitHub repository of Uabmacd

DEPV2 Debug S21

by YuceSezar89
1 stars

DEPV2 Debug S21 is a multi-symbol crypto research and evaluation tool plotted in a separate pane. It monitors up to 20 Binance cryptocurrency perpetual pairs by analyzing price action across four distinct signal engines: trend, momentum, volatility, and volume

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 Debug S21

This strategy samples RSI momentum across a customizable list of federated ticker symbols to build a consensus ratio. When the proportion of assets with RSI above 50 meets or exceeds a selected rigor threshold (Loose, Standard, or Sovereign), it enters a long

Strategy v6 Oscillators & momentumScreeners & dashboards
Updated 2 months ago · None stated GitHub repository of TN Federated Consensus Sovereign

Open Interest

by ivansoft
1 stars

Shows futures open interest in a separate pane by requesting the matching open interest series for the chart's symbol. For crypto symbols it draws open interest as candles; for other symbols it draws a step line coloured by whether the latest close rose. On in

Indicator v6 Volume
Updated 1 year ago · None stated GitHub repository of Open Interest

MACD Test

by tseitz
1 stars

A simple Pine v4 strategy that builds a MACD from 12 and 26 bar simple moving averages with a four-bar signal line. It goes long whenever MACD is above the signal and short whenever it is below, closing the opposite side, so it flips direction on every crossov

Strategy v4 Oscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of MACD Test

FilledValueGap D003

by ruckard
13 stars

This price-chart strategy opens a position opposite the direction of a newly filled gap, on the idea that price continues the prevailing trend after the gap is filled. Stop loss can be sized from the gap distance and is on by default; take profit, trailing tak

Strategy v5 SMC / ICT / price actionMoving averages
Updated 1 year ago · None stated GitHub repository of FilledValueGap D003

Uabmeacd

by avatar-lavventura
2 stars

This strategy plots a WaveTrend oscillator and a squeeze-momentum histogram in a separate pane. It builds WaveTrend from a typical-price EMA channel, marks overbought and oversold bands, and flags WaveTrend crosses. Bollinger Bands and Keltner Channels detect

Strategy v4 Oscillators & momentumVolatility & bands
Updated 7 months ago · None stated GitHub repository of Uabmeacd

DEPV2 DEBUG S22

by YuceSezar89
1 stars

DEPV2 DEBUG S22 is a multi-symbol crypto indicator that monitors twenty perpetual futures pairs across four distinct market dimensions: trend, momentum, volatility, and volume. It evaluates signals using simultaneous consensus or sequential chains, requiring a

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S22

MACD Test VWAP

by tseitz
1 stars

This strategy combines standard Moving Average Convergence Divergence (MACD) crossovers with Volume Weighted Average Price (VWAP) level interactions. It enters long positions when the MACD line sits above its signal line and short positions when below. Positio

Strategy v4 TrendOscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of MACD Test VWAP

FilledValueGap E002

by ruckard
13 stars

FilledValueGap E002 is a trading strategy that enters positions opposite to the direction of a filled value gap, operating on the premise that the prevailing trend will resume after gap completion. It utilizes Curie closing moving averages as trend filters to

Strategy v5 SMC / ICT / price actionTrend
Updated 1 year ago · None stated GitHub repository of FilledValueGap E002

DEPV2 DEBUG S23

by YuceSezar89
1 stars

DEPV2 DEBUG S23 is a Pine Script v6 indicator that draws in a separate pane and watches up to twenty user-selected Binance perpetual symbols. It combines four signal classes—trend, momentum, volatility, and volume—through a single class, simultaneous agreement

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S23
1 stars

A Pine v4 strategy that plots a 21-period exponential moving average of the close in orange on the price chart. It goes long when a green candle opens above the average and short when a red candle opens below it, closing each position when the opposite signal

Strategy v4 Moving averagesTrend
Updated 4 years ago · None stated GitHub repository of MLNBTC EMA Cross Strategy

1 Pair TF Strength

by capissimo
114 stars

This indicator evaluates momentum strength for a single selected symbol across multiple intraday timeframes (1m to 60m). It retrieves price data across seven timeframes using security calls, combines them into an aggregate metric with optional ATR-based weight

Indicator v4 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of 1 Pair TF Strength

Astor SMA20/60

by hasnocool
106 stars

This strategy plots SMA20 and SMA60 on the price chart for BTCUSDT. It generates long entries on close crossing above SMA20 and short entries on crossing below. Separate signals trigger on SMA60 crossovers. Backtest starts at user-defined year, month, and day

Strategy v5 Moving averagesTrend
Updated 2 years ago · GPL-3.0 GitHub repository of Astor SMA20/60

FilledValueGap F002

by ruckard
13 stars

FilledValueGap F002 is a trading strategy that enters trades when a recent price gap is filled, operating under the assumption that price action will continue in the direction of the underlying trend. It plots Curie closing moving average lines directly on the

Strategy v5 SMC / ICT / price actionMoving averages
Updated 1 year ago · None stated GitHub repository of FilledValueGap F002

DEPV2 DEBUG S24

by YuceSezar89
1 stars

This indicator draws in a separate pane and requests data for up to twenty user-chosen symbols, defaulting to Binance crypto perpetual contracts. It combines four signal classes: trend, momentum, volatility, and volume. Signal mode can use one class, require a

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S24
1 stars

A Pine v4 strategy that plots a 21-period exponential moving average of the close in orange on the price chart. It goes long when a green candle opens above the average and short when a red candle opens below it, closing each position when the opposite signal

Strategy v4 Moving averagesTrend
Updated 4 years ago · None stated GitHub repository of OMGBTC EMA Cross Strategy
947 stars

This indicator counts down to a fixed Litecoin halving timestamp in August 2019, using Greenwich Mean Time. It subtracts the current time from that stamp and formats the remaining days, hours, minutes, and seconds. The day, hour, and minute of the target are u

Indicator v4 Sessions & time
Updated 12 days ago · GPL-3.0 GitHub repository of Litecoin Halving UTC Countdown
13 stars

This overlay indicator is a reusable template for Ruckard indicators meant to work with Zignaly. The implemented logic sections are empty, so it does not plot signals or manage trades. It exposes a higher-timeframe trend filter built from a fast and a slow mov

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of IndicatorTemplate A002
2 stars

Calculates and projects Bitcoin price trajectory using a power law model displayed as a clock layout in a separate pane. It maps historical price movements, average power law curves, and Bitcoin halving cycles over time. Users can toggle spiral visualization m

Indicator v6 TrendSupport & resistance
Updated 8 months ago · None stated GitHub repository of Bitcoin Power Law Clock [LuxAlgo]

DEPV2 DEBUG S25

by YuceSezar89
1 stars

The script is a multi-symbol crypto indicator that computes trading signals across twenty major pairs including BTCUSDT, ETHUSDT and others. It evaluates four core methods for signals: trend based on price levels, momentum using rate of change, volatility via

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S25
1 stars

A Pine v4 strategy that plots a 23-period exponential moving average of the close in orange on the price chart. It goes long when a green candle opens above the average and short when a red candle opens below it, closing each position when the opposite signal

Strategy v4 Moving averagesTrend
Updated 4 years ago · None stated GitHub repository of REPBTC EMA Cross Strategy

Knn Filter A007

by ruckard
13 stars

Knn Filter A007 is a strategy that applies a K-Nearest Neighbors classification algorithm to evaluate historical feature performance and filter out low-probability trade setups. It executes long and short entries based on learned historical patterns. Risk mana

Strategy v5 AI / machine learningVolatility & bands
Updated 1 year ago · None stated GitHub repository of Knn Filter A007

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