Pine Library · 1,372 open-source scripts

Free Crypto Pine Scripts for TradingView (page 15)

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

EMA Cross Strategy

by tseitz
1 stars

The EMA Cross Strategy calculates an exponential moving average of close prices over a user-defined length. It enters a long position when a green candle opens above the moving average line, simultaneously closing any active short position. Conversely, it open

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

This overlay strategy is written for the SOLUSDT perpetual on the one-minute chart. It tracks confirmed pivot highs and lows as resistance and support circles, then marks strong buy or sell states when close crosses those levels. Long and short conditions comp

Strategy v5 Support & resistanceBreakout Repaints
Updated 2 years ago · None stated GitHub repository of SOLUSDTPERP 1m - Strategy Candle Bar

RSI/BB 1minute Study

by SammyEnigma
18 stars

This strategy combines Relative Strength Index and Bollinger Bands for short-term signal generation. It enters long positions when the price crosses below the lower Bollinger Band while the RSI falls at or below the oversold threshold. Positions are scaled dow

Strategy v4 Oscillators & momentumVolatility & bands
Updated 6 years ago · None stated GitHub repository of RSI/BB 1minute Study

Divergenced A002

by ruckard
13 stars

Divergenced A002 is a momentum divergence strategy designed to identify entry opportunities using Squeeze Momentum Indicator shifts alongside price action. It enters long when momentum reaches higher lows during lower price lows and enters short on opposite di

Strategy v5 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of Divergenced A002

WE Alpha

by davro
10 stars

WE Alpha is an oscillator that combines a custom MACD line and histogram with a modified Chaikin Money Flow calculation scaled directly to MACD values. It plots the MACD line, signal line, histogram area, and a money flow line dynamically colored according to

Indicator v4 Oscillators & momentumVolume
Updated 5 years ago · None stated GitHub repository of WE Alpha

The Candle Pressure Index measures buying versus selling pressure from candle geometry and relative volume. Each bar combines close location, body ratio, and volume rank into a raw pressure value. An exponential moving average of that pressure forms the CPI os

Indicator v6 Oscillators & momentumVolume
Updated 3 days ago · MIT GitHub repository of Candle Pressure Index [WavesUnchained]

Momentum Combo Strategy

by EternaHybridExchange
9 stars

This strategy scores bullish and bearish confluence from RSI, MACD, a stochastic of RSI, and a fixed ten-bar momentum reading. It opens a long or a short only when the position is flat and the matching count reaches the minimum confirmation setting, then close

Strategy v5 Oscillators & momentum
Updated 7 months ago · MIT GitHub repository of Momentum Combo Strategy

Tiered Exit (Memecoin)

by muammeryldrm42
7 stars

This strategy enters long trades when a fast EMA crosses above a slow EMA. Position risk and profits are managed through tiered exit stages: three custom percentage-based profit targets with partial exits, a hard percentage stop loss, and a trailing drawdown e

Strategy v5 TrendMoving averages Repaints
Updated 3 months ago · MIT GitHub repository of Tiered Exit (Memecoin)

Capital41 Fusion Scalp

by damianpitt
6 stars

Capital41 Fusion Scalp is an overlay indicator that identifies high-confluence setups by combining four core conditions: EMA trend direction, RSI momentum, Williams %R levels, and ATR with volume expansion. Bullish and bearish signals are plotted on the chart

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Capital41 Fusion Scalp

Alper

by avatar-lavventura
2 stars

Alper is a multi-indicator trading strategy combining a WaveTrend oscillator, RSI, and Squeeze Momentum logic based on Bollinger Bands and Keltner Channels. Operating within a user-defined backtest time window, it plots WaveTrend lines, overbought and oversold

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

Grid Bot [psyll]

by cullyk
2 stars

Grid Bot places a configurable number of long and short orders between a user-set grid top and bottom and draws those levels on the price chart. Direction can be longs, shorts, or both, with default or burst entry and an optional instant first fill. Exits use

