GntRsiDvCator
- Indicators
- Version: 1.0
Genaro RSI is a technical indicator for MetaTrader 5 that identifies divergences between price and RSI, automatically changing the oscillator line color to facilitate chart reading in real time.
When a bullish divergence is detected (price makes a lower low, RSI makes a higher low), the RSI line turns green. When a bearish divergence is detected (price makes a higher high, RSI makes a lower high), the line turns pink. Under normal conditions, the line remains blue.
The indicator performs a full history scan on initialization, identifying all divergences since the beginning of the chart, and continues monitoring new divergences on each new bar.
Divergences are marked with lines connecting the corresponding pivots, and arrows indicate the exact signal point. An information panel displays the current RSI status (BULL, BEAR, OVERBOUGHT, OVERSOLD, BULL DIVERGENCE, BEAR DIVERGENCE) with dynamic colors. Sound alerts, popup and push notifications can be enabled both for divergences and for crossings of the 70/30 levels.
The indicator works on any asset and timeframe available in MetaTrader 5.
How to use
Attach Genaro RSI to the chart of the desired asset. The RSI line will automatically change color according to detected divergences. Green lines connect lows (bullish divergence, buy signal). Pink lines connect highs (bearish divergence, sell signal). Yellow arrows mark the signal point of the most recent divergence. The panel in the upper left corner displays the current status. Press the R key on the chart to clear all markings and force a new history scan.
Input parameters
RSI Period: number of bars for RSI calculation (default 14).
Applied Price: price used in calculation (default Close).
Overbought: overbought level (default 70).
Oversold: oversold level (default 30).
Midline: middle line (default 50).
RSI Normal Color: line color without divergence (default aqua blue).
RSI Div Bull Color: line color on bullish divergence (default neon green).
RSI Div Bear Color: line color on bearish divergence (default neon pink).
Overbought Color: overbought level color.
Oversold Color: oversold level color.
Midline Color: middle line color.
Show Divergences: enables or disables divergence detection.
Div Lookback: side bars to validate swing high/low (default 5).
Div Min Diff: minimum RSI difference between swings (default 2.0).
Div Max Bars: maximum distance in bars between swings (default 50).
Draw Div Lines: draws lines connecting pivots (default true).
Alert on Divergence: sound alert when detecting divergence (default true).
Push on Divergence: push notification when detecting divergence (default false).
Alert on Cross: alert when crossing 70/30 levels (default false).
Show Info Panel: displays information panel on chart (default true).
Font Size: panel font size (default 9).
Customizing colors and parameters
Colors: access the Colors tab in indicator properties or the inputs RSI Normal Color, RSI Div Bull Color and RSI Div Bear Color. It is recommended to keep the green for bull and pink for bear standard. For a white background, use dark colors such as navy blue, dark green and wine.
Divergence sensitivity: the Div Lookback parameter defines how many side bars validate a swing high or low. Low values (2 to 3) generate more signals, ideal for scalping and lower timeframes. High values (5 to 10) generate fewer and more reliable signals, ideal for swing trade and higher timeframes.
Noise filter: the Div Min Diff parameter defines the minimum RSI difference between two swings. Low values (0.5 to 1.5) capture subtle divergences. High values (3.0 to 5.0) filter weak divergences.
Detection range: the Div Max Bars parameter defines the maximum distance in bars between the two swings. Low values (20 to 30) capture recent divergences. High values (50 to 100) capture older divergences.
RSI Period: default 14 is the most used. Lower periods (7 to 9) react faster. Higher periods (21 to 28) are smoother.
Alerts: enable Alert on Divergence for sound alerts and popup. Enable Push on Divergence for mobile notifications. Enable Alert on Cross for alerts when crossing the 70 or 30 levels.
Panel: enable Show Info Panel to view the current RSI status in the upper left corner of the chart. Adjust Font Size as preferred.
Usage tips
Divergences are possible reversal signals and should not be used in isolation. Confirm with price action, support and resistance, candlestick patterns or other indicators.
In strong trends, divergences may appear multiple times without immediate reversal. Use risk management and stops.
Combine Genaro RSI with moving averages, Bollinger Bands or Fibonacci to increase accuracy.
Test different parameter combinations in the Strategy Tester before trading on a real account.
Compatibility
Genaro RSI works on any asset available in MetaTrader 5: forex, indices, stocks, cryptocurrencies, commodities and futures. It works on all timeframes, from M1 to MN. It works on demo and real accounts, from any broker.
Support
For questions, suggestions or problems, contact us through the Comments tab of the product on MQL5 Market. Our team responds within 24 business hours.
About the Genaro Trade team
The Genaro Trade Team develops indicators and tools for traders seeking clarity, precision and visual identity in their charts. Our products are created with focus on usability, performance and integration with the MetaTrader 5 platform. Genaro RSI is part of a product line that combines technology, neon design and professional functionality.

