Pine Library · 1,372 open-source scripts

Free Crypto Pine Scripts for TradingView (page 7)

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

MA + R:R Strategy

by MuhammadMuhamid
1 stars

A strategy that combines optional multi-timeframe moving average trend filters, SuperTrend, linear regression, VWMA, volume and higher-high structure checks to trigger entries on crypto spot pairs. Risk is set with a swing-low stop and a take profit at a chose

Strategy v6 TrendMoving averages Repaints
Updated 12 days ago · None stated GitHub repository of MA + R:R Strategy

Options Ladder

by rahul43177
1 stars

Draws an options entry plan on the price chart from a text line pasted into a settings box. The pasted line can carry a status, expiry, near and structural resistance and support bands, a trigger zone, a best candidate strike with premium, alternatives, invali

Indicator v5 Support & resistance
Updated 3 weeks ago · None stated GitHub repository of Options Ladder

Adaptive Signals V18

by Matthew-Eucaristo
1 stars

A crypto futures signal indicator in a separate pane, the later version of the V17 script. It scores setups and shows only those passing a validity gate, using a trend pullback engine with limit-style entries and a range engine that fades stretched moves. Filt

Indicator v6 TrendMean reversion
Updated 3 weeks ago · MIT GitHub repository of Adaptive Signals V18

TradeVisor BTC Strategy

by Rahib00494
1 stars

A Bitcoin strategy that enters long or short when price, a fast and slow EMA and a 50-period SMA trend filter agree, RSI sits inside a set band, MACD line and histogram point the same way, and volume is near its average. Each trade gets an ATR-based stop and a

Strategy v5 TrendOscillators & momentum
Updated 4 weeks ago · None stated GitHub repository of TradeVisor BTC Strategy
1 stars

A long-only strategy ported from a bot, intended for five-minute crypto charts. It buys dips when a reversal candle appears, a three-day trend gate is satisfied, and one of three paths holds: Z-score with RSI, Z-score with the lower Bollinger Band, or RSI with

Strategy v6 Mean reversionScalping
Updated 6 weeks ago · None stated GitHub repository of Crypto Mean Reversion

An extended version of a Bollinger Band wick marker that labels candles with wicks beyond the bands on the 15-minute timeframe. It adds RSI overbought and oversold alerts, an RSI divergence check, a repeated-wick warning, shooting star and engulfing candle det

Indicator v6 Volatility & bandsCandlestick patterns
Updated 6 weeks ago · MIT GitHub repository of Bollinger Band Wick Marker with RSI Alerts
1 stars

A signal overlay that merges Andean oscillator with clustered Money Flow Index entries and UT Bot ATR trailing stop entries. Signals can be filtered by a FRAMA trend channel, a choppiness index, an ATR percentage range and, new in this version, an optional Hur

Indicator v6 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of MUFCA AtomDC v4.0 Elite

Scale Binding POC

by tc3oliver
1 stars

A diagnostic proof-of-concept that checks which price scale chart drawings attach to. It draws lines on the price chart at one test price using a forced-overlay setting and again without it, and compares them with the marker TradingView adds for a price input.

Indicator v6
Updated 7 weeks ago · MPL-2.0 GitHub repository of Scale Binding POC

BTCUSD Short Only

by Pr-ashant-pawar
1 stars

A Pine v6 indicator that looks for short setups using a 5-period EMA on the price chart. It finds runs of candles that stay entirely above the EMA, waits for a close below the low of that run, then waits for a pullback to that level before marking a short entr

Indicator v6 TrendBreakout
Updated 7 weeks ago · None stated GitHub repository of BTCUSD Short Only
1 stars

This strategy looks for pullbacks to the 21 EMA while the 21, 50 and 200 EMAs are stacked in trend order, with shorts enabled and longs switched off by default. Entries are screened by ADX, RSI range, volume against its average, candle body size, an ATR floor,

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Adaptive Pullback Momentum v2.5
1 stars

Satoshi Clock is an overlay indicator for Bitcoin that uses two coordinates. The clock is the number of days since the latest halving, and the spring is how far price sits from a power law fitted only on past data. It draws a power-law corridor, shades cycle w

Indicator v6 Support & resistanceMean reversion
Updated 3 months ago · Custom licence GitHub repository of Satoshi Clock - Clock and Spring
1 stars

Plots Ethereum options Max Pain levels sourced from Deribit as horizontal dashed lines on the price chart. Each line extends from the current bar to the settlement timestamp of its corresponding expiration date. Line thickness scales relative to total open int

Indicator v6 Support & resistance
Updated 3 months ago · MIT GitHub repository of ETH Max Pain (Deribit)
1 stars

A Pine v6 strategy variant for 15-minute Bitcoin perpetual charts that trades RSI momentum breakouts. Entries use RSI levels with a gap, plus candle color, EMA 200, ATR and body-size filters, and an optional pullback re-entry. This version sets a tighter fixed

Strategy v6 Oscillators & momentumTrend
Updated 4 months ago · None stated GitHub repository of BTC RSI Momentum v21
1 stars

A strategy version of a crypto signal indicator that goes long or short when a 50 and 200 EMA trend, RSI and fast MACD ranges, ATR percent, volume ratio and ADX all pass a minimum entry score. An optional macro filter checks Bitcoin, dominance, TOTAL2 and TOTA

Strategy v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Micro Atomic Crypto Alpha Strategy

AlphaTrend Pro

by shubhamtaywade82
1 stars

A multi-layer strategy for crypto futures that groups indicators into trend, momentum and volume layers. Trend uses Supertrend, KAMA and Ichimoku, momentum uses MACD, Stochastic RSI and PZO, and volume uses relative volume. A first-come-first-served queue lets

Strategy v6 TrendOscillators & momentum Repaints Archived
Updated 5 months ago · None stated GitHub repository of AlphaTrend Pro
1 stars

An overlay indicator that tracks the Asia, London and New York sessions in a chosen timezone and draws each session's high, low and opening range. It marks sweeps of the previous session's high or low and reclaims back inside, derives a bullish or bearish sess

Indicator v6 Sessions & timeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Session Bias v1

BTC ATH Golden Cycle

by ymlee1104
1 stars

BTC ATH Golden Cycle is a long-only position trading strategy designed for Bitcoin. It tracks price drawdowns relative to All-Time High (ATH) levels to execute a five-stage dollar-cost averaging entry schedule. As prices decline by configurable percentage tier

Strategy v6 Support & resistanceMoving averages
Updated 7 months ago · None stated GitHub repository of BTC ATH Golden Cycle
1 stars

An indicator for one-hour charts that plots a Donchian channel from the highest high and lowest low over a set number of bars. A close beyond the prior channel edge marks a long or short breakout, and an ATR-multiple trailing stop line tracks the exit. An opti

Indicator v6 BreakoutTrend
Updated 7 months ago · None stated GitHub repository of V18 Donchian Channel Breakout

15m Reversal Detector

by caizongxun
1 stars

A separate-pane tool that looks for potential reversals by combining momentum, volume and candle shape. It uses RSI, MACD and a stochastic reading for momentum, volume spikes and dry-ups against a volume average, Bollinger Band extremes, wick rejection and eng

Indicator v5 Oscillators & momentumDivergence
Updated 8 months ago · MIT GitHub repository of 15m Reversal Detector
1 stars

A chart-overlay indicator that adds slope-based measures to common indicators. It tracks RSI slope, moving average slope, a Bollinger squeeze test, MACD momentum, volume trend, price acceleration and a linear-regression trend strength. Recent pivots give suppo

Indicator v6 Oscillators & momentumBreakout
Updated 10 months ago · None stated GitHub repository of Predictive Crypto Trading Bot Pro
1 stars

Advanced ICT Theory - A-ICT identifies institutional market structure patterns based on Smart Money Concepts directly on the price chart. It detects displacement candles, order blocks, fair value gaps, trap zones, and reversal zones, tracking their mitigation

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 11 months ago · None stated GitHub repository of Advanced ICT Theory - A-ICT

This indicator, drawn in a separate pane, pulls Bitcoin and Ethereum prices from two user-chosen symbols, forms the BTC to ETH price ratio and converts it to a z-score against a rolling average and standard deviation (30 bars by default). Upper and lower thres

Indicator v5 Mean reversionOscillators & momentum
Updated 11 months ago · None stated GitHub repository of BTC/ETH Pairs Trading Z-Score & RSI/MACD

CHoCH Signal TRXUSDT

by gnuhhung317
1 stars

A generated indicator on the price chart that draws a short fixed set of hard-coded lines and a label for TRXUSDT on the 30 minute chart. Three aqua dashed lines mark pivot highs, three yellow dashed lines mark pivot lows, and a lime label marks a change of ch

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · MIT GitHub repository of CHoCH Signal TRXUSDT

