OPEN-SOURCE SCRIPT

MFI + RSI + EMA Dynamic Signals

145
The MFI + RSI + EMA Dynamic Signals is a designed to combine with widened criteria to capture more trading opportunities, it balances momentum, trend, and flexibility, making it suitable for trading on timeframes like 15-minute to 4-hour charts.

How It Works
The indicator uses three technical components with relaxed criteria to produce signals:
  • Money Flow Index (MFI) for Momentum Extremes:
    The MFI, calculated over a 14-period length, measures buying and selling pressure using price and volume. A buy signal can trigger when MFI crosses above the oversold level (default: 30, widened from 20), indicating potential buying pressure, while a sell signal can occur when MFI crosses below the overbought level (default: 70, widened from 80), suggesting selling pressure.

  • Relative Strength Index (RSI) for Momentum Confirmation:
    The RSI, calculated over a 14-period length, confirms momentum strength. Bullish momentum is confirmed when RSI is above a buy threshold (default: 45, relaxed from 50), and bearish momentum when below a sell threshold (default: 55, relaxed from 50), allowing more signals near neutral momentum levels.

  • Exponential Moving Average (EMA) for Trend Sensitivity:
    The indicator uses a fast EMA (default: 9 periods) and a slow EMA (default: 21 periods) to detect trend direction and crossovers. Signals can trigger when the fast EMA crosses the slow EMA, or when the fast EMA is within a proximity threshold (default: 0.5%) of the slow EMA, capturing early trend changes and increasing signal frequency.


Signal Generation
  • Signals are generated using the previous bar’s values to prevent repainting, with widened criteria for more frequent triggers:
    Buy Signal: Either the MFI crosses above the oversold level or the fast EMA crosses above the slow EMA, and either RSI confirms bullish momentum (above 45) or the EMAs are near a crossover (within 0.5%). Displayed as a green upward triangle below the bar.

  • Sell Signal: Either the MFI crosses below the overbought level or the fast EMA crosses below the slow EMA, and either RSI confirms bearish momentum (below 55) or the EMAs are near a crossover (within 0.5%). Displayed as a red downward triangle above the bar.



Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.