Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 47)

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

Ease of Movement

by TWODS-CAPITAL
37 stars

Ease of Movement is a technical oscillator that measures the relationship between price changes and volume. It calculates the distance moved by the price range midpoint relative to volume, smoothed by a Simple Moving Average. The indicator plots in a separate

Indicator v5 VolumeOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Ease of Movement
13 stars

This strategy uses the Noro Trend Ribbon to determine trend direction and open long or short positions. It defines a corridor from recent high and low prices and enters positions when price crosses the corridor boundaries, sized as a percentage of capital. Fas

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of R010 R Noro Trend Ribbon

DMI ADX Signals

by g-moe
3 stars

This indicator combines the Directional Movement Index (DMI) and the Stochastic oscillator to plot directional trade signals directly on the price chart. It offers two distinct signal logic modes: one based on DI line crossovers confirmed by Stochastic levels,

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of DMI ADX Signals

WaveTrend [LazyBear]

by avatar-lavventura
2 stars

The WaveTrend indicator calculates two oscillator lines, wt1 and wt2, using a channel length on hlc3 price and an average length. It plots wt1 in green and wt2 in red in a separate pane together with overbought and oversold horizontal levels and the histogram

Indicator v4 Oscillators & momentumMoving averages
Updated 7 months ago · None stated GitHub repository of WaveTrend [LazyBear]

DEPV2 DEBUG S28

by YuceSezar89
1 stars

DEPV2 DEBUG S28 is a Pine Script v6 indicator that draws in a separate pane. It watches up to twenty user-chosen symbols, defaulting to Binance perpetual crypto pairs, and combines four method classes: trend, momentum, volatility, and volume. Signal mode can u

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

VuManChu B Divergences

by GreyssonEnterprises
1 stars

This indicator plots a WaveTrend oscillator in a separate pane, modeled after Market Cipher B. It marks wave crossings with small circles, green buy dots when waves cross up at oversold levels, and red sell dots when they cross down at overbought levels. Gold

Indicator v4 Oscillators & momentumDivergence
Updated 3 months ago · MIT GitHub repository of VuManChu B Divergences

A Pine Script v5 indicator in a separate pane, the third revision of a Hurst spectral oscillator. The hl2 price is run through bandpass filters for cycles from 1 day to 18 years and the waves are plotted with an optional composite. Bandwidth and period are set

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V3

SlimGains

by tseitz
1 stars

A Pine v4 strategy with small percentage targets, using a 12/26 MACD, a 14-period RSI and a 15-bar high-low lookback. Inputs set separate take-profit and stop-loss percentages for longs and shorts, an RSI level to close longs, a MACD bar count, and switches fo

Strategy v4 Oscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of SlimGains
330 stars

The MACD + RSI Strategy [Alorse] combines moving average convergence divergence (MACD) crossovers with recent Relative Strength Index (RSI) extreme levels to generate long trading signals overlaid directly on the price chart. A long entry triggers when the MAC

Strategy v4 Oscillators & momentumMoving averages
Updated 2 months ago · None stated GitHub repository of MACD + RSI Strategy [Alorse]

RSI Divergence Template

by TradersPost
228 stars

This indicator plots the Relative Strength Index in a separate pane and marks regular and hidden bullish and bearish divergences. It compares confirmed price pivots with RSI pivots within a lookback window: regular divergence contrasts a price extreme with the

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of RSI Divergence Template
114 stars

Aggregate Signal (Improved) calculates a composite indicator by normalizing and averaging multiple technical metrics, including the Relative Strength Index, Commodity Channel Index, Center of Gravity, and a slope-based sigmoid transform. Each factor is normali

Indicator v4 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of Aggregate Signal (Improved)

ATR RSI Strategy v2

by hasnocool
106 stars

This strategy combines Average True Range (ATR) and the Relative Strength Index (RSI) to generate volatility-filtered momentum trades on the price chart. It checks whether a normalized ATR moving average falls within user-defined bounds and requires current AT

Strategy v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of ATR RSI Strategy v2

Coppock Curve

by mihakralj
99 stars

This indicator calculates the Coppock Curve as a weighted moving average of the sum of a long and a short rate of change of a chosen source. It plots that oscillator in a separate pane and draws a dotted zero line. Inputs set the source, the long ROC lookback,

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Coppock Curve

Elders Force Index

by TWODS-CAPITAL
37 stars

This indicator calculates the Elders Force Index as an exponential moving average of the close-to-close price change multiplied by volume. It plots that oscillator in a separate pane and draws a horizontal zero line. The only input is the EMA length, which def

Indicator v5 Oscillators & momentumVolume
Updated 3 years ago · MIT GitHub repository of Elders Force Index

RSIScreener A003

by ruckard
13 stars

RSIScreener A003 is an indicator that plots RSI oscillator values on the price chart for multiple monitored symbols. It calculates RSI with user-defined length and source, along with customizable overbought and oversold levels. The script can enforce a higher