Strategy v5 Mean reversionSupport & resistance
Updated 8 months ago · MIT GitHub repository of Grid Bot [psyll]

VGF Price-Volume TEMA

by ryangaraygay
2 stars

This indicator colors chart bars based on a Triple Exponential Moving Average (TEMA) applied to candle body volume (candle body multiplied by volume). It categorizes market flow into trending bullish, trending bearish, or non-trending messy conditions based on

Indicator v5 VolumeCandlestick patterns
Updated 1 year ago · MIT GitHub repository of VGF Price-Volume TEMA

SR+Trend v6 APT

by MuhammadMuhamid
1 stars

A long-only strategy preset tuned for one crypto pair, using multi-timeframe pivot support and resistance with tighter touch zones and shorter retest windows than the other versions. It can flip broken resistance into support and supports optional moving avera

Strategy v6 Support & resistanceTrend
Updated 13 days ago · None stated GitHub repository of SR+Trend v6 APT

An overlay toolkit for crypto charts combining a volume profile, anchored VWAP, optional EMA lines, a higher-timeframe EMA bias and an order flow proxy from lower-timeframe delta, relative volume and cumulative delta, with price action checks from swing pivots

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v7.3 Auto Performance
1 stars

An indicator for four-hour charts that looks for a sharp drop followed by a slow, controlled recovery, treated as a rounded bottom, and the inverse for a rounded top. Window lengths, minimum percentage moves, a directional-bar ratio and a daily EMA direction f

Indicator v5 Mean reversionVolatility & bands
Updated 7 months ago · None stated GitHub repository of V8 Fast Rounded Bottom/Top Catcher

TeeLek Hedging Ribbon

by theteelek
1 stars

An overlay indicator with no settings that draws coloured Hull moving average lines taken from 2-hour and 30-minute data, smoothed with EMAs. Lines turn grey, green or red depending on slope and on their position against a long-term floor derived from a 600-ba

Indicator v6 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of TeeLek Hedging Ribbon
1 stars

The EOSBTC EMA Cross Strategy evaluates price action relative to an Exponential Moving Average (EMA) on the main price chart. It enters a long position when a candle opens above the EMA and closes green, and enters a short position when a candle opens below th

Strategy v4 TrendMoving averages
Updated 4 years ago · None stated GitHub repository of EOSBTC EMA Cross Strategy

5 Minute EMA Strategy

by hasnocool
106 stars

5 Minute EMA Strategy is a trend-following system designed for short timeframes that executes trades around moving average crossovers. It plots fast and slow moving averages (supporting EMA, SMA, RMA, or WMA) directly on the price chart. Users can enable an op

Strategy v5 TrendMoving averages Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 5 Minute EMA Strategy

V1 Binancash - Futures Strategy 1M Candles is an intraday trading strategy designed for 1-minute cryptocurrency futures charts. It calculates dynamic support and resistance levels using pivot highs and lows, combined with a custom smoothed trend filter and a 3

Strategy v5 TrendSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of V1 Binancash - Futures Strategy 1M Candles

Divergenced B004

by ruckard
13 stars

Divergenced B004 is a Pine Script strategy that plots on the price chart and looks for divergences in the Squeeze Momentum Indicator. It shorts when a green-section squeeze value falls while price rises, and longs when a red-section squeeze value rises while p

Strategy v5 DivergenceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Divergenced B004

WE-Angels

by davro
10 stars

WE-Angels is an overlay indicator that plots optional exponential and simple moving averages, including 111-day and yearly angel averages, on the price chart. It can show Pi Cycle and inverse Pi Cycle crosses with labels, a dollar-cost averaging view, long or

Indicator v4 Moving averagesSupport & resistance
Updated 5 years ago · None stated GitHub repository of WE-Angels

Parabolic SAR - Eterna

by EternaHybridExchange
9 stars

Calculates the Parabolic Stop and Reverse (SAR) indicator paired with an optional Exponential Moving Average (EMA) trend filter. A long position is triggered when price crosses above the SAR while remaining above the trend EMA. A short position is entered when

Strategy v5 TrendMoving averages
Updated 7 months ago · MIT GitHub repository of Parabolic SAR - Eterna
7 stars

This indicator draws a volume profile on the price chart from recent bars. It accumulates volume until a circulation threshold is reached, then splits that price range into histogram rows and assigns each bar's volume to buy and sell boxes by where the close s

Indicator v4 VolumeSupport & resistance
Updated 3 years ago · MIT GitHub repository of Volume Profile Visible Range
6 stars

The Capital41 Liquidity Sweep Simple indicator detects liquidity sweeps where price breaks a recent swing high or low then closes back inside the range with volume confirmation. It plots triangular shapes below the bar for bullish sweeps and above for bearish

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 Liquidity Sweep Simple

Institutional CRT State Engine is an overlay indicator that combines Direction of Liquidity (DOL) bias detection with Candle Range Theory (CRT) pattern recognition. It monitors key institutional session windows—including CBDR, Asia, London, London Lunch, and N

Indicator v6 SMC / ICT / price actionSessions & time

Elton's Screener

by eltonaguiar
4 stars

Elton's Screener is an indicator that runs in a separate pane and scores one of twenty selectable strategies, or auto-selects a route from the symbol type. It filters signals by a minimum confidence level and a higher-timeframe EMA trend alignment. ATR multipl

Indicator v6 Screeners & dashboardsOscillators & momentum Repaints
Updated 2 days ago · None stated GitHub repository of Elton's Screener

Lakshmi Zones v3

by voletiramu
2 stars

Lakshmi Zones v3 is an overlay indicator that builds demand and supply boxes from a volume-profile histogram of recent bars, then merges nearby levels and limits how many zones appear and how far they sit from price. Optional plots include a Magic Line channel

Indicator v6 Support & resistanceVolume
Updated 6 months ago · None stated GitHub repository of Lakshmi Zones v3

SR+Trend v9

by MuhammadMuhamid
1 stars

An earlier version of a long-only crypto spot strategy that combines multi-timeframe pivot support and resistance with optional trend filters. Entries wait for price to touch a support zone sized by ATR or ticks and then confirm within a few bars. Version 9 ad

Strategy v6 Support & resistanceTrend
Updated 13 days ago · None stated GitHub repository of SR+Trend v9

Talons Tiered Exit (Memecoin)

by muammeryldrm42
1 stars

This strategy identifies long entry opportunities using a fast and slow EMA crossover, primarily designed for high-volatility tokens. It manages trades using a tiered scaling-out system that closes specified percentages of the position at three configurable pr

Strategy v5 TrendMoving averages Repaints
Updated 5 months ago · None stated GitHub repository of Talons Tiered Exit (Memecoin)

Crypto AMT v6.1 Risk

by latifangren
1 stars

The Crypto AMT Toolkit v6.1 - Conservative Risk is a Pine Script indicator that overlays Volume Profile with customizable value area boxes and right-side visuals on the price chart, along with VWAP bands, EMA trend filters, higher-timeframe bias, lower-timefra

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT v6.1 Risk
1 stars

Strong Trending - Momentum Rider is a trend-following strategy designed for intraday and swing trading. It evaluates market strength using a composite momentum score based on exponential moving averages, the Directional Movement Index (DMI/ADX), candle body ra

Strategy v5 TrendOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Strong Trending - Momentum Rider

Spot Net Strategy

by zhuzp98
1 stars

Spot Net Strategy is a Pine Script v5 overlay strategy aimed at cryptocurrencies. It sizes each order from account equity times an equity-usage percentage, divided by price. It opens a long when close equals 0.998 and a short when close equals 1.004, then clos

Strategy v5
Updated 1 year ago · None stated GitHub repository of Spot Net Strategy
1 stars

A Pine v4 strategy that plots a 9-period simple 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 appear

Strategy v4 Moving averagesTrend
Updated 4 years ago · None stated GitHub repository of ETHBTC SMA Cross Strategy

