Indicator · Pine Script v6 · On the chart

Adaptive Momentum Classifier

by vedkanani123

A momentum consensus indicator drawn on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code525
Settings30inputs
LicenceNone stated
Last update2 months ago23 Aug 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Adaptive Momentum Classifier scores RSI, rate of change, MACD, Bollinger position, MFI and smoothed OBV against a percentile lookback and issues buy and sell signals when the consensus passes a threshold, 0.618 by default. Optional filters cover volatility regime, trend alignment with an EMA, volume confirmation, score acceleration and a higher-timeframe bias. It shows a trend band, optional bar coloring, a dashboard and presets for scalping to conservative use.

Details

Published by

vedkanani123 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum, Trend

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Sensitivity PresetstringDefaultsensitivityInput
Price SourcesourceclosesourceInput
Scoring Lookbackint89lookbackInput
Signal Thresholdfloat0.618thresholdInput
RSI Lengthint13rsiLenInput
ROC Lengthint9rocLenInput
MACD Fastint12macdFastInput
MACD Slowint26macdSlowInput
MACD Signalint9macdSigInput
Bollinger Lengthint21bbLenInput
MFI Lengthint13mfiLenInput
OBV Smoothint21obvSmoothInput
Show all 30 settings
SettingTypeDefaultVariable
Volatility Regime FilterbooltrueuseVolRegimeInput
Trend Alignment FilterbooltrueuseTrendFilterInput
Trend EMA Lengthint34trendEmaLenInput
Volume ConfirmationbooltrueuseVolFilterInput
Min Score Accelerationfloat0.02minAccelInput
Higher TF BiastimeframehtfInput
ThemestringAutothemeInput
Show Buy/Sell SignalsbooltrueshowSignalsInput
Show Trend BandbooltrueshowTrendBandInput
Show Background TintboolfalseshowBgInput
Dynamic Bar ColoringboolfalseshowBarColorInput
Show WatermarkbooltrueshowWatermarkInput
Show DashboardbooltrueshowDashInput
Dashboard PositionstringTop RightdashPosStr
Webhook JSON FormatboolfalsewebhookInput
Bullcolor#00E676bullColorInput
Bearcolor#FF5252bearColorInput
Neutralcolor#FFEB3BneutralColorInput
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

948 stars

The Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma

Indicator v4 Moving averagesOscillators & momentum
Updated 11 days ago · GPL-3.0 GitHub repository of Adaptive RSI Moving Average

The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup
257 stars

This indicator uses a Lorentzian distance k-nearest neighbors classification algorithm to predict market direction based on up to five technical features, such as RSI, WaveTrend, CCI, and ADX. It compares current feature values against historical bar patterns

Indicator v5 AI / machine learningOscillators & momentum
Updated 6 weeks ago · None stated GitHub repository of Donald - Machine Learning Options
218 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

Daily Trend Filter

by agutinbaigo28
147 stars

Calculates market regime conditions by combining RSI, MACD, and ADX/DMI indicators. It evaluates whether the market is in a strong bullish, strong bearish, neutral, or non-trending regime. The script plots a colored line overlaying the close price to reflect t

Indicator v5 TrendOscillators & momentum
Updated 6 weeks ago · MIT GitHub repository of Daily Trend Filter

AAPP

by capissimo
114 stars

This indicator plots an adaptive moving average or scaled RSI divergence line directly on the price chart. It calculates dual RSI series to measure momentum divergence, scales the values to the chart's price range, and constructs an adaptive average filtered b

Indicator v4 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of AAPP

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers