OPEN-SOURCE SCRIPT
已更新

MFI Divergence

69
This indicator automatically detects bullish and bearish divergences between price and the Money Flow Index (MFI).
It’s designed for traders who use momentum divergence to anticipate potential trend reversals or continuation traps, and has been optimized to avoid false positives while still catching subtle setups on lower timeframes like 15m.


How It Works

Calculates the Money Flow Index (MFI) using price and volume.

Identifies swing highs and lows on the MFI using adaptive pivot logic.

Compares MFI pivots against corresponding price highs/lows:

Bullish Divergence: Price makes a lower low while MFI makes a higher low.

Bearish Divergence: Price makes a higher high while MFI makes a lower high.

Displays divergences as green (bullish) or red (bearish) lines on the MFI chart.
版本注释
add center line

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。