Indicator v5 Oscillators & momentumSupport & resistance
Updated 1 year ago · None stated GitHub repository of RSIScreener A003
9 stars

MFI Advanced is a separate pane volume-and-momentum oscillator that enhances the traditional Money Flow Index with pluggable smoothing options such as JMA, KAMA, and SuperSmoother. It plots a smoothed fast MFI line, a signal line, a slow trend context line, an

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

This indicator plots entry signals directly on the price chart by combining Directional Movement Index (DMI) and Moving Average Convergence Divergence (MACD) indicators. It offers two distinct signal logic modes that trigger when DMI and MACD confirm each othe

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of DMI ADX Signals with MACD Signals

VitAlgo

by IAMATOMIC001
3 stars

VitAlgo is an overlay technical indicator suite that provides signal generation and visual trend tracking tools directly on the main price chart. It integrates multiple analysis modules, including customizable Sensitivity-based signal modes, Smart Trail, Rever

Indicator v5 TrendOscillators & momentum
Updated 12 months ago · None stated GitHub repository of VitAlgo

WaveTrend [LazyBear]

by avatar-lavventura
2 stars

This indicator calculates LazyBear's WaveTrend oscillator to identify overbought and oversold market conditions. It computes an exponential moving average channel on typical price (HLC3) to generate the primary oscillator line and a 4-period simple moving aver

Indicator v4 Oscillators & momentum
Updated 7 months ago · None stated GitHub repository of WaveTrend [LazyBear]

Multi Indicator Score

by pineforge-4pass
1 stars

A strategy that builds a score from minus three to plus three using RSI against 50, price against an EMA, and price against the Bollinger mid line. It enters long when the score reaches two or more and short when it reaches minus two or lower. Positions close

Strategy v6 Oscillators & momentumTrend
Updated 7 days ago · Apache-2.0 GitHub repository of Multi Indicator Score

DEPV2 Debug S3

by YuceSezar89
1 stars

Calculates and visualizes multi-symbol signals across four distinct metric categories: trend, momentum, volatility, and volume. It tracks up to 20 cryptocurrency pairs simultaneously, supporting signal combination modes like single-method execution, simultaneo

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 Debug S3
1 stars

Draws a moving price level that bounces between the highest high and lowest low of a rolling window, 50 bars by default, with the range midline and a mirrored close line on the price chart. Buy and sell labels appear when price crosses the mirrored line or the

Indicator v5 Mean reversionOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Auto Mirror Reversal Signals

A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst spectral oscillator. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and plots the cycle waves, with an optional composite line. Each cycle has its o

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V4

Price Volume Trend

by everget
947 stars

This indicator plots Price Volume Trend in a separate pane and compares it with an optional smoothed signal. The signal is an SMA or EMA of the PVT series, with a default length of 21 and a selectable price source. When filling is on, the ribbon between the tw

Indicator v4 VolumeOscillators & momentum
Updated 12 days ago · GPL-3.0 GitHub repository of Price Volume Trend
257 stars

This overlay indicator looks for regular price divergences against a set of oscillators, using pivot highs and lows. It compares those pivots with RSI, MACD and its histogram, stochastic, CCI, momentum, OBV, a directional oscillator, volume-weighted MACD, Chai

Indicator v5 DivergenceOscillators & momentum Repaints
Updated 7 weeks ago · None stated GitHub repository of Snag - Best Futures V3
114 stars

This indicator computes a composite oscillator by min-max normalizing and averaging several technical factors, including the Relative Strength Index, Commodity Channel Index, Center of Gravity, and a sigmoid-transformed price slope. It also evaluates the compo

Indicator v4 Oscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal (Improved)
99 stars

Calculates the Pearson correlation coefficient between price data and a linear time index over a customizable lookback period. It measures linear trend strength and direction, outputting values bounded between -1.0 and +1.0. The script uses an optimized increm

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Correlation Trend Indicator (CTI)

Inertia

by mihakralj
47 stars

The Inertia oscillator measures trend deviation by calculating the distance between the current price and a linear regression line endpoint. It computes a linear regression fit across the specified lookback period and subtracts the projected line value from th

Indicator v6 Oscillators & momentumTrend
Updated 8 months ago · MIT GitHub repository of Inertia

This strategy trades long and short on the price chart using a multi-timeframe TradingLatino setup. It requires EMA 10 to cross or sit above or below EMA 55 on the one-hour, four-hour, and daily charts, together with a positive ADX slope, a directional monitor

Strategy v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ruckard ABCBitcoin TradingLatino A010

DTEK Candles

by g-moe
3 stars

This indicator calculates dual trend filters by combining a custom SuperTrend with a Commodity Channel Index ATR trailing stop. The SuperTrend component utilizes customizable moving average types, including Hull, Exponential, and Simple Moving Averages. When p

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of DTEK Candles

