Pine Library · 239 open-source scripts

Free Scalping Pine Scripts (page 5)

Open-source Pine scripts built for very short trades on 1 to 5-minute charts.

Pine scripts239
Code shown here103open licence
Updated in a year157
No repaint flag206

Scalping: Indicators, Strategies and Libraries

3 stars

This indicator plots trading signals and overlays directly on the price chart. It generates directional buy and sell signals filtered by configurable sensitivity, signal tuning, volume, and trend clouds. The script visualizes reversal dots, market structure sw

Indicator v5 TrendSupport & resistance
Updated 12 months ago · None stated GitHub repository of ZZ Algo | Signals & Overlays

SlimTrades 1m

by tseitz
1 stars

A Pine v4 strategy that plots the previous four-bar highest high and lowest low in green and red on the price chart. It uses MACD and RSI turning points and candle body size to time entries, and applies a trailing stop set as a percentage of the close for both

Strategy v4 Oscillators & momentumScalping Repaints
Updated 4 years ago · None stated GitHub repository of SlimTrades 1m

SlimTrades 2m

by tseitz
1 stars

A strategy on the price chart tuned in its defaults for a 2 minute chart. It uses RSI zones together with two rolling highest and lowest ranges to open longs and, if allowed, shorts. Exits come from RSI close zones, a minimum percentage move and separate trail

Strategy v4 Oscillators & momentumScalping
Updated 4 years ago · None stated GitHub repository of SlimTrades 2m

SlimTrades 5m

by tseitz
1 stars

A strategy on the price chart with defaults aimed at a 5 minute chart. It reads RSI levels and rolling highest and lowest ranges, with MACD and RSI history helpers, to open long positions and optionally shorts. Positions close on RSI close zones, a minimum per

Strategy v4 Oscillators & momentumScalping
Updated 4 years ago · None stated GitHub repository of SlimTrades 5m
13 stars

This strategy executes trades based on a smoothed Stochastic oscillator inspired by FieryTrading's Stochastic Trend concept, specifically tailored for automated crypto execution via Zignaly alerts. It opens positions when Stochastic values cross configured tri

Strategy v5 Oscillators & momentumScalping
Updated 1 year ago · None stated GitHub repository of Ruckard Fiery Stoch A004

PF FX 5dp - SMA20/50 cross

by pineforge-4pass
1 stars

This strategy generates crossover signals using SMA20 and SMA50 on the EURUSD forex pair at 5 decimal places. It enters a long position when the fast SMA crosses above the slow SMA and immediately closes any existing short position. It enters a short position

Strategy v6 Moving averagesTrend
Updated 6 days ago · Apache-2.0 GitHub repository of PF FX 5dp - SMA20/50 cross

UNI BTC Binance 1m

by tseitz
1 stars

A Pine v4 strategy that plots a session VWAP with an upper and lower band offset by a percentage of the high and low. A long starts on a green candle opening above VWAP and a short on a red candle opening below it. A long closes when the high reaches the upper

Strategy v4 VolumeScalping
Updated 4 years ago · None stated GitHub repository of UNI BTC Binance 1m

CRT State Engine v6

by alboogycOdR
6 stars

This overlay indicator tracks an institutional CRT state machine on the price chart. It can plot draw-on-liquidity lines from pivot strength, session boxes for CBDR, Asia, London, London lunch and New York, and key levels colored for consolidation, manipulatio

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine v6

YFI XBT Binance 1m

by tseitz
1 stars

This strategy plots a close VWAP and percentage-offset high and low VWAP bands on the price chart. It enters long when the bar opens above the high band, optionally only on a green candle, and short when the bar opens below the low band, optionally only on a r

Strategy v4 VolumeBreakout Repaints
Updated 4 years ago · None stated GitHub repository of YFI XBT Binance 1m

JMA-HMA-based Scalper

by capissimo
114 stars

This price-chart indicator builds a fast-minus-slow Jurik moving average of the selected price and wraps that series in upper and lower bands set by a standard-deviation multiplier and the fast lookback. It reads band direction, whether both bands rise or fall

Indicator v4 Moving averagesVolatility & bands
Updated 1 year ago · None stated GitHub repository of JMA-HMA-based Scalper

S Trailing

by GammaExpansion
1 stars

S Trailing is a Pine Script v6 strategy that applies trailing stops to periodic cycle-based entries. It divides the bar index into cycles of 40 bars and activates at specific phases: long entry with trailing price stop at phase 0, short entry at phase 14, plus

Strategy v6 Mean reversionScalping
Updated 6 days ago · MIT GitHub repository of S Trailing
7 stars

This multi-timeframe indicator calculates Stochastic oscillator directional bias across three user-defined timeframes. It compares %K and %D to determine whether momentum is bullish or bearish on each timeframe. When all three timeframes align in the same dire

Indicator v6 Oscillators & momentumTrend Repaints
Updated 3 months ago · None stated GitHub repository of Stoch MTF 3 TF Direction Only

NIFTY 5m Supertrend Scalper

by vedkanani123
1 stars

A price-chart indicator designed for the one-minute chart of Indian index instruments. It computes a Supertrend with ATR length 10 and multiplier 3 on confirmed five-minute bars, so a flip signal appears on the first one-minute bar after the five-minute close.

Indicator v6 TrendScalping
Updated 2 months ago · None stated GitHub repository of NIFTY 5m Supertrend Scalper

ICT State Machine

by alboogycOdR
6 stars

This indicator tracks a sequential smart money concepts workflow using a state machine on the price chart. It monitors higher-timeframe four-hour bias, Asian session ranges, liquidity sweeps, market structure shifts, change in state of delivery, and fair value

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of ICT State Machine

Ruckard Swim Waves

by ruckard
13 stars

Ruckard Swim Waves is a Pine Script v5 strategy that trades long, short, or both on the price chart. It opens positions according to the selected side and exits with a percentage stop loss, take profit, and optional trailing take profit. After two consecutive

Strategy v5 Scalping
Updated 1 year ago · None stated GitHub repository of Ruckard Swim Waves

This trend-following scalping strategy combines a moving average trend filter with the Absolute Strength Histogram indicator. It opens long positions when price is above a selectable baseline moving average and the histogram signals bullish momentum, and short

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ruckard TradingZone Absolute Strength Histogram ATR

This lower-pane indicator tracks a custom Supertrend built from ATR and a selectable average, then colors trend states such as rising, bear, pretrend, overbought, and oversold. It can paint bars, plot optional arrows, and show a dashboard of EMA lengths and sc

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of J8 30 123 Spy Scalping Lower Pro

NO.1 RR Mark

by vedkanani123
1 stars

A price-chart indicator for one- to five-minute charts that marks each accepted entry as a buy or sell label with boxes for the stop and for 1R, 2R and 3R levels. Entries need a Supertrend flip, agreement from a completed higher-timeframe Supertrend, the EMA s

Indicator v6 TrendScalping Repaints
Updated 2 months ago · None stated GitHub repository of NO.1 RR Mark
13 stars

This strategy plots on the price chart and enters from a moving-average filter, ADX and Gann colours. Price above a 200-period EMA allows only longs; price below allows only shorts. A Gann aqua colour with ADX above a key level opens a long, and a Gann brown c

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ruckard TradingZone ADX Gann
7 stars

This strategy plots RSI on the price chart and enters a long when RSI falls below the oversold level or a short when it rises above the overbought level, only while flat. It exits with a take profit and stop loss measured in pips from the current close. Inputs

Strategy v6 Oscillators & momentumScalping
Updated 3 months ago · None stated GitHub repository of XAUUSD 1-Minute Scalping Strategy

J8 30 123 SPY Scalping PRO 2 Jerry is an overlay strategy designed for short-term SPY scalping and spread setups. It combines multiple Exponential Moving Averages with a custom Supertrend calculation based on flexible moving average types and ATR lengths to pl

Strategy v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of J8 30 123 SPY Scalping PRO 2 Jerry

