Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 48)

Open-source Pine scripts that measure momentum: RSI and MACD variants, stochastics, CCI, multi-timeframe oscillators and momentum strategies.

Pine scripts3,035
Code shown here1,673open licence
Updated in a year1,920
No repaint flag2,652

Oscillators & momentum: Indicators, Strategies and Libraries

Oscillator Suite

by TamaraKGreen
46 stars

Oscillator Suite plots a normalised price oscillator in a separate pane and overlays a signal line that can use SMA, EMA, WMA, HMA, RMA, VWMA, T3, ZEMA, KAMA, or GKEMA. It marks bullish and bearish divergences, a smoothed money-flow series, confluence areas an

Indicator v5 Oscillators & momentumDivergence
Updated 8 weeks ago · None stated GitHub repository of Oscillator Suite

Triple EMA + Stochastic

by krosenfeld7
5 stars

This overlay indicator combines three Exponential Moving Averages (EMAs) with a Stochastic RSI to plot trend-following trade setup labels on the price chart. It checks for sequential EMA alignment alongside Stochastic RSI crossovers and specific candle price p

Indicator v4 Moving averagesOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of Triple EMA + Stochastic
4 stars

This strategy trades USD/JPY on the price chart during Tokyo and London sessions. It enters long when the fast EMA crosses above the slow EMA while price is above the trend EMA and RSI is above its midpoint, and it enters short on the opposite cross. Position

Strategy v6 TrendMoving averages
Updated 2 months ago · MIT GitHub repository of USD/JPY Carry Trend [trugurpala]

HMD MACD

by Web3Degenerate
2 stars

HMD MACD plots a moving-average convergence divergence oscillator in a separate pane. It subtracts a slow moving average from a fast moving average of the chosen source, then smooths that difference into a signal line. Users can select SMA or EMA for both line

Indicator v5 Oscillators & momentumMoving averages
Updated 2 years ago · None stated GitHub repository of HMD MACD

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 13 days ago · None stated GitHub repository of DEPV2 DEBUG S33

Cardwell Dual Confluence

by vedkanani123
1 stars

A price-chart indicator by MarkitTick based on Cardwell RSI ideas. It produces buy and sell signals from a fast and slow smoothed RSI crossover and from an RSI regime check combined with a moving average trend, with bull and bear RSI ranges. A minimum bar gap

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · None stated GitHub repository of Cardwell Dual Confluence

Hurst Through Marker

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane that marks cycle troughs, which its title spells as throughs, using Hurst bandpass filters. The hl2 price is filtered for cycles from 1 day to 18 years and labels and lines are drawn where cycle lows form. Bandwidt

Indicator v5 Oscillators & momentumSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Through Marker

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

Bubbles Indicator

by capissimo
114 stars

Bubbles Indicator visualizes market squeezes and bursts in a separate pane using standard deviation and normalized Bollinger Bands. It incorporates a Sinusoid oscillator, a scaled Commodity Channel Index (CCI), and a fast and slow RSI divergence factor to iden

Indicator v4 Volatility & bandsOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Bubbles Indicator

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

This overlay indicator builds a horizontal momentum profile over a chosen lookback. It splits price into rows and plots the average WaveTrend of each zone as a bar colored by direction, plus an optional MFI reference band that stays gray when real trade volume

Indicator v6 Oscillators & momentumVolume
Updated 3 days ago · MIT GitHub repository of Momentum Profile [WavesUnchained]

This strategy plots three exponential moving averages on the price chart and opens long trades when those averages stack upward, price closes above the shortest average, and a smoothed stochastic RSI has K above D. It also requires a rising bullish candle on a

Strategy v4 TrendMoving averages
Updated 3 years ago · Apache-2.0 GitHub repository of Triple EMA + Stochastic Long Strategy (D)

EFI Normalized

by g-moe
3 stars

This indicator plots a normalized Elder Force Index in a separate pane. It calculates the Elder Force Index as an EMA of the prior close price change multiplied by volume, smoothed over the input length. The result is normalized to a 0-100 scale using the high

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of EFI Normalized

升级版的马丁 -- DCA

by wynnforthework
2 stars

This Dollar-Cost Averaging (DCA) strategy enters trades using signal triggers from MACD, MFI, RSI, or Stochastic RSI. When price moves against the position, it executes Martingale safety orders using customizable volume multipliers and step percentages. Exits

Strategy v5 Oscillators & momentumMean reversion Repaints
Updated 1 year ago · None stated GitHub repository of 升级版的马丁 -- DCA

HMD Relative Strength Index

by Web3Degenerate
2 stars

Calculates a Relative Strength Index with user-defined length and overbought/oversold thresholds. It identifies exhaustion setups by pairing momentum extremes with bullish and bearish engulfing candlestick patterns imported from an external library. Buy signal

Indicator v5 Oscillators & momentumCandlestick patterns
Updated 2 years ago · None stated GitHub repository of HMD Relative Strength Index

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 13 days ago · None stated GitHub repository of DEPV2 DEBUG S34
1 stars

A Pine Script v5 indicator in a separate pane, the second revision of a Hurst cycle trough marker, whose title spells trough as through. It runs the hl2 price through bandpass filters for cycles from 1 day to 18 years and draws labels and lines where cycle low

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Through Marker V2

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
99 stars

This indicator plots the DeMarker oscillator in a separate pane. It compares the current high and low with the previous bar, keeps only positive advances and declines, and smooths those series with a simple moving average over a user-set period. The result is

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of DeMarker Oscillator (DEM)

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