Wave Trend Overbought Oversold

by wynnforthework
2 stars

This indicator plots the WaveTrend Oscillator in a separate pane. It computes an EMA of normalized price deviations from the median price divided by standard deviation, then applies an SMA to generate the oscillator line. Signals trigger on overbought conditio

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of Wave Trend Overbought Oversold

DEPV2 DEBUG S30

by YuceSezar89
1 stars

This indicator monitors and analyzes up to twenty cryptocurrency perpetual futures pairs from a separate pane. It evaluates market conditions across four distinct analytical dimensions: trend, momentum, volatility, and volume. The script tests signal confirmat

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S30

This indicator detects higher-timeframe order blocks and fractals to generate scored reversal signals directly on the price chart. It evaluates candidate setups using a multi-factor scoring system incorporating RSI momentum, trend EMAs, midpoint distance, and

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

A Pine Script v5 indicator in a separate pane, the fifth revision of a Hurst spectral oscillator. The hl2 price passes through bandpass filters for cycles from 1 day to 18 years, and the resulting waves are drawn with an optional composite line. Bandwidth and

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V5
1 stars

Plots the Rank Correlation Index of a chosen source over a set length, 10 by default, in a separate pane with bands at plus and minus 80 and a middle line. An optional smoothing line can be added using SMA, EMA, SMMA, WMA or VWMA, or SMA with Bollinger Bands w

Indicator v6 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of Rank Correlation Index
257 stars

An overlay indicator that combines an ATR-based SuperTrend trailing stop with an integrated RSI-derived midline calculation on the price chart. The SuperTrend uses an ATR period and factor multiplier to plot dynamic green or red trend lines based on price dire

Indicator v5 TrendVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of SuperTrend ATR + RSI

Aggregate Signal (v.2)

by capissimo
114 stars

Aggregate Signal (v.2) is an oscillator indicator that combines multiple technical factors into a single composite score. It scales OHLCV data using minimax normalization and evaluates indicators such as MACD, RSI, Stochastic, CCI, Momentum, On-Balance Volume,

Indicator v4 Oscillators & momentumMoving averages Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal (v.2)

Money Flow Index (MFI)

by mushroom-men-Trading
2 stars

This indicator calculates and plots the Money Flow Index (MFI) in a separate pane. It measures buying and selling pressure by weighting typical price movements with trading volume over a user-defined lookback window. The implementation uses circular buffers to

Indicator v6 Oscillators & momentumVolume
Updated 9 months ago · None stated GitHub repository of Money Flow Index (MFI)

P_fmt_tabs_mixed

by GammaExpansion
1 stars

P_fmt_tabs_mixed is an indicator that tracks net candle direction by maintaining a running cumulative counter. It increments the counter by one on bullish bars where the closing price exceeds the opening price, and decrements it by one on bearish bars where th

Indicator v6 Candlestick patternsOscillators & momentum
Updated 7 days ago · MIT GitHub repository of P_fmt_tabs_mixed

DEPV2 DEBUG S32

by YuceSezar89
1 stars

DEPV2 is a multi-symbol cryptocurrency indicator that processes 20 major crypto pairs including BTC, ETH, SOL, BNB and others. It evaluates four signal classes consisting of trend, momentum, volatility and volume. Signals are generated according to user-select

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S32
1 stars

Plots a dynamic level at the midpoint of the 50-bar high-low range and prints BUY or SELL markers on the price chart. It compares the recent summed distance between price and that level with earlier windows stepped back through history, and counts how often pr

Indicator v5 Mean reversionOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Auto Symmetric Reversal and Area

A Pine Script v5 indicator in a separate pane, the sixth revision of a Hurst spectral oscillator. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and plots the waves along with an optional composite line. Every cycle has its ow

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V6

RCI Ribbon

by ivansoft
1 stars

Plots three Rank Correlation Index lines of different lengths, 10, 30 and 50 bars by default, in one separate pane, coloured blue, red and green. Horizontal levels at zero and plus and minus 80 frame the range with a shaded area between the outer levels. Sourc

Indicator v6 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of RCI Ribbon
330 stars

This strategy calculates the Qualitative Quantitative Estimation (QQE) indicator by applying exponential moving averages to a relative strength index and its ATR range. It identifies shifts between bullish and bearish momentum to generate trading signals on th

Strategy v4 Oscillators & momentumTrend
Updated 2 months ago · None stated GitHub repository of QQE Signals [Alorse]

Bubbles Indicator

by capissimo
114 stars

The Bubbles Indicator measures volatility squeezes and expansion bursts using Bollinger Bands combined with a sinusoid oscillator and RSI divergence. It processes price data through scaled Bollinger Bands to highlight volatility changes while confirming trend

Indicator v4 Volatility & bandsOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Bubbles 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