Pine Library · 1,372 open-source scripts

Free Crypto Pine Scripts for TradingView (page 6)

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

This indicator estimates crypto liquidation levels by tracking Open Interest changes from Binance USDT perpetual contracts. It calculates Open Interest delta spikes relative to a simple moving average and projects estimated liquidation price levels across mult

Indicator v5 Support & resistanceSMC / ICT / price action
10 stars

This indicator tracks macro market cycle phases by evaluating moving average interactions and a modified Mayer Multiple threshold. It monitors crossovers between a double 350-period simple moving average and a 111-period SMA for cycle-out conditions, alongside

Indicator v4 Moving averagesTrend
Updated 5 years ago · None stated GitHub repository of cycleOutToCycleInProgression

Arbitrage Matrix [LuxAlgo]

by MeridianAlgo
9 stars

This overlay indicator builds a dashboard that compares last price, last volume, average price, or average volume across selected crypto exchanges or forex brokers. The source input can follow the chart asset automatically or lock the list to exchanges or brok

Indicator v6 Screeners & dashboards
Updated 4 months ago · MIT GitHub repository of Arbitrage Matrix [LuxAlgo]

Awesome Oscillator - Eterna MCP

by EternaHybridExchange
9 stars

This strategy implements Bill Williams' Awesome Oscillator (AO) calculated as the difference between two simple moving averages of the median price. It generates long and short entries using three classic signal triggers: zero-line crossovers, twin peaks diver

Strategy v5 Oscillators & momentumMoving averages
Updated 7 months ago · MIT GitHub repository of Awesome Oscillator - Eterna MCP

DC-B v2.5

by crissrocca
9 stars

This indicator is an oscillator suite inspired by Market Cipher B and VuManChu Cipher B that plots in a separate pane. It combines a WaveTrend oscillator, a Money Flow Index (MFI) area, and an RSI indicator with automatic divergence detection. Visual signals h

Indicator v4 Oscillators & momentumDivergence
Updated 3 years ago · MPL-2.0 GitHub repository of DC-B v2.5

Scalping 3EMA

by rodrigo-brito
9 stars

This long-only strategy calculates three exponential moving averages with lengths of 50, 100, and 150 periods, plotting them directly on the price chart. It also calculates a 14-period RSI and MACD. The strategy opens long positions when the moving averages al

Strategy v4 TrendOscillators & momentum
Updated 5 years ago · MIT GitHub repository of Scalping 3EMA

5000x Breakout Scanner

by jmragsdale
8 stars

This indicator marks momentum breakouts on the price chart. A signal appears only when the bar makes a new high over the lookback, volume is at least a chosen multiple of the 20-bar average, the percentage change from the prior close meets a minimum, the close

Indicator v5 BreakoutVolume
Updated 7 weeks ago · None stated GitHub repository of 5000x Breakout Scanner
6 stars

Basic Long Entry System 2 is a long-only price-chart strategy that reads one-hour ADX and an exponential moving average, then looks for a 15-minute RSI pullback under the hourly RSI. It sets the hourly bias when ADX is above a threshold, declining, and price i

Strategy v6 Oscillators & momentumTrend Repaints
Updated 1 year ago · MIT GitHub repository of Basic Long Entry System 2

Edge 59

by subos2008
6 stars

Edge 59 is a price-chart strategy that combines an ADX directional filter, a weighted moving average, and a trend-follower channel. The channel uses an exponential moving average of close, optionally smoothed by linear regression, and a percentage of a fixed 2

Strategy v5 TrendOscillators & momentum Repaints
Updated 2 years ago · Custom licence GitHub repository of Edge 59

MTF trend alignment

by broomva
5 stars

This strategy plots the same-length exponential moving average on the chart and on two higher timeframes. It enters long when the chart average is above the first higher-timeframe average, that average is above the second, and price is above the chart average.

Strategy v5 TrendMoving averages
Updated yesterday · MIT GitHub repository of MTF trend alignment
5 stars

This strategy calculates fast and slow exponential moving averages to execute trend-following trades based on CDC ActionZone logic. It colors price bars across six conditions depending on price position relative to the fast and slow EMAs. Entries occur when th

Strategy v5 TrendMoving averages
Updated 2 weeks ago · MIT GitHub repository of Xsodus CDC ActionZone V3

