Pine Library · 1,372 open-source scripts

Free Crypto Pine Scripts for TradingView (page 21)

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 S26

by YuceSezar89
1 stars

This indicator generates trading signals for multiple cryptocurrency symbols using four methods: trend, momentum, volatility, and volume. It supports three signal modes - single method, simultaneous confirmation requiring a minimum number of agreeing methods,

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

A long-only Pine v4 strategy built on a 12/26 MACD with a nine-period signal line. It enters on a green candle when the MACD has risen for three consecutive bars while still below zero and above its signal line. It closes when the opposite falling-MACD conditi

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

Lastguru KNN A002

by ruckard
13 stars

This strategy applies k-nearest neighbors machine learning to fast and slow moving average crossovers to filter entry signals. It overlays directly on the price chart and incorporates built-in Zignaly alert triggers for automated execution. Traders can configu

Strategy v5 AI / machine learningMoving averages
Updated 1 year ago · None stated GitHub repository of Lastguru KNN A002
1 stars

This long-only strategy identifies trend-following entries using moving average crossovers filtered by higher-timeframe trend alignment. It plots directly on the main price chart. Entries trigger when a fast exponential moving average crosses above a slow movi

Strategy v6 TrendMoving averages
Updated 6 days ago · Apache-2.0 GitHub repository of MTF probe 10 - HTF bracket static

DEPV2 DEBUG S27

by YuceSezar89
1 stars

DEPV2 DEBUG S27 is a multi-asset signal evaluation indicator designed to monitor up to twenty cryptocurrency pairs simultaneously. It classifies market behavior into four analytical dimensions: trend, momentum, volatility, and volume. The script supports multi

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

Squeeze2backtester

by GreyssonEnterprises
1 stars

Squeeze2backtester is an indicator-based backtester that identifies volatility squeezes by comparing Bollinger Bands with Keltner Channels. It simulates trade executions directly on the price chart, tracking entry prices, stop-loss thresholds, breakeven levels

Indicator v4 Volatility & bandsBreakout Repaints
Updated 2 months ago · MIT GitHub repository of Squeeze2backtester

RSI Please!

by tseitz
1 stars

A Pine v4 strategy that plots a 66-period weighted moving average and combines a 12/26 MACD, a 14-period RSI, candle sizes and rolling highs and lows over a long lookback. Inputs set take-profit and stop-loss percentages for each side, the long lookback and th

Strategy v4 Oscillators & momentumMoving averages Repaints
Updated 4 years ago · None stated GitHub repository of RSI Please!
1 stars

This Pine Script strategy identifies trend changes by checking for crossovers between fast and slow EMAs on the current timeframe. It confirms the trend with a higher timeframe EMA confluence gate set to 60 minutes. The strategy draws its signals directly on t

Strategy v6 TrendMoving averages
Updated 6 days ago · Apache-2.0 GitHub repository of MTF probe 11 - HTF bracket manual trail

DEPV2 DEBUG S28

by YuceSezar89
1 stars

DEPV2 DEBUG S28 is a Pine Script v6 indicator that draws in a separate pane. It watches up to twenty user-chosen symbols, defaulting to Binance perpetual crypto pairs, and combines four method classes: trend, momentum, volatility, and volume. Signal mode can u

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

SlimGains

by tseitz
1 stars

A Pine v4 strategy with small percentage targets, using a 12/26 MACD, a 14-period RSI and a 15-bar high-low lookback. Inputs set separate take-profit and stop-loss percentages for longs and shorts, an RSI level to close longs, a MACD bar count, and switches fo

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

ATR RSI Strategy v2

by hasnocool
106 stars

This strategy combines Average True Range (ATR) and the Relative Strength Index (RSI) to generate volatility-filtered momentum trades on the price chart. It checks whether a normalized ATR moving average falls within user-defined bounds and requires current AT

Strategy v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of ATR RSI Strategy v2

RSIScreener A003

by ruckard
13 stars

RSIScreener A003 is an indicator that plots RSI oscillator values on the price chart for multiple monitored symbols. It calculates RSI with user-defined length and source, along with customizable overbought and oversold levels. The script can enforce a higher

Indicator v5 Oscillators & momentumSupport & resistance
Updated 1 year ago · None stated GitHub repository of RSIScreener A003

DEPV2 Debug S3

by YuceSezar89
1 stars

Calculates and visualizes multi-symbol signals across four distinct metric categories: trend, momentum, volatility, and volume. It tracks up to 20 cryptocurrency pairs simultaneously, supporting signal combination modes like single-method execution, simultaneo

Indicator v6 TrendOscillators & momentum Repaints
Updated 12 days ago · None stated GitHub repository of DEPV2 Debug S3
1 stars

A Pine v4 strategy that redraws candles in a separate pane and plots VWAP with one percent bands. It goes long on a green non-doji candle and short on a red one, unless the move runs against the opposite position and the close sits inside the band. Inputs set

Strategy v4 Volume
Updated 4 years ago · None stated GitHub repository of SlimScript Stop and Target

This strategy trades long and short on the price chart using a multi-timeframe TradingLatino setup. It requires EMA 10 to cross or sit above or below EMA 55 on the one-hour, four-hour, and daily charts, together with a positive ADX slope, a directional monitor

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ruckard ABCBitcoin TradingLatino A010

DEPV2 DEBUG S30

by YuceSezar89
1 stars

This indicator monitors and analyzes up to twenty cryptocurrency perpetual futures pairs from a separate pane. It evaluates market conditions across four distinct analytical dimensions: trend, momentum, volatility, and volume. The script tests signal confirmat

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

A Pine v4 strategy that plots VWAP with upper and lower bands set by percentage inputs. It opens a long when price opens above the upper band and a short when it opens below the lower band, and exits when the open crosses back over VWAP. It offers double entri

Strategy v4 Volume
Updated 4 years ago · None stated GitHub repository of SlimScript VWAP Bands

This strategy plots automated Fibonacci bands paired with exponential moving averages on the price chart across strong, regular, and sideways trend modes. It triggers entry orders upon price interactions with configured Fibonacci thresholds and bullish signals

Strategy v5 Support & resistanceMoving averages Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Auto Fib Golden Pocket Band - Autofib Moving Average

This strategy enters long or short when eight conditions align over the last two bars. It requires EMA 10 and EMA 55 alignment on the one-hour, four-hour and daily charts, a positive ADX slope, matching monitor direction, and price relative to a 400-bar point

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ruckard ABCBitcoin TradingLatino B002

DEPV2 DEBUG S32

by YuceSezar89
1 stars

DEPV2 is a multi-symbol cryptocurrency indicator that processes 20 major crypto pairs including BTC, ETH, SOL, BNB and others. It evaluates four signal classes consisting of trend, momentum, volatility and volume. Signals are generated according to user-select

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

A Pine v4 strategy that redraws candles and plots VWAP with wide, inner and tight percentage bands. It signals a long on a green non-doji candle that opens above the tight upper band or closes above the inner one, with red candles for shorts. Inputs set long a

Strategy v4 Volume
Updated 4 years ago · None stated GitHub repository of SlimScript VWAP Candles
106 stars

Automatic Grid Bot Strategy simulates a grid trading system directly on the main price chart. It sets upper and lower price range boundaries and splits the defined range into grid levels to trade long, short, or both directions simultaneously. Users can config

Strategy v5 Support & resistanceMean reversion
Updated 2 years ago · GPL-3.0 GitHub repository of Automatic Grid Bot Strategy

This strategy trades long and short using TradingLatino rules as ABCBitcoin interprets them. Entries need EMA 10 crossing or aligned with EMA 55 on the one-hour, four-hour, and daily charts, agreeing ADX slope and directional monitor, and price on the matching

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ruckard ABCBitcoin TradingLatino C003

Xiao Martin

by wynnforthework
2 stars

Xiao Martin is a Martingale DCA strategy that buys long positions as price drops. It enters an initial long trade and adds subsequent orders whenever price decreases by a user-defined percentage from the last entry price, subject to a cool-down period and bar

Strategy v5 Mean reversion
Updated 1 year ago · None stated GitHub repository of Xiao Martin
1 stars

This Pine Script v6 strategy isolates and tests market structure events, specifically Break of Structure (BOS) and Change of Character (CHoCH). Using swing points calculated from configurable pivot strength settings, it tracks structural direction and triggers

Strategy v6 SMC / ICT / price actionBreakout
Updated 6 days ago · Apache-2.0 GitHub repository of Parity Probe 02 - CHoCH/BOS Isolator

DEPV2 DEBUG S33

by YuceSezar89
1 stars

This indicator monitors up to twenty cryptocurrency perpetual pairs across four analytical categories: trend, momentum, volatility, and volume. It generates trade signals using multiple modes, including single-method execution, simultaneous confluence requirin

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

SlimTrades

by tseitz
1 stars

A strategy on the price chart that combines RSI zones, MACD behaviour and long rolling highest and lowest levels to open and close positions. Inputs set the RSI thresholds for opening, adding and closing, the lookback of the two rolling ranges, a maximum numbe

Strategy v4 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of SlimTrades

This strategy evaluates market signals using a combination of Trend Indicator A-V2, Supertrend, and QQE Mod along with a VWMA trend line. It generates long or short entries when a specified minimum number of sub-strategies align. Position management includes c

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ruckard AndresAristizibal Joya A006

Parity probe 03 - equity mirror

by pineforge-4pass
1 stars

This strategy mirrors TradingView strategy.equity by computing position quantity as equity divided by close at each potential entry bar. It signals long entries every Monday at 00:00 UTC when no position exists and flattens at the next bar open. The overlay=tr

Strategy v6 Sessions & time
Updated 6 days ago · Apache-2.0 GitHub repository of Parity probe 03 - equity mirror

DEPV2 DEBUG S34

by YuceSezar89
1 stars

DEPV2 DEBUG S34 is a multi-symbol crypto signal indicator that analyzes 20 Binance pairs (BTC, ETH, SOL, and others) using trend, momentum, volatility, and volume methods. It plots signals in a separate pane based on user-selected confirmation modes such as si

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

