Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 20)

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

Reverse RSI Signals [AlgoAlpha]

by mushroom-men-Trading
2 stars

This indicator projects reverse RSI price levels directly onto the main price chart to generate dynamic upper and lower bands alongside a Supertrend envelope midline. It detects bullish and bearish divergences by tracking RSI pivots with a configurable left lo

Indicator v6 Oscillators & momentumTrend
Updated 9 months ago · None stated GitHub repository of Reverse RSI Signals [AlgoAlpha]

QQE + AK Trend Combined

by realanthonyc
2 stars

This indicator combines a Qualitative Quantitative Estimation oscillator with an AK Trend line in a separate pane. It computes a smoothed Relative Strength Index and builds QQE bands using Wilder's smoothed average true range of the RSI. Additionally, it integ

Indicator v6 Oscillators & momentumTrend
Updated 11 months ago · MPL-2.0 GitHub repository of QQE + AK Trend Combined

Box Scalper

by wynnforthework
2 stars

This strategy draws on the price chart and combines a momentum zigzag, a custom QQE built from RSI, ADX directional strength, an SSL filter, and a coefficient-of-variation weighted average. Box period, deviation, and threshold inputs set the box filter, while

Strategy v5 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of Box Scalper

RSI Scalping Machine [UT]

by theupslidedown
2 stars

This overlay indicator combines RSI, an RSI-VWAP length, RMI, ADX, volume, a range filter, and a cloud on the price chart. Settings change the ADX type, length, and threshold, the volume multiplier and average length, RSI source and lengths, the range-filter s

Indicator v5 Oscillators & momentumVolume
Updated 3 years ago · None stated GitHub repository of RSI Scalping Machine [UT]

MC Study - Aggressive

by Metzenas
2 stars

This indicator builds a WaveTrend-style oscillator from typical price, using an exponential moving average channel and a smoothed channel index. It flags a base buy when the fast line crosses its three-bar simple average while the fast line is at or above that

Indicator v4 Oscillators & momentum
Updated 5 years ago · None stated GitHub repository of MC Study - Aggressive

Sandwich

by kat3samsin
2 stars

This strategy identifies sandwich patterns using RSI, ALMA, and Stochastic indicators. It plots RSI, Choppiness Index (CI), Stochastic K, and D in a separate pane. Long entries trigger when RSI is above CI, both Stochastic lines fall between CI and RSI, and K

Strategy v4 Oscillators & momentumMoving averages
Updated 5 years ago · MIT GitHub repository of Sandwich
1 stars

Compares a smoothed FX price trend with a smoothed government yield spread trend, z-scores both over a normalisation window and plots them in a separate pane along with their difference. Threshold bands mark when the two are aligned and when they diverge, usin

Indicator v6 Oscillators & momentumDivergence
Updated 2 days ago · None stated GitHub repository of FX Price vs Yield Spread

Stoch Price Envelope

by teshmi9z-beep
1 stars

An overlay that converts a long-period stochastic reading back into price levels. Using the highest high and lowest low over a lookback window of 200 bars by default, it plots a ceiling at the high stochastic level, a floor at the low level, a midpoint, and a

Indicator v5 Oscillators & momentumSupport & resistance
Updated 2 days ago · MIT GitHub repository of Stoch Price Envelope

Hash Momentum Strategy

by kanylbullen
1 stars

Calculates normalized momentum against a threshold and combines it with an exponential moving average trend filter. It triggers trades in the direction of the EMA trend when momentum surges, subject to optional session, weekend, and cooldown filters. Exits are

Strategy v6 Oscillators & momentumTrend
Updated 8 days ago · None stated GitHub repository of Hash Momentum Strategy

A Pine v6 strategy for crypto charts that looks for an RSI oversold setup together with a Fibonacci-spaced Bollinger Band setup, then waits for a reclaim as confirmation. Optional filters include a trend moving average on the chart and a higher timeframe, a vo

Strategy v6 Mean reversionOscillators & momentum
Updated 12 days ago · MIT GitHub repository of Crypto TA Pro RSI + Fibonacci BB Regime

DEPV2 A3 MOMENTUM

by YuceSezar89
1 stars

This indicator calculates a momentum z-score using the rate of change of log returns over a specified period, normalized by the standard deviation of log returns over a longer window. It plots the z-score, the momentum state (positive, neutral, or negative), a

