Pine Library · 3,035 open-source scripts

Free Oscillator and Momentum Pine Scripts (page 17)

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

6 stars

This strategy combines higher-timeframe market bias filtering with an oscillator and ADX trend detection to generate trading signals. It calculates market bias using Heikin-Ashi values across custom timeframes and filters entries using dynamic or static ADX th

Strategy v6 TrendOscillators & momentum
Updated 7 months ago · None stated GitHub repository of EURUSD Synergy + PropEA Hedge
6 stars

This strategy identifies high-volatility expansion bars by comparing the high-low range to a moving average plus standard deviation threshold. When range expansion occurs, it checks momentum over a specified lookback period. It opens a long position if the cur

Strategy v5 Volatility & bandsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of TradersPost High-Low Range Strategy
5 stars

Xsodus RSI Strategy is a long-only trading script that generates entry signals when the Relative Strength Index (RSI) crosses above a configurable oversold threshold. Traders can enable an optional trend filter requiring price to remain above an Exponential Mo

Strategy v5 Oscillators & momentumMoving averages
Updated 2 weeks ago · MIT GitHub repository of Xsodus RSI Strategy

Xiaotang System V5.0

by TUSKIJAY
4 stars

Xiaotang System V5.0 is a price-chart overlay indicator that identifies momentum breakouts across moving averages and session VWAP. It computes Heikin-Ashi price data, 50-period and 200-period SMAs, and intraday VWAP while monitoring 5-minute higher-timeframe

Indicator v5 TrendOscillators & momentum Repaints
Updated 3 days ago · None stated GitHub repository of Xiaotang System V5.0
4 stars

Momentum Rotation (Top 3) ranks ten large-cap US tech stocks by their six-month returns using daily closes. It rebalances monthly and holds the top three performing stocks long only on the price chart. A ranking table shows the current order. Main settings adj

Strategy v6 Oscillators & momentumTrend
Updated 5 months ago · None stated GitHub repository of Momentum Rotation (Top 3)

RSI Mean Reversion

by LePotoRico2105
4 stars

This strategy executes mean-reversion trades when the Relative Strength Index rebounds from overbought or oversold zones in the direction of a higher-period trend EMA. It calculates indicators using confirmed bar closes to prevent live-bar recalculation. Entri

Strategy v5 Mean reversionOscillators & momentum
Updated 7 months ago · MIT GitHub repository of RSI Mean Reversion

Parabolic RSI

by YooooungLee
4 stars

This indicator calculates the RSI oscillator using a user-defined length. It then applies a custom Parabolic SAR function to the RSI values to generate dynamic trend levels that function as support and resistance zones. The SAR levels are plotted in a separate

Indicator v6 Oscillators & momentumSupport & resistance
Updated 10 months ago · Apache-2.0 GitHub repository of Parabolic RSI

Improvisando [Alorse]

by Hugs-4-Bugs
4 stars

This strategy combines candlestick price action with Exponential Moving Average, RSI, and MACD filters to identify short-term trend trades. A long signal occurs when a bullish candle engulfs the previous open while price remains above the EMA, RSI stays below

Strategy v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Improvisando [Alorse]

This indicator scores price from a basket of moving averages and oscillators and plots the result as pump waves in a separate pane. Users can base the rating on moving averages, oscillators, or both, and toggle the total, moving-average, and oscillator waves p

Indicator v4 Oscillators & momentumMoving averages
Updated 3 years ago · None stated GitHub repository of Technical Ratings Pro - Pump Wave
4 stars

Divergences (Brahim) identifies regular and hidden divergences between price pivots and up to ten technical indicators, including RSI, MACD, Stochastic, CCI, and OBV, along with an optional external source. Plotted directly on the price chart, it renders conne

Indicator v4 DivergenceOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Divergences (Brahim)

Combined Liquidity, Channels, RSI, and VWAP is an overlay indicator that plots multiple technical analysis metrics directly on the price chart. It calculates Keltner and Donchian Channels, volume-based metrics like cumulative volume delta (CVD), VWAP with stan