ichiV1 Ichimoku Trend

by ChiChasesCheese
1 stars

A long-only strategy ported from a Freqtrade bot, aimed at five-minute crypto charts. It combines an Ichimoku-style cloud with a ladder of EMA pairs and a fan magnitude ratio that must keep growing, so it only enters in strong trends. Exits come from a time-st

Strategy v5 Trend
Updated 12 months ago · None stated GitHub repository of ichiV1 Ichimoku Trend

FaRSI

by feliperazeek
1 stars

This strategy detects regular and hidden RSI divergences using pivot points on a 9-period RSI and plots them on the price chart with labels. By default it only opens long positions, on bullish divergences, and exits when RSI reaches a take-profit level or by a

Strategy v5 DivergenceOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of FaRSI

Sell Spike

by dsjrego
1 stars

A simple overlay that prints a red sell label above a bar when two conditions occur together. The bar's upper wick must be longer than its body and longer than half of a 14-period ATR, and the bar's high must pierce the upper Bollinger Band. The band length an

Indicator v5 Volatility & bandsCandlestick patterns
Updated 1 year ago · None stated GitHub repository of Sell Spike

A second variant of a reversal strategy for a 15-minute TRUMP perpetual swap chart. It reacts to candles whose range exceeds a larger percentage threshold than version one, entering with a limit order against the candle direction. Take profit, stop loss, slipp

Strategy v6 Mean reversionVolatility & bands
Updated 1 year ago · None stated GitHub repository of TRUMP 15m Large Range Reversal v2

BTCDOM Best Position

by theteelek
1 stars

A long-only accumulation strategy that buys near the lower edge of a smoothed channel built from an EMA of the highest high and lowest low over an adjustable range. A buy fires when price touches the lower line while RSI turns up from an oversold reading, limi

Strategy v6 Mean reversion
Updated 1 year ago · None stated GitHub repository of BTCDOM Best Position

OTHERS.D MTPI

by Mikelkulla
1 stars

This strategy computes the direction of the altcoin market via the Others.D MTPI index. It merges outputs from Median Supertrend, FDI-Adaptive Supertrend, Hyperbolic Tangent Volatility Stop, Dema AFR, and Normalized KAMA Oscillator to generate long or short si

Strategy v6 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of OTHERS.D MTPI

RSI Pattern Strategy

by fuyuanyuan
1 stars

This script combines five distinct RSI pattern setups with volume ratio filters to generate trading signals. It identifies RSI double bottoms, hooks, bullish divergences, oversold bounces, and midline breakouts to form long conditions, alongside overbought dow

Strategy v6 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of RSI Pattern Strategy

BuySell vol

by mrgunkin
1 stars

The BuySell Volume Indicator plots volume as histogram columns on the price chart and optionally a moving average of volume in a separate pane. It compares current price and volume with values from lookback bars to color bars green for bullish volume and red f

Indicator v5 Volume
Updated 1 year ago · MIT GitHub repository of BuySell vol

Bollinger Bands

by zhuzp98
1 stars

This indicator plots Bollinger Bands volatility bands calculated from the input source price. The middle band uses an EMA of the source over the specified length, with bands formed by adding and subtracting the standard deviation multiplied by the mult. It als

Indicator v5 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands

Mavezo

by arrabyte
1 stars

Strategy built on exponential moving averages and an optional volume zone oscillator filter. It plots fast, slow and 200-period trend EMAs on the price chart. Risk settings include an ATR based stop distance, a risk-to-reward ratio for the take profit, optiona

Strategy v5 TrendMoving averages
Updated 3 years ago · None stated GitHub repository of Mavezo

Fluffy MACD Uptrend

by pvdochtend
1 stars

A long-only strategy that buys when the MACD histogram turns from negative to positive while the 50 EMA is above the 200 EMA and RSI sits between a lower and an upper limit. Its only exit is a percentage take-profit above the average entry price. No stop loss

Strategy v5 Oscillators & momentumTrend
Updated 3 years ago · GPL-3.0 GitHub repository of Fluffy MACD Uptrend

Alt Coin BB SMA Strategy

by samliu0206
1 stars