Indicator v6 Oscillators & momentumVolatility & bands
Updated 13 days ago · None stated GitHub repository of DEPV2 A3 MOMENTUM

MTF Confluence Lean

by MuhammadMuhamid
1 stars

A long-only spot strategy that enters when all enabled gates agree, each on its own timeframe, 15 minutes by default: Supertrend bullish, RSI above a threshold and below a cap, Volume Flow Indicator above a level, and a support check. One reward-to-risk stop a

Strategy v6 TrendOscillators & momentum
Updated 13 days ago · None stated GitHub repository of MTF Confluence Lean

RSI Cross

by quantxaashish
1 stars

This Pine Script v5 indicator calculates the Relative Strength Index using a default length of 14. It plots the RSI value in a separate pane below the price chart. Long signals trigger when the RSI line crosses above the oversold level of 30, and short signals

Indicator v5 Oscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of RSI Cross

Kernal Cipher Strategy

by kdricha0602
1 stars

Kernal Cipher Strategy is a price-chart overlay that backtests the Kernal Cipher confirmed-bar signal engine. It enters long or short at the next bar's open when trend, regime, and oscillator filters agree, then exits on an adaptive ATR stop or an opposite sig

Strategy v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Kernal Cipher Strategy
1 stars

A long-only strategy template meant to send webhook alerts to an external bot. It enters on a fast and slow EMA cross with a volume surge while RSI is below the overbought level, or on an oversold RSI at the lower Bollinger Band with a volume surge. Each entry

Strategy v5 Oscillators & momentumMean reversion
Updated 6 weeks ago · None stated GitHub repository of Algo Bot Signal Generator

Webby RSI

by peterdmv
1 stars

The Webby RSI indicator calculates a momentum oscillator by measuring price distance to a 21 EMA in 50 ATR units. The value smooths into a 10 SMA histogram MA. It plots the absolute value as colored columns and the MA as a line in a separate pane. Inputs adjus

Indicator v6 Oscillators & momentumMoving averages
Updated 2 months ago · MPL-2.0 GitHub repository of Webby RSI

Dynamic MAs ZSCORE

by vedkanani123
1 stars

A separate-pane indicator that takes a selectable moving average of price, converts it to a Z-score over a lookback, and draws it against dynamic standard deviation bands with separate positive and negative multipliers. It can be read as a trend-following sign

Indicator v6 Oscillators & momentumMean reversion
Updated 2 months ago · None stated GitHub repository of Dynamic MAs ZSCORE

v39b Live Adapt

by syrilj
1 stars

A long strategy for one-hour or two-hour charts based on structure and volume-price analysis. Side is set by price being inside the value area and at or above the point of control, with an optional higher-timeframe Heikin-Ashi MACD filter. Position size comes

Strategy v6 VolumeOscillators & momentum
Updated 2 months ago · None stated GitHub repository of v39b Live Adapt

A/D Context v20.10

by VVASILEVSS
1 stars

A Pine v5 indicator that draws in its own pane and measures accumulation and distribution flow with Williams or Chaikin A/D, a smoothing EMA, Chaikin Money Flow and ATR. It compares price pivots with flow pivots to flag regular or hidden divergences, optionall

Indicator v5 DivergenceVolume
Updated 3 months ago · None stated GitHub repository of A/D Context v20.10

Fusion Cipher Strategy

by shahzaib-574
1 stars

Fusion Cipher Strategy is an overlay strategy that scores wave momentum, money flow, VWAP, RSI, Stochastic RSI, ADX, and divergence conditions before opening trades. It enters long when the composite score meets a minimum and the wave is below a pullback thres

Strategy v6 Oscillators & momentumMoving averages
Updated 3 months ago · None stated GitHub repository of Fusion Cipher Strategy

MTF RSI Management

by iyoshikawa
1 stars

An overlay indicator built around a fast and a slow smoothed RSI, a double-smoothed stochastic, an EMA trend line and an ADX filter, combined with a volume filter to grade setups from B to A+. Presets adapt settings for crude oil, Nasdaq, S&P 500 and Dow futur

Indicator v5 Oscillators & momentumTrend Repaints
Updated 5 months ago · None stated GitHub repository of MTF RSI Management