Breakout AVAAI (TV mirror)

by tarasprystavskyj
5 stars

Breakout AVAAI is a crypto breakout strategy mirrored from a Python trading platform. It filters potential trades by evaluating ATR relative to close price and measuring momentum over 6-hour and 12-hour lookbacks. Positions are taken when volatility meets user

Strategy v5 BreakoutOscillators & momentum Repaints
Updated 3 months ago · None stated GitHub repository of Breakout AVAAI (TV mirror)
5 stars

Greeffer's Scalping Strategy combines multi-timeframe Exponential Moving Averages, Bollinger Bands, and Donchian Channels to execute dip-buying trades directly on the price chart. It triggers long entries when price dips below both the lower Donchian Channel a

Strategy v5 Moving averagesVolatility & bands
Updated 4 years ago · None stated GitHub repository of Greeffer's Scalping Strategy

This strategy plots five simple moving averages on the price chart and trades crosses of price against the longest signal average. It enters long when the close crosses above the 150-period SMA and enters short when the close crosses below it, but only from th

Strategy v4 TrendMoving averages
Updated 6 years ago · LGPL-3.0 GitHub repository of 150MA Cross BuyAndSell Strategy [d3nv3r]

Antigravity Elite

by eltonaguiar
4 stars

Antigravity Elite is an overlay strategy that switches among seven named engines or auto-detects one, including Connors RSI, EMA stack, Supertrend, volatility-spike reversal, multi-sigma Bollinger reversal, and a weighted consensus. It enters long by default,

Strategy v6 TrendOscillators & momentum
Updated yesterday · None stated GitHub repository of Antigravity Elite

This indicator plots a Volatility-Adjusted Momentum Oscillator in a separate pane. It divides the rate of change of close by the average true range, scales the result by 100, and overlays an exponential moving average as a signal line. Horizontal lines and bac

Indicator v6 Oscillators & momentumVolatility & bands
Updated 12 months ago · MIT GitHub repository of Volatility-Adjusted Momentum Oscillator (VAMO)

VT-Lite

by algoboy-kevin
4 stars

VT-Lite is a Pine Script v5 mean-reversion strategy that draws in a separate pane. It sizes equity-percent entries from a short-term EMA and ATR band distance, with a volatility EMA threshold and a choice of close, low, or ATR-band source. It can add reentries

Strategy v5 Mean reversionVolatility & bands
Updated 2 years ago · None stated GitHub repository of VT-Lite

FTX Premium Indicator

by blenessy
4 stars

The FTX Premium Indicator calculates and plots the relative price spread between cryptocurrency futures and spot contracts in a separate pane. It compares perpetual or dated contracts against spot markets and can normalize the difference into an annualized per

Indicator v5 Moving averagesVolatility & bands
Updated 4 years ago · MIT GitHub repository of FTX Premium Indicator
4 stars

This strategy plots three exponential moving averages on the price chart and trades their alignment. It enters long when the fast EMA crosses above the mid EMA while price is above the slow EMA, and closes that long on the opposite cross with price below the s

Strategy v4 TrendMoving averages
Updated 5 years ago · MIT GitHub repository of Algo Trading: Simple 3-EMA Strategy
3 stars

ETH Momentum Breakout is a momentum-based strategy overlay for crypto trading. It identifies volatility compression by checking when Bollinger Bands fall within Keltner Channels for a minimum number of bars. It triggers breakout orders when price breaks out be

Strategy v5 BreakoutVolatility & bands
Updated 8 months ago · MIT GitHub repository of ETH Momentum Breakout

Stella's MACD Crossover

by stella-entry
3 stars

This strategy calculates the standard Moving Average Convergence Divergence oscillator and generates trade entries based on signal line crossovers. It opens long positions on bullish crossovers and short positions on bearish crossunders. An optional exponentia

Strategy v6 Oscillators & momentumTrend
Updated 8 months ago · MIT GitHub repository of Stella's MACD Crossover

Hedge Short Setup Finder

by shitcoding
3 stars

Hedge Short Setup Finder identifies potential short entry opportunities by combining multiple technical confluence conditions. It scans for momentum exhaustion using price surge percentage over a lookback period, overbought RSI with rollover confirmation, Boll