Indicator v5 Volatility & bandsOscillators & momentum Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Combined Liquidity, Channels, RSI, and VWAP

Scalp Agiota - By H7

by leocairos
3 stars

The Scalp Agiota strategy calculates RSI and MFI values to identify overbought and oversold conditions for cryptocurrency scalping trades. It plots upward triangles on the price chart below the bar when RSI drops to 20 or lower and MFI to 10 or lower, signalin

Strategy v5 Oscillators & momentumScalping Repaints
Updated 2 years ago · MIT GitHub repository of Scalp Agiota - By H7

Currency Strength Chart

by itmakesyousick
3 stars

Currency Strength Chart measures and compares relative strength across major fiat currencies and optional commodities. It aggregates price data for major Forex pairs from selected brokers and plots smoothed strength lines for each currency in a separate chart

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 4 years ago · None stated GitHub repository of Currency Strength Chart

RSI Bounce

by blackcat1402
3 stars

RSI Bounce calculates custom Relative Strength Index levels scaled back onto price, creating nine price-equivalent RSI band series centered around a median RSI baseline. It combines short-term RSI extreme checks with customized MACD signal line crossovers to i

Indicator v4 Oscillators & momentumMoving averages
Updated 5 years ago · MIT GitHub repository of RSI Bounce

This strategy identifies trend pullback entries using MACD signal line crossovers plotted in a separate indicator pane. Long trades enter on bullish MACD crossovers below the zero line when price is above a trend EMA and ADX exceeds a minimum threshold, with r

Strategy v6 TrendOscillators & momentum
Updated 2 weeks ago · MIT GitHub repository of MACD Pullback Sniper | Trend + ADX Filtered Strategy

Market Cipher B

by TamTH-Dev
2 stars

Market Cipher B is a multi-oscillator indicator that draws in a separate pane. It plots a Wave Trend line from a channel period, an average period, a moving-average source, and a moving-average length, with optional divergence markers at long and short bullish

Indicator v6 Oscillators & momentumDivergence
Updated 6 weeks ago · None stated GitHub repository of Market Cipher B
2 stars

This indicator plots demand and supply zones computed from volume profile with 30-56 bins, fair value gaps on 4H, and equal highs/lows. It draws a magic line using ATR(14) x 1.618 golden ratio anchored to the 00:00 UTC close. Signals identify liquidity vacuum

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Ghost Zone v9 — GTI Signals v18a

Alpy Vix

by avatar-lavventura
2 stars

This strategy plots a Williams Vix Fix, a WaveTrend oscillator, and a short rolling volume-weighted price filter in a separate pane. It measures how far the low sits below the highest close, then draws a moving average, standard-deviation bands, and a percenti

Strategy v5 Oscillators & momentumVolatility & bands Repaints
Updated 7 months ago · None stated GitHub repository of Alpy Vix

Bernoulli

by regalouisei
2 stars

This indicator plots a binary entropy series from a Bernoulli process applied to percent-ranked measurements in a separate pane. Measurement modes include raw value, moving average, change, momentum, acceleration, contribution, percent change, volatility, and

Indicator v6 Oscillators & momentumVolume
Updated 8 months ago · None stated GitHub repository of Bernoulli

MA Oscillator Map

by mushroom-men-Trading
2 stars

MA Oscillator Map calculates momentum and trend oscillations relative to configurable moving average baselines. It supports multiple moving average types, including SMA, EMA, HMA, VWMA, SMMA, WMA, and Adaptive Least Squares Moving Average (ALSMA). Operating in

Indicator v6 Moving averagesOscillators & momentum
Updated 9 months ago · None stated GitHub repository of MA Oscillator Map
2 stars

This indicator combines Qualitative Quantitative Estimation (QQE), the AK Trend Line, and Elder's Force Index (EFI) into a single separate pane tool. It calculates QQE using smoothed RSI and Wilder's ATR, computes AK Trend values with dynamic scale factors mat

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

BBW

by wynnforthework
2 stars