This indicator calculates the velocity and acceleration for WaveTrend, StochRSI, and Money Flow Index (MFI) oscillators. By treating indicators as vector trajectories, it detects momentum exhaustion before traditional oscillator turns occur. It classifies mark

Indicator v6 Oscillators & momentumVolume
Updated 3 days ago · MIT GitHub repository of Momentum Trajectory [WavesUnchained]

Calculates three Exponential Moving Averages (short, intermediate, long) alongside Stochastic RSI to identify short trade entries. A short position opens when the EMAs align in a downward trend, Stochastic K crosses below D, and a bearish price bar closes belo

Strategy v4 TrendOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of Triple EMA + Stochastic Short Strategy

This strategy generates trading signals using a dual exponential moving average cross confirmed by the Relative Strength Index. It restricts entries to specific market session hours (09:30-18:15 UTC+3) designed for Turkish VIOP index futures. Long positions en

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of VİOP BIST30 Alert Strategy [trugurpala]

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 13 days ago · None stated GitHub repository of DEPV2 DEBUG S35
1 stars

This strategy stores a rolling matrix of RSI, ATR relative to price, and rate of change, together with each bar’s close direction. It averages outcomes from historical rows inside a fixed distance and treats that score as confidence. It enters long when confid

Strategy v6 AI / machine learningOscillators & momentum
Updated 2 months ago · None stated GitHub repository of TN Matrix kNN ML Sovereign
1 stars

A Pine Script v5 indicator in a separate pane, the third revision of a Hurst cycle trough marker, whose title spells trough as through. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and marks cycle lows with labels and lines.

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Through Marker V3
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]
228 stars

TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of TradersPost Trading Checklist

Chop and Explode

by capissimo
114 stars

Chop and Explode is a momentum indicator designed to identify consolidation zones and potential breakout moves. It applies minimax scaling to price data over a set lookback window before calculating a Relative Strength Index (RSI). The indicator plots the modi

Indicator v4 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Chop and Explode
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
99 stars

Calculates the Derivative Oscillator by applying double exponential moving average (EMA) smoothing to a Relative Strength Index (RSI) baseline and subtracting a simple moving average (SMA) signal line. Plotted in a separate pane alongside a zero reference line

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Derivative Oscillator (DOSC)

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

GCM Volume-Price Essence

by eddiebelaval
7 stars

GCM Volume-Price Essence is a separate-pane oscillator that weights recent price change by a short-to-longer volume ratio and a volume impact factor. It plots the smoothed difference of fast and slow exponential flows, plus optional quantum base line, dynamic

Indicator v6 Oscillators & momentumVolume
Updated 3 months ago · None stated GitHub repository of GCM Volume-Price Essence

HMD Stochastic

by Web3Degenerate
2 stars

This indicator plots the Stochastic oscillator with %K in blue and %D in orange lines. It calculates the values using SMA on the Stoch function based on user inputs for %K length, %K smoothing, and %D smoothing. Long signals trigger on bullish engulfing candle

Indicator v5 Oscillators & momentumCandlestick patterns
Updated 2 years ago · None stated GitHub repository of HMD Stochastic

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 13 days ago · None stated GitHub repository of DEPV2 DEBUG S36
1 stars

A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst cycle trough marker, whose title spells trough as through. The hl2 price goes through bandpass filters for cycles from 1 day to 18 years, and labels and lines are drawn where cycle l

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Through Marker V4

Technical Ratings

by ivansoft
1 stars

Displays a table of technical ratings for the chart symbol, using an imported rating library that combines moving averages and oscillators. Each row can show the rating from all indicators, oscillators only or moving averages only, as Strong Sell, Sell, Neutra

Indicator v6 Screeners & dashboardsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Technical Ratings

RSI with Boll %B

by zhuzp98
1 stars

An oscillator shown in a separate pane. It builds an RSI centred on zero with a short default length, smooths it with an EMA, and measures how far the RSI sits from that average in standard-deviation units, similar to Bollinger %B. Dashed lines mark plus and m

Indicator v5 Oscillators & momentumMean reversion
Updated 1 year ago · None stated GitHub repository of RSI with Boll %B

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
114 stars

Chop and Explode for XBTUSD, etc calculates a relative strength index (RSI) applied to price data scaled via a minimax normalization function over a specified lookback period. It plots the custom RSI line in a separate pane with horizontal reference bands and

Indicator v4 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Chop and Explode for XBTUSD, etc

AVWAP Strategy

by hasnocool
106 stars

This overlay strategy builds a smoothed price source from expanded candle and Heikin-Ashi inputs using AMA, T3, or Kaufman's adaptive moving average. The Kaufman path can adapt with a Jurik fractal dimension, and a Garman-Klass-Yang-Zhang volatility filter can

Strategy v5 Moving averagesVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of AVWAP Strategy
99 stars

Calculates and plots the Detrended Price Oscillator in a separate pane to identify short-term price cycles. The indicator removes longer-term trends by subtracting a historical simple moving average, displaced back by half the period plus one bar, from the cur

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Detrended Price Oscillator (DPO)

Ruckard AndresAristizibal Joya D003 is an automated crypto trading strategy that evaluates entry and exit signals using a combination of Trend Indicator A-V2, Supertrend, and QQE Mod, alongside customizable Curie closing moving average filters. The script exec

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

The Market Stress Oscillator plots a bi-directional Williams VIX Fix in a separate pane, with separate bull and bear stress lines. It applies JMA smoothing to both series and shows ADX strength as context for judging noisy readings. Peak-hold markers mark stre

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 days ago · MIT GitHub repository of MSO - Market Stress Oscillator [WavesUnchained]

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