Indicator v6 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Hedge Short Setup Finder

Elliott Wave Crypto Analysis

by EngineeredSuccess
3 stars

The indicator draws Elliott Wave analysis on the price chart for cryptocurrency. It locates pivot highs and lows using a user-set length, counts waves one through five automatically, and allows a manual wave override. Optional Fibonacci retracement and extensi

Indicator v6 Support & resistanceTrend
Updated 1 year ago · Custom licence GitHub repository of Elliott Wave Crypto Analysis

This strategy plots Fibonacci retracement levels from a rolling high-low range and trades long only on the price chart. It enters when price is above the first Fibonacci level, volume exceeds its moving average, and price is above a simple moving average. It c

Strategy v5 TrendVolatility & bands
Updated 1 year ago · MIT GitHub repository of Volume + Fibonacci + Trend + ATR Strategy with 1% TP

This indicator calculates the Relative Strength Index and Money Flow Index to identify potential market reversals. It plots the RSI oscillator in orange and the MFI line in blue on a separate pane. Horizontal lines mark overbought at 70 and oversold at 30 for

Indicator v5 Oscillators & momentum
Updated 2 years ago · MIT GitHub repository of Relative Strength Index And Money Flow Index

EMA+BB+ADX+AO

by mr-s8
3 stars

This strategy plots four EMAs (5, 21, 50 and 200), a Bollinger Band ratio, Awesome Oscillator and ADX on the price chart. It generates long entries when EMA alignment, BB expansion, AO strength and ADX trend strength align, then exits using a percentage-based

Strategy v5 Moving averagesVolatility & bands
Updated 2 years ago · GPL-2.0 GitHub repository of EMA+BB+ADX+AO

Bitcoin Difficulty (QUANDL:BCHAIN/DIFF)

by datacrypto-analytics
3 stars

This indicator plots Bitcoin mining difficulty from the Quandl BCHAIN/DIFF dataset. The script calculates the difficulty metric using the quandl function and displays it as a line plot in a separate pane. It provides historical data on mining difficulty levels

Indicator v4 Volatility & bandsSupport & resistance
Updated 3 years ago · Apache-2.0 GitHub repository of Bitcoin Difficulty (QUANDL:BCHAIN/DIFF)

Crypto Market Correlation

by vishnugovind10
3 stars

Crypto Market Correlation plots rolling correlations between the chart's closing price and copper, the S&P 500, the DAX 30, EUR/JPY, WTI crude, and gold. It draws six colored lines in a separate pane and places a short name label at the latest value of each se

Indicator v4 Screeners & dashboards
Updated 3 years ago · None stated GitHub repository of Crypto Market Correlation
3 stars

This strategy overlays Donchian Channels and higher-timeframe exponential moving averages on the price chart to generate trading signals. It calculates an upper, lower, and median Donchian band alongside 240-minute EMAs fetched specifically for BTCUSDT. When p

Strategy v5 BreakoutMoving averages
Updated 4 years ago · CC0-1.0 GitHub repository of Greeffer's Hedge Mode Strategy

Trade History Labels

by kaiku0125
2 stars

Plots historical trade records as visual buy and sell labels directly on the price chart. It matches recorded trade dates and symbols against the active instrument, calculating cumulative volume-weighted average buy and sell prices with horizontal reference li

Indicator v6 Support & resistance
Updated 3 days ago · None stated GitHub repository of Trade History Labels

Alertatron-KSM Demabot 2H

by danielvm-git
2 stars

This strategy calculates up to three Double Exponential Moving Averages (DEMA) and plots them on the main price chart. It executes long entries when the fast DEMA crosses above the medium DEMA while confirming the direction of an optional third DEMA, and enter

Strategy v4 Moving averagesTrend
Updated 2 months ago · MIT GitHub repository of Alertatron-KSM Demabot 2H
2 stars

Ghost Zone v9 plots chart overlay signals and key structural levels derived from reverse-engineered price action, volume spread analysis, and momentum filters. It identifies specific trading patterns including Low Volume Test (LVT), Signal Test (ST), Bull Trap

Indicator v6 VolumeCandlestick patterns
Updated 6 months ago · None stated GitHub repository of Ghost Zone v9 - GTI Signals v18a