This strategy combines Bollinger Band Width volatility ratio calculations with a Coppock Curve momentum indicator. It calculates the ratio of standard deviation to EMA over a user-defined length, along with an EMA of that ratio. Long positions are entered when

Strategy v5 Volatility & bandsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of BBW

Trend Score History

by ryangaraygay
2 stars

Trend Score History calculates a composite trend metric ranging between -5 and +5 by evaluating session VWAP, EMA alignment, price-volume flow, lower-timeframe Donchian channel breakouts, and Opening Range breakouts. It plots the cumulative score as histogram

Indicator v6 TrendOscillators & momentum Repaints
Updated 1 year ago · MIT GitHub repository of Trend Score History

Stochastic RSI

by CjHare
2 stars

This indicator calculates a stochastic oscillator from the relative strength index of closing prices and plots the result in a separate pane. It draws the unsmoothed Stochastic RSI together with simple-moving-average %K and %D lines, plus dotted horizontal lev

Indicator v5 Oscillators & momentum
Updated 2 years ago · Apache-2.0 GitHub repository of Stochastic RSI
2 stars

This indicator displays market trend filter information and momentum metrics in a separate pane based on the Weekend Trend Trader strategy. It evaluates a benchmark index, such as the NASDAQ 100, comparing its close price to a simple moving average to render a

Indicator v5 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Weekend Trend Trader Ribbon

SassizStocEMA-Lazy Bear

by sassiz-root
2 stars

SassizStocEMA-Lazy Bear is a Pine Script strategy that plots on the price chart and combines a stochastic oscillator with near and far exponential moving averages. It is aimed at crypto markets. Long and short directions can be enabled separately, and crosses

Strategy v5 Oscillators & momentumMoving averages
Updated 3 years ago · MIT GitHub repository of SassizStocEMA-Lazy Bear
2 stars

MC Strategy - Defensive executes long trades using a WaveTrend oscillator combined with a volume-weighted money flow calculation. It enters long positions when the WaveTrend lines cross upward under low money flow conditions or when price sufficiently diverges

Strategy v4 Oscillators & momentumVolume
Updated 5 years ago · None stated GitHub repository of MC Strategy - Defensive

RSI powerzone

by kat3samsin
2 stars

The RSI powerzone strategy plots the 4-period RSI in a separate pane along with horizontal levels at 30 and 55. It identifies an uptrend using a series of simple moving averages on the close price. The strategy enters long positions when the uptrend condition

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

This indicator calculates and plots the standard Commodity Channel Index (CCI) in a separate pane alongside upper, middle, and lower threshold reference levels. It includes an optional smoothing moving average with selectable types including SMA, EMA, SMMA, WM

Indicator v6 Oscillators & momentum
Updated 2 days ago · Custom licence GitHub repository of Commodity Channel Index
1 stars

A long-or-cash strategy using the same entry rule as a plain trend filter: the close must be above a 100-bar simple moving average and above the close 20 bars earlier. Position size scales with momentum strength, from a minimum fraction of equity to a maximum

Strategy v6 TrendOscillators & momentum

Division Candle Overlay

by ElroyvOuwerkerk
1 stars

A bar-colouring indicator that splits each candle's high-to-low range into a chosen number of divisions, from 2 to 10. A bar is coloured green when its close is in the top division and red when it is in the bottom division; bars matching neither, or both, stay

Indicator v6 Candlestick patternsOscillators & momentum
Updated 8 days ago · None stated GitHub repository of Division Candle Overlay
1 stars

A price-chart indicator that shows two tables. A focus panel runs a trend-flip and oscillator engine on one chosen futures contract across five timeframes and reports an alignment score. A board runs the same engine across a list of futures markets on one scan

Indicator v6 Screeners & dashboardsTrend
Updated 8 days ago · Custom licence GitHub repository of Phantom Flow Futures Screener

A Pine v6 strategy for crypto charts that evaluates RSI, a trend moving average with higher timeframe filter, Fibonacci Bollinger Bands and Ichimoku in a fixed order. Each indicator can be switched on for visuals, for backtesting or both, and entry and exit si

Strategy v6 Oscillators & momentumTrend
Updated 12 days ago · MIT GitHub repository of Crypto TA Pro Phase 1 Weighted Indicators

MACD Signal Turn

by quantxaashish
1 stars

MACD Signal Turn calculates standard Moving Average Convergence Divergence (MACD) and signal lines using exponential moving averages. It identifies bullish crossovers that occur while the MACD line is below zero and bearish crossunders that take place while th

Indicator v5 Oscillators & momentumMoving averages
Updated 2 weeks ago · MIT GitHub repository of MACD Signal Turn
1 stars

Plots long and short signals on the price chart from a smoothed Hull moving average of price change, firing when momentum crosses its value two bars earlier. Each signal projects five target levels spaced by an average candle range, and a simulated position us

Indicator v6 Oscillators & momentumTrend Repaints
Updated 2 weeks ago · None stated GitHub repository of Momentum Shift Positions

A gold-oriented overlay that combines 21, 50 and 200 EMAs, an RSI filter, MACD confirmation and stochastic RSI to draw buy and sell arrows on the price chart. Stop loss and two take-profit lines are placed from ATR multiples, and daily pivot levels can be show

Indicator v5 TrendOscillators & momentum
Updated 3 weeks ago · None stated GitHub repository of neXQan XAUUSD Gold Indicator Lines

A multi-asset strategy that scores market sentiment from money flow, stochastic RSI and the price position within a lookback, then compares the score with long and short thresholds that can adapt to volatility. Optional filters add confirmation from three high

Strategy v5 Oscillators & momentumVolatility & bands
Updated 5 weeks ago · None stated GitHub repository of Universal Futures Strategy - Multi-Asset Optimized

Kernal Cipher 3

by kdricha0602
1 stars

Kernal Cipher 3 is a momentum trading strategy that plots signal diamonds on the price chart for breakout, reversal and continuation setups. It calculates EMAs of varying lengths to detect trend regime and slope, ADX for strength confirmation, WaveTrend oscill

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

MTF Confluence Engine

by mrme000m
1 stars

MTF Confluence Engine is a separate-pane indicator that evaluates trend, momentum, and volatility metrics across the current chart timeframe and two configurable higher timeframes. It combines EMA alignment, SuperTrend direction, RSI values, Bollinger and Kelt

Indicator v5 TrendOscillators & momentum Repaints
Updated 7 weeks ago · None stated GitHub repository of MTF Confluence Engine
1 stars

An overlay that signals long and short setups when a Money Flow Index crosses adaptive levels found by k-means clustering and an Andean oscillator crosses its smoothed signal within a short confirmation window. A 200-period EMA trend filter and an ATR percenta

Indicator v5 Oscillators & momentumAI / machine learning
Updated 7 weeks ago · None stated GitHub repository of AI MFI + Andean Floating

Options Momentum SIGIL

by dwightspitz
1 stars

A strategy that builds two TRAMA adaptive averages, each compared with a delayed copy of itself to form a cloud on the price chart. Each can use its own timeframe, with 15-second data as the default, which needs a plan that supports seconds charts. An optional

Strategy v6 Oscillators & momentumTrend
Updated 2 months ago · MIT GitHub repository of Options Momentum SIGIL

Directional EMA For Loop

by vedkanani123
1 stars

A separate-pane oscillator that smooths price with a selectable moving average, then scores its direction by looping over a range of lookbacks from a start to an end value. The score is compared with long and short thresholds to mark uptrend and downtrend stat

Indicator v6 Oscillators & momentumDivergence
Updated 2 months ago · None stated GitHub repository of Directional EMA For Loop
1 stars

This Pine Script v6 strategy generates multi-layered trading signals plotted directly on the price chart. It combines eight modular signal engines: EMA crossover pullbacks, price action breakouts, RSI momentum and divergence, MACD histogram flips, volume surge

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Advanced Swing Strategy v6

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