Indicator · Pine Script v5 · Own pane

AI Adaptive Money Flow Index

by munlit

A separate-pane indicator that computes the Money Flow Index and adapts its overbought, neutral and oversold levels using a clustering routine trained on recent data.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code83
Settings5inputs
LicenceNone stated
Last update1 year ago9 Mar 2025

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

Inputs set the MFI length, the number of training bars and the iterations per bar. An adjusted option rescales the oscillator so the levels stay fixed. Labels are in Spanish and the file depends on shared colour and source variables from the wider repository.

Details

Published by

munlit on GitHub

Type

Indicator, Pine Script v5

Draws

Separate pane below the chart

Category

Oscillators & momentum, Volume, AI / machine learning

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
Mostrar Ai Adaptative MFIbooltrueshowadapMonGroup
Usar MFI ajustadobooltrueadapMonVarADJ
Longitud MFIint14adapMonVarLENGTH
Nº de datos de entrenamientoint300adapMonVarDataLength
Nº de iteraciones por barraint5adapMonVarIterations
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

114 stars

Volume Weighted Distance applies statistical and machine learning distance metrics between source prices and their rolling mean, weighted by volume, to identify local trend reversals. Users can select from Manhattan, Euclidean, Mahalanobis, Cosine Similarity,

Indicator v4 Oscillators & momentumVolume Repaints
Updated 1 year ago · None stated GitHub repository of Volume Weighted Distance

This indicator uses a two-dimensional k-nearest-neighbours model on scaled oscillator values to classify the current bar as buy, sell, or hold from similar historical states. Users select RSI, ROC, CCI, momentum, or all of them, and set the neighbour count, fa

Indicator v4 AI / machine learningOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Machine Learning: kNN-based Strategy (update)

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

This indicator scores seven approaches on every bar: RSI, volume, VWAP, EMA trend, MACD, Bollinger Bands and a volume-delta module. Each score is weighted by a rolling record of that approach's recent agreement with price, and the weighted total must pass an a

Indicator v6 AI / machine learningOscillators & momentum
Updated 6 months ago · None stated GitHub repository of SignalForge v5 Volume Intelligence

Money Flow Index

by everget
948 stars

Calculates the standard Money Flow Index (MFI) oscillator alongside an exponential moving average signal line in a separate pane. The script visually highlights trend conditions through dynamic ribbon filling, optional difference histogram bars, and overbought

Indicator v4 Oscillators & momentumVolume
Updated 11 days ago · GPL-3.0 GitHub repository of Money Flow Index

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