This strategy generates trade entries by combining up to five normalized 0-100 technical indicators: Relative Strength Index (RSI with divergence detection), Stochastic RSI, Money Flow Index (MFI), Relative Volatility Index (RVI), and Average Directional Index

Strategy v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of TLC 0TO100 Five Indicators Strategy

Calculates a long-term Exponential Moving Average as a baseline for fair value alongside a Relative Strength Index. Generates long entry signals when the close price trades at least five percent below the moving average while the RSI is oversold. Exits trades

Strategy v6 TrendOscillators & momentum
Updated 1 year ago · MIT GitHub repository of Buffett-Inspired Value Strategy

This indicator visualizes volume delta, total volume, or open interest delta directly on the price chart. By fetching one-minute intrabar data, it distributes buying and selling activity into price levels defined by percentages or tick sizes. It calculates del

Indicator v5 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Volume Delta | OI Delta [Kioseff Trading]
2 stars

Parabolic SAR Strategy executes buy and sell orders based on Parabolic SAR trend flips, filtered by customizable technical indicators. Traders can enable an RSI momentum filter, a configurable moving average trend baseline, and an ADX strength threshold. Posit

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · MIT GitHub repository of Parabolic SAR Strategy

Bitcoin Momentum Strategy

by Web3Degenerate
2 stars

This strategy enters long positions when price trades above a higher-timeframe exponential moving average and momentum conditions are clear. It avoids new entries during volatility caution periods, which trigger when pullbacks exceed specified Average True Ran

Strategy v5 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Bitcoin Momentum Strategy

Mini-Project

by Core-Four
2 stars

Mini-Project is a multi-indicator trading strategy that overlays technical indicators directly on the price chart. It provides modular components including Linear Regression, the Relative Strength Index (RSI), MACD, Parabolic SAR, and Supertrend. Users can tog

Strategy v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Mini-Project

Sassiz Chandelier Exit

by sassiz-root
2 stars

This Pine Script v5 strategy calculates ATR-based trailing stops for crypto trading on the price chart. It defines a long stop as the highest close minus ATR times multiplier and a short stop as the lowest close plus ATR times multiplier. The script dynamicall

Strategy v5 TrendVolatility & bands
Updated 3 years ago · MIT GitHub repository of Sassiz Chandelier Exit

Asif Dip v2 Daily

by Asifali549
1 stars

A long-only daily strategy for crypto that buys short-term dips inside an uptrend. It requires the close above a long EMA, a medium EMA above the long one, an optional Bitcoin trend filter, and a very low three-period RSI. Entry is at the next open. The stop i

Strategy v6 Mean reversion
Updated yesterday · None stated GitHub repository of Asif Dip v2 Daily

Confluence Trend + Momentum

by nvolpe2007-cell
1 stars

A long-or-cash strategy that holds a position only when two conditions agree: the close is above a 100-bar simple moving average and above the close from 20 bars earlier. Otherwise it stays in cash. By default it requests daily bars whatever the chart timefram

Strategy v6 TrendMoving averages
Updated yesterday · None stated GitHub repository of Confluence Trend + Momentum

RCCE Scanner v6

by cianfru
1 stars

A strategy that combines four engines into one signal: a Z-score regime classifier, a weekly midline heat score, an exhaustion detector for absorption and climax bars, and a synthesizer that weighs them using confidence thresholds. Entries and exits appear as

Strategy v6 TrendVolatility & bands Repaints
Updated 2 days ago · None stated GitHub repository of RCCE Scanner v6

An earlier Pine v6 version of a day trading research strategy for crypto charts. It combines RSI, Fibonacci Bollinger Bands, trend moving average, Ichimoku, pivot support and resistance, candlestick and chart pattern modules into a weighted score. A trading se

Strategy v6 Support & resistanceSessions & time
Updated 11 days ago · MIT GitHub repository of Crypto TA Pro Day Trading S/R Execution v2

DEPV2

by YuceSezar89
1 stars

DEPV2 is a multi-symbol Pine Script v6 indicator for cryptocurrency trading. It analyzes 20 Binance symbols including BTC, ETH, SOL, and others using four signal classes: TREND, MOMENTUM, VOLATILITY, and VOLUME. The indicator supports multiple modes including

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

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