5 Minute Scalp

by hasnocool
106 stars

This strategy overlays three exponential moving averages on the price chart, with periods of 9, 50, and 200. It calculates a MACD histogram from a 1-minute timeframe, applies Bollinger Bands to the histogram, and tracks two RSI oscillators of different lengths

Strategy v5 ScalpingMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of 5 Minute Scalp

This strategy identifies breakout entries on low-timeframe cryptocurrency charts by combining rolling pivot support and resistance levels with a smoothed trend filter and a 3-period exponential moving average. Long and short entries trigger when price momentum

Strategy v5 TrendBreakout Repaints
Updated 2 years ago · None stated GitHub repository of V1 Binancash - Futures Strategy Futures 1M Candles

Divergenced C002

by ruckard
13 stars

Divergenced C002 is a trading strategy that identifies entry points using price divergences against the Squeeze Momentum Indicator. It compares price moves across Squeeze Momentum color changes to trigger long or short positions. Exits are generated by Curie c

Strategy v5 DivergenceOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Divergenced C002

WE-Indicator

by davro
10 stars

WE-Indicator is an overlay study that plots Tom DeMark buy and sell counts, optional counts from 1 to 8, and TD trend lines on the price chart. It also draws logarithmic growth curves and projection curves whose intercepts and slopes are user inputs. A vertica

Indicator v4 Oscillators & momentumSupport & resistance
Updated 5 years ago · None stated GitHub repository of WE-Indicator

TPCharts Figures

by TPCharts
10 stars

TPCharts Figures draws horizontal grid lines and round number key levels directly on the price chart relative to the current price. It calculates auto-detected interval steps for Forex and Bitcoin symbols or accepts a custom interval value. The script projects

Indicator v4 Support & resistance Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of TPCharts Figures

RSI Divergence Strategy - Eterna MCP

by EternaHybridExchange
9 stars

This strategy calculates the Relative Strength Index (RSI) and identifies bullish and bearish divergences using RSI and price pivot points. It plots the RSI oscillator, overbought and oversold threshold lines, and divergence markers in a separate pane. A long

Strategy v5 Oscillators & momentumDivergence
Updated 7 months ago · MIT GitHub repository of RSI Divergence Strategy - Eterna MCP

Volume Surge (Memecoin)

by muammeryldrm42
7 stars

This strategy identifies momentum breakouts by detecting sudden volume spikes relative to a simple moving average alongside rapid bar price gains. It plots signal triangles and volume spike markers directly on the price chart. When volume and bar return exceed

Strategy v5 BreakoutVolume
Updated 3 months ago · MIT GitHub repository of Volume Surge (Memecoin)

This indicator detects bullish and bearish fair value gaps and liquidity imbalances on the chart, with optional higher-timeframe tracking. It plots imbalance zones directly on the price chart using colored boxes and tracks zone age, fill percentage, and breake

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of Capital41 Liquidity Void + Imbalance Map

KARPUZLU-RSI KRIPTO

by gocaman
3 stars

Calculates a Relative Strength Index (RSI) with an exponential moving average (RSI-EMA) in a separate pane. It plots fixed overbought and oversold reference bands and fills the area between the RSI and its EMA based on directional momentum. The script detects

Indicator v5 Oscillators & momentumDivergence
Updated 2 days ago · None stated GitHub repository of KARPUZLU-RSI KRIPTO

My First Indicator

by wynnforthework
2 stars

This strategy plots EMA 25 in yellow and EMA 100 in green on the price chart. It generates buy signals on EMA 25 crossing above EMA 100 when ATR length 14 rises over two prior bars and volume exceeds prior bar. It opens a long position of 1 unit on signal. It

Strategy v5 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of My First Indicator
1 stars

This indicator toolkit analyzes cryptocurrency price action on TradingView charts. It computes and plots Volume Profile with user-adjustable lookback bars, row count, and value area percentage; VWAP lines anchored to daily/weekly/monthly sessions plus optional

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT v7.2 Spec Watch

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