Alt Coin BB SMA Strategy calculates custom MACD delta histogram values, Bollinger Bands, and middle band slopes to generate trading signals in a separate pane. It triggers long entry orders when the price crosses above the Bollinger middle band, provided the M

Strategy v4 Oscillators & momentumVolatility & bands
Updated 4 years ago · None stated GitHub repository of Alt Coin BB SMA Strategy
1 stars

A separate-pane indicator that plots a slow MACD, 21 and 200 periods by default, against a long simple-average signal line, colored green or red by which is higher. A second MACD can be shown, with its lengths multiplied by a factor chosen for the chart timefr

Indicator v4 Oscillators & momentumTrend
Updated 4 years ago · None stated GitHub repository of Armonia de los MACD (v2)

This indicator plots a Donchian channel with a long default period of 1440 bars, its midline and a 250-period simple moving average on the price chart. When a high reaches the upper band, or a low reaches the lower band, on volume above a multiple of its movin

Indicator v4 BreakoutMean reversion
Updated 4 years ago · MIT GitHub repository of Greeffer's Donchian Channel Study

MJ Bull Support 1

by mehdijangjou
1 stars

This indicator plots the 20-period EMA in green and the 20-period SMA in red directly on the price chart. It fills the space between the two moving averages using a color that changes based on which line sits above the other. The script targets crypto assets a

Indicator v5 Moving averagesTrend Archived
Updated 4 years ago · MPL-2.0 GitHub repository of MJ Bull Support 1

Slimdicator

by tseitz
1 stars

Slimdicator is a TradingView indicator for cryptocurrency markets that plots multiple moving averages on the price chart including a fast EMA, a medium SMA, and a slow SMA. It calculates MACD and RSI values to generate buy and sell signals. The indicator alert

Indicator v5 Oscillators & momentumMoving averages
Updated 4 years ago · None stated GitHub repository of Slimdicator
1 stars

Mansfield Relative Strength indicator computes relative strength by dividing the current close price by a daily index value selected from Nasdaq Composite, NYSE Composite, ARCA Composite, or Coinbase BTCUSD based on the symbol prefix. It calculates the percent

Indicator v4 Oscillators & momentum
Updated 5 years ago · AGPL-3.0 GitHub repository of Mansfield Relative Strength

ETCBTC

by taco-c
1 stars

ETCBTC is an overlay indicator that fetches and displays the 60-minute closing price of the Bitstamp ETH/BTC pair directly on the current price chart. It renders the cross-pair price line using the left price scale to avoid distorting the primary asset's scale

Indicator v4
Updated 5 years ago · MPL-2.0 GitHub repository of ETCBTC

This indicator plots logarithmic growth curves directly on the price chart to model macro valuation channels for Bitcoin. It calculates upper and lower bounds using elapsed time from a fixed historical baseline, scaling mathematical curves and intermediate Fib

Indicator v4 Support & resistanceTrend
Updated 6 years ago · GPL-3.0 GitHub repository of Bitcoin Logarithmic Growth Curves
361 stars

Forven S01512 — Monday Drift is a calendar-based long trading strategy designed to exploit time-based recurring market patterns. It tracks UTC calendar days and hours to enter a long position at a specified day and hour, holding it for a fixed duration until a

Strategy v6 Sessions & time
Updated yesterday · AGPL-3.0 GitHub repository of Forven S01512 - Monday Drift

Higher TF Closes

by agutinbaigo28
147 stars

This indicator fetches and overlays the 4-hour high and low price bounds for TRXUSDT onto the price chart. It draws prominent red and green lines representing the 4-hour high and low levels respectively, providing reference points for price action across lower

Indicator v5 Support & resistance Repaints
Updated 6 weeks ago · MIT GitHub repository of Higher TF Closes

2xTP, SL to Entry

by hasnocool
106 stars

This strategy executes mean-reversion trades based on Bollinger Bands and the Stochastic Oscillator. Long orders trigger when price dips below the lower band alongside a bullish Stochastic crossover, with an optional oversold threshold. Short orders execute on

Strategy v5 Mean reversionOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of 2xTP, SL to Entry
92 stars

This overlay indicator draws horizontal liquidation lines for HYPE from a baked-in snapshot of Hyperliquid long and short positions. It plots the ten closest long liquidation prices in red and amber and the ten closest short prices in green and cyan, with the

Indicator v6 Support & resistance
Updated 2 months ago · Custom licence GitHub repository of Moon Dev Liq Lines — HYPE

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