Renko MACD Futures Long Only

by PETERSAMUELOPS12
1 stars

A long-only futures strategy that simulates Renko bricks on a normal time chart and calculates MACD on the brick closes, which filters out time-based noise. A bullish MACD crossover on the bricks opens a long when price is above a trend SMA by a buffer. Exits

Strategy v6 Oscillators & momentumTrend
Updated 5 months ago · None stated GitHub repository of Renko MACD Futures Long Only

BVortex XAUUSD 1H

by Alberto082544
1 stars

This strategy trades XAUUSD on the one-hour chart. It builds a scaled Vortex oscillator from directional movement and flags bars that leave an upper or lower extreme with a matching candle. Entries also need ADX at or above a set minimum and a swing-pivot tren

Strategy v6 Oscillators & momentumTrend
Updated 5 months ago · None stated GitHub repository of BVortex XAUUSD 1H

A separate-pane indicator that combines DMI, ADX, MACD and a squeeze signal. It plots plus and minus directional indicators with a selectable smoothing type (RMA by default) and an ADX line with an adjustable key level, and shades the background by trend direc

Indicator v6 Oscillators & momentumTrend
Updated 6 months ago · None stated GitHub repository of Directional Movement Index and ADX

Trend-Filtered Reversal

by caizongxun
1 stars

A separate-pane indicator for counter-trend reversal setups that are filtered by a baseline EMA trend. A bearish setup needs price at a wide upper Bollinger Band, high volume or an overbought RSI, and a rejection wick; the bullish setup mirrors this. In a stro

Indicator v5 Mean reversionVolatility & bands
Updated 8 months ago · MIT GitHub repository of Trend-Filtered Reversal

ML Decision Tree Classifier

by haydarkadioglu
1 stars

The ML Decision Tree Classifier uses rule-based decision tree logic to evaluate trend, momentum, volume, and MACD indicators for market direction classification. It calculates exponential moving averages, relative strength index values, volume relative to a mo

Indicator v5 AI / machine learningTrend
Updated 8 months ago · None stated GitHub repository of ML Decision Tree Classifier

ARC VMAlgo

by Tradehook-org
1 stars

ARC VMAlgo is an indicator that plots a histogram in a separate pane. It calculates volatility bands using a Bollinger-style SMA and standard deviation. It computes a MACD-style momentum oscillator with fast and slow EMAs. It normalizes distance to bands using

Indicator v5 Oscillators & momentumMoving averages
Updated 8 months ago · None stated GitHub repository of ARC VMAlgo
1 stars

This indicator evaluates Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), and Stochastic oscillators across four customizable timeframes. It aggregates bullish and bearish conditions into a confluence score to identify aligned marke

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 9 months ago · MIT GitHub repository of MTF Confluence Scanner
1 stars

This strategy executes trades based on VuManChu-inspired WaveTrend signals combined with a 200 EMA trend filter and multi-timeframe confirmation from H1 and H4 charts. Entries are evaluated using WaveTrend oversold conditions, RSI, MFI, and an optional ADX fil

Strategy v6 Oscillators & momentumTrend
Updated 10 months ago · None stated GitHub repository of VMC Strat M15 Ultimate (ADX + Div)

Crypto Trading Bot Pro

by KirstonKK
1 stars

A chart-overlay indicator that combines RSI, a fast and slow EMA cross, Bollinger Bands, volume spikes, MACD and stochastic into alert conditions. Individual alert groups can be switched on or off, and a weighted confidence score must reach a minimum before an

Indicator v5 Oscillators & momentumVolatility & bands
Updated 10 months ago · None stated GitHub repository of Crypto Trading Bot Pro

Relative Strength Index

by yagyesh-bobde
1 stars

Calculates and plots the Relative Strength Index (RSI) oscillator in a separate pane with overbought and oversold visual fills. It includes an optional smoothing moving average supporting SMA, EMA, SMMA, WMA, VWMA, or SMA with Bollinger Bands. Additionally, it

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of Relative Strength Index

MACD Crossover

by Studentcodee
1 stars

This strategy executes automated trades based on the interaction between the MACD line and its signal line. It calculates the difference between two exponential moving averages and a signal line to monitor momentum shifts. The strategy enters a long position w