This strategy calculates Global Minimum Variance Portfolio (GMVP) optimal weights across three asset symbols using matrix algebra in Pine Script v6. It fetches log returns for the specified assets, computes their covariance matrix, and inverts it to rebalance

Strategy v6 Screeners & dashboardsVolatility & bands
Updated 2 months ago · None stated GitHub repository of TN Markowitz GMVP Sovereign v6

RSI %B on Chart

by zhuzp98
1 stars

This indicator plots the Relative Strength Index (RSI) and its Bollinger Band percentage bandwidth (%B) deviation directly on the price chart. It calculates RSI from a user-defined source and length, applies an EMA, and derives the %B deviation using a configu

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of RSI %B on Chart

SlimTrades 15m

by tseitz
1 stars

A strategy on the price chart with defaults aimed at a 15 minute chart. It uses RSI zones and two rolling highest and lowest ranges to open longs and optionally shorts, and can add to a position on lows or highs when RSI reaches set levels. Exits use RSI close

Strategy v4 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of SlimTrades 15m

This strategy generates long and short trade signals by combining Trend Indicator A-V2, Supertrend, and QQE Mod. It executes entries on the price chart with integrated risk management features including a default stop loss, optional take profits, trailing take

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ruckard AndresAristizibal Joya B003
1 stars

This strategy is a parity probe that enters long only when the chart is flat at Monday 00:00 UTC. Position size is left to Pine's percent-of-equity path at 99 percent of equity, with no explicit quantity argument. It closes the position on a later bar after th

Strategy v6 Sessions & time
Updated 6 days ago · Apache-2.0 GitHub repository of Parity probe 04 - percent_of_equity sizing

DEPV2 DEBUG S35

by YuceSezar89
1 stars

DEPV2 DEBUG S35 is a debugging indicator that calculates multi-symbol trading signals using four methods: trend, momentum, volatility, and volume. It monitors 20 different crypto pairs including BTCUSDT, ETHUSDT, and others. The script allows users to select s

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

This indicator calculates the Relative Strength Index and identifies regular and hidden divergences between oscillator pivots and price pivots. It plots the RSI oscillator with overbought and oversold reference levels in a separate pane. When divergences occur

Indicator v5 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of RSI Divergence Indicator

SlimTrades 15min

by tseitz
1 stars

A Pine v4 strategy that tunes MACD and RSI rules with fast and slow rolling high and low lookbacks of four and eighteen bars. Inputs set trailing-stop percentages for longs and shorts, RSI zone levels, a highest MACD close level, adds on lows, reopening on new

Strategy v4 Oscillators & momentum
Updated 4 years ago · None stated GitHub repository of SlimTrades 15min
330 stars

Alert BB + RSI [Alorse] is a multi-symbol mean-reversion strategy designed for cryptocurrency trading. It evaluates Bollinger Bands and the Relative Strength Index (RSI) across up to 20 user-defined ticker symbols simultaneously. The strategy enters long posit

Strategy v4 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of Alert BB + RSI [Alorse]
106 stars

This strategy calculates smoothed average Stochastic lines using exponential moving averages applied to traditional Stochastic values. It triggers long entries when the averaged %K crosses above averaged %D while below 20, and short entries when %K crosses bel

Strategy v5 Oscillators & momentumMean reversion
Updated 2 years ago · GPL-3.0 GitHub repository of AVG Stochastic Strategy

This strategy combines Trend Indicator A-V2, Supertrend and QQE Mod to generate long and short signals on the price chart. It enters positions based on the combined trend signals and manages exits using take profit and stop loss levels. Position sizing follows

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ruckard AndresAristizibal Joya C002

This indicator plots a directional volume and money flow profile directly on the price chart over a configurable lookback period. It displays total flow reference bars alongside directional delta bars to highlight buyer versus seller dominance at each price ti

Indicator v6 VolumeSupport & resistance
Updated 2 days ago · MIT GitHub repository of Money Flow Delta Profile [WavesUnchained]
1 stars

This strategy enters long positions every Monday at 00:00 UTC on the 15-minute chart. It computes quantity as 10 percent of current equity divided by the bar close, rounded to three decimal places for stability. Market orders open the position and it flattens

Strategy v6 TrendMean reversion
Updated 6 days ago · Apache-2.0 GitHub repository of Parity probe 05 - small equity fraction

DEPV2 DEBUG S36

by YuceSezar89
1 stars

DEPV2 DEBUG S36 is a multi-symbol quantitative research indicator rendered in a separate pane. It evaluates market conditions across up to twenty cryptocurrency pairs by combining four distinct analytical dimensions: trend, momentum, volatility, and volume. Us

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

Capital Flow & USDT

by morindok
1 stars

This indicator overlays a capital-flow table on the price chart. It watches up to twenty user-chosen symbols, defaulting to major Binance USDT pairs, and relates them to the current chart symbol. A volume-average length and a flow-sensitivity threshold control

Indicator v5 VolumeScreeners & dashboards
Updated 7 weeks ago · None stated GitHub repository of Capital Flow & USDT

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