This intraday strategy is designed for short-term scalping on equity and index markets like SPY. It evaluates price movement using configurable exponential and Hull moving averages combined with an ATR-based Supertrend calculation. The script plots signal arro

Strategy v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of J8 30 123 SPY Scalping PRO 2 Jerry
106 stars

This strategy combines the Price Moving Average Ratio Percentile (PMARP) with Madrid Moving Average Ribbon concepts to identify overextended price conditions and trend shifts. It calculates PMAR or PMARP across selectable moving average types and a lookback wi

Strategy v5 Moving averagesOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of PMAR and Madrid MA Strategy

S2

by hasnocool
106 stars

S2 is a cryptocurrency rebalancing strategy originally designed for trading pairs like XTZ-EUR. It enters trades during buy and sell opportunity windows determined by rebalancing logic using external portfolio libraries. The strategy transacts a fixed base cry

Strategy v5 Mean reversionScalping
Updated 2 years ago · GPL-3.0 GitHub repository of S2
1 stars

This Pine Script strategy draws on the price chart with overlay=true. It enters long and short positions using stop orders at the current close price at specific session times of 4:45 and 16:45. It then closes all open positions at 8:15 and 20:15. The strategy

Strategy v6 Sessions & timeScalping
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe 83 - dual stop open tie

Trailering L007

by ruckard
13 stars

This long-only strategy executes automated cryptocurrency trades designed to interface directly with Zignaly webhooks. It triggers entries when a configurable minimum threshold of sub-strategy conditions are met within a lookback window, adjusting position siz

Strategy v5 Scalping
Updated 1 year ago · None stated GitHub repository of Trailering L007
1 stars

This strategy places long and short entries on the price chart at fixed daily times of 8:00 and 20:00. It uses fixed position sizing of 1 share with pyramiding set to 1, so only one position is held. At entry it immediately sets a three-way bracket exit that i

Strategy v6 ScalpingSessions & time
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe 88 - 3-way exit set once

Trailering N006

by ruckard
13 stars

Trailering N006 is a crypto strategy framework designed for automated execution via Zignaly alerts. It calculates trade signals based on price excursion logic across lookback periods to enter positions with dynamic capital sizing. Key settings allow filtering

Strategy v5 TrendScalping
Updated 1 year ago · None stated GitHub repository of Trailering N006
1 stars

This strategy is a validation probe that places one long at 08:00 and one short at 20:00 when flat, using a fixed quantity of one. Each entry is paired with a stop 10 price units away, a limit 20 units away, and a trailing stop of 8 points. Orders process on b

Strategy v6 ScalpingSessions & time
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe 90 - narrow stop/limit + trail8
1 stars

This strategy identifies long and short positions using a dual moving average crossover on the price chart. The fast and slow simple moving averages generate crossover signals that trigger market entries. The script caps the number of intraday filled orders to

Strategy v6 Moving averagesTrend
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe 97b - intraday cap isolate

Ruckard Scalping 03

by ruckard
13 stars

This strategy trades both long and short on the price chart. It enters long after a five percent or larger drop over the last thirty minutes and short after a matching rise. Two dollar-cost-averaging adds increase size when price moves against the position. A

Strategy v4 ScalpingMean reversion
Updated 1 year ago · None stated GitHub repository of Ruckard Scalping 03
1 stars

This strategy enters trades based on EMA crossovers and manages exits with tight tick-based bracket orders on the price chart. It calculates fast and slow Exponential Moving Averages, triggering long entries on bullish crossovers and short entries on bearish c

Strategy v6 Moving averagesScalping
Updated 6 days ago · Apache-2.0 GitHub repository of PF Probe Scalping Tight TP SL Points
1 stars

This strategy plots a fast and a slow exponential moving average on the price chart and flips position when they cross. A crossover of the fast EMA above the slow EMA enters one unit long, and a crossunder enters one unit short. There is no stop loss, take pro

Strategy v6 Moving averagesScalping
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe scalping-probe-02-fast-ma-trigger
1 stars