Strategy v6 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of MACD Crossover

SOLETH MTPI

by Mikelkulla
1 stars

This strategy detects relative performance between Solana and Ethereum using a liquidity-weighted supertrend (LWST) derived from fast and slow weighted moving averages of liquidity times close. It plots the Tsl2 trend line in a separate pane and issues buy sig

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of SOLETH MTPI

蜡烛图形态

by fuyuanyuan
1 stars

This overlay indicator classifies candlestick shapes using body, wick, and range sizes, then filters them with volume, RSI, MACD, and exponential moving averages. A hammer needs a long lower wick, a small bearish body, RSI below 30, and elevated prior volume.

Indicator v6 Candlestick patternsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of 蜡烛图形态

MACD Strategy

by pcjtse
1 stars

This strategy trades MACD line crossovers: it enters long when the MACD line crosses above the signal line and short when it crosses below. Each entry has an ATR-based stop loss and take profit set by separate multipliers. Fast, slow and signal lengths are adj

Strategy v5 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of MACD Strategy

Ehlers DMI

by munlit
1 stars

A separate-pane indicator that smooths price with a weighted average and a two-pole filter, then runs a directional movement calculation on the filtered series and plots one line coloured by its slope. The sign of the line sets a bullish or bearish state, whic

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ehlers DMI

Tweezer Lyfe

by RobACurtis
1 stars

Tweezer Lyfe is a TradingView strategy that identifies Tweezer reversal patterns on the price chart. It plots Bollinger Bands with RSI and stochastic indicators for momentum confirmation. Bullish signals require a prior bearish candle closing near the lower ba

Strategy v5 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Tweezer Lyfe
1 stars

This long-only strategy buys when a short 3-period RSI crosses back above an oversold level of 35, provided the 14-period RSI is above 40 and price is above a 150-period EMA. It closes the position when price crosses under a 9-period EMA or falls below an 89-p

Strategy v5 Mean reversionOscillators & momentum
Updated 2 years ago · None stated GitHub repository of RSI 14 and 3 Mean Reversion Strategy

Money Printer Go BRRRRRR

by sourdiesel1202
1 stars

A separate-pane indicator that sums scored readings from an imported helper library covering a moving average, ADX, DMI, MACD and on-balance volume into one combined value. That value is plotted as a blue line against reference levels at zero, 100 and minus 10

Indicator v5 Oscillators & momentumTrend
Updated 3 years ago · None stated GitHub repository of Money Printer Go BRRRRRR

Trend Meter

by jubayernil
1 stars

Trend Meter is a multi-indicator visual tool designed to confirm market directional bias across multiple technical filters in a separate pane. It tracks three customizable Trend Meters based on MACD crossovers or RSI threshold levels, alongside two Trend Bars

Indicator v4 TrendOscillators & momentum Repaints
Updated 3 years ago · None stated GitHub repository of Trend Meter

RSI-Correlation

by nvFede
1 stars

A minimal Pine v4 indicator in a separate pane. It calculates a 14-period RSI and the correlation between the RSI and price over the same length, scaled to a percentage. It then plots the RSI multiplied by that correlation as a white line, alongside the plain

Indicator v4 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of RSI-Correlation

Trading Latino

by micayael
1 stars

A separate-pane indicator, short title LVA, that pairs a squeeze momentum histogram with an ADX-style line. Cross markers on the zero line show whether Bollinger Bands are inside Keltner Channels. It adds an optional higher-timeframe status monitor with an adj

Indicator v4 Oscillators & momentumVolatility & bands
Updated 4 years ago · None stated GitHub repository of Trading Latino
1 stars

An indicator on the price chart that shades the background green when a possible dip bottom forms. It looks for RSI turning up from a local low while the earlier RSI reading sits below a buy threshold, combined with MACD either flattening its decline or turnin

Indicator v4 Oscillators & momentumMean reversion
Updated 4 years ago · None stated GitHub repository of Binance Buy The Dip

This indicator calculates momentum setups based on the Relative Strength Index (RSI) and plots in a separate pane. It offers multiple scanning modes such as Continuous Break, Continuous Retracement, Flip Break, Flip Retracement, and both regular and hidden div

Indicator v6 Oscillators & momentumDivergence Repaints
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - RSI Directional Momentum Indicator

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