The strategy calculates the point of control and value area from the volume profile using a lookback of 150 bars and 24 rows. It applies a fast EMA trend filter, a V18 coherence resonance check with minimum threshold of 1.6, and an ATR volatility filter requir

Strategy v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of TnSovereignVolumeProfileScalpV6

PF probe wunder-scalper-probe-02-alert-message-templates is a strategy that generates long and short signals using a fast EMA of 5 crossing above a slow EMA of 13 on the price chart. It places fixed-size entries of 1 share on each crossover signal and emits al

Strategy v6 Moving averagesTrend
Updated 6 days ago · Apache-2.0 GitHub repository of PF probe wunder-scalper-probe-02-alert-message-templates
1 stars

Calculates fast and slow Exponential Moving Averages (EMAs) to identify trend shifts on the price chart. When the fast EMA crosses above the slow EMA, any open short position is closed before opening a long trade. When the fast EMA crosses below, any open long

Strategy v6 TrendMoving averages
Updated 6 days ago · Apache-2.0 GitHub repository of PF Probe Wunder-Scalper-Probe-Integration
1 stars

The strategy enters a long position of two lots at 1:15 on the hour when no position is open. It then places a take-profit order for half the position at 0.3 percent above the average entry price and a stop-loss order for the remaining half at 0.6 percent belo

Strategy v6 Sessions & timeScalping
Updated 6 days ago · Apache-2.0 GitHub repository of PF TV golden 41 - partial qty percent

PF_WS01_REV

by pineforge-4pass
1 stars

This strategy uses two exponential moving averages (fast period 5, slow period 13) to detect trend changes via crossover signals on the price chart. It enters long on fast EMA crossing above slow EMA and short on the reverse crossover. The script includes expl

Strategy v6 TrendOscillators & momentum
Updated 6 days ago · Apache-2.0 GitHub repository of PF_WS01_REV
106 stars

This strategy plots Bollinger Bands on the price chart using the middle band as a simple moving average and standard deviation bands. It signals long entries when the close price crosses below the middle band combined with Aroon up trending above 90 and within

Strategy v4 Moving averagesVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of Bollinger bands And Aroon Scalping
3 stars

A momentum scalping strategy designed for 5-minute charts that combines the Relative Strength Index (RSI) with fast and slow Simple Moving Averages (SMA). It triggers long entries when the 14-period RSI exceeds 70 while the 5-period SMA is above the 20-period

Strategy v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of RSI MA Scalp Strategy

Crypto Price Scalper

by hasnocool
106 stars

Crypto Price Scalper is a long-only trading strategy designed for cryptocurrency charts. It combines a custom price-range oscillator, calculated from the highest high and lowest low over a user-defined candle period, with the Vortex Indicator. A long trade ope

Strategy v4 Oscillators & momentumTrend
Updated 2 years ago · GPL-3.0 GitHub repository of Crypto Price Scalper

Rapid Fire

by hasnocool
106 stars

This strategy draws on the price chart and enters long when the open crosses above the Parabolic SAR and is above a 50-period simple moving average of close. It enters short on the opposite cross below that average. Offset prices of 0.5 percent and 1.5 percent

Strategy v4 TrendMoving averages Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Rapid Fire

TTM Scalper Alert

by mihakralj
99 stars

TTM Scalper Alert marks three-bar pivot highs and lows on the price chart. It treats the prior bar as a pivot high when its high exceeds both neighboring highs, and as a pivot low when its low is below both neighboring lows. An optional setting uses closes ins

Indicator v6 Support & resistanceScalping Repaints
Updated 4 weeks ago · Apache-2.0 GitHub repository of TTM Scalper Alert

Triple EMA Scalper

by hasnocool
106 stars

This strategy plots three moving averages on the price chart, although the calculations use simple moving averages despite the EMA title. It enters long when the fastest average crosses above the other two and short when it crosses below them, limited to the L

Strategy v4 Moving averagesScalping
Updated 2 years ago · GPL-3.0 GitHub repository of Triple EMA Scalper

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