RSI Turn Finder MT5
- Indicators
- Kestutis Balciunas
- Version: 1.0
RSI Turn Finder Indicator is a non-repainting momentum-turn detection system for MetaTrader 5. It watches for the precise moment a 14-period RSI crosses up through a configurable Positive threshold (default 65) confirmed by a rising 5-period close-EMA, latches the resulting trend bias, and renders the active state as a bicolor EMA(low, 10) trend line on the chart. A "Positive" or "Negative" label is printed at every state transition and a four-channel alert is fired in real time. Both MT4 and MT5 builds produce identical visual and logical output on the same data.
Check MT4 version at: RSI Turn Finder MT4
See more products at: All Products
Check MT4 version at: RSI Turn Finder MT4
See more products at: All Products
For live examples and new tools, visit my profile and send a Friend request so you don’t miss updates!
How It Works
RSI Cross + Momentum Confirmation
A Positive turn fires only when four conditions are simultaneously true on a closed bar:
- RSI on the previous bar is below the Positive Level
- RSI on the current bar is above the Positive Level (cross-up event)
- RSI on the current bar is above the Negative Level (range guard)
- EMA(close, 5) is rising — the slope test that filters oscillator noise
A Negative turn fires when two conditions are true on a closed bar:
- RSI on the current bar is below the Negative Level
- EMA(close, 5) is falling
Latched State Machine
Once a Positive turn fires, the state remains Positive until a Negative turn fires. Once a Negative turn fires, the state remains Negative until the next Positive turn. The state persists from one transition to the next regardless of how many bars pass — for as long as the market keeps trending in the latched direction, the bias stays the same.
Bicolor Trend Line Visualization
The latched state is rendered as a 3-pixel bicolor line tracking the 10-period EMA of bar lows. Green when state is Positive; red when state is Negative or neutral. A one-bar overlap at every color change prevents visible gaps so the line remains visually continuous through every transition.
Non-Repainting
State evaluation runs only on closed bars (shift >= 1). The forming bar inherits the state of the most recent closed bar — its state cannot independently change as the bar forms tick by tick. Once a "Positive" or "Negative" label is drawn on the chart, it is permanent. Once a state value is written to a historical bar, it is never overwritten.
Key Features
- RSI cross-up detection with configurable Positive (default 65) and Negative (default 32) thresholds
- EMA(close, 5) slope confirmation that filters out RSI cross noise
- Latched state machine — bullish bias persists until a confirmed bearish turn (and vice versa)
- Bicolor EMA(low, 10) trend line, 3-pixel width, with one-bar color-overlap pattern
- Permanent on-chart "Positive" / "Negative" text labels at every state transition (Arial Bold, size 16)
- Non-repainting by construction — closed-bar evaluation, no retroactive writes, no label deletion
- Four-channel alert package: Popup, Sound, Push notification, Email — all individually toggleable
- Alert deduplication by bar timestamp prevents repeated firings on the same closed-bar transition
- Eleven inputs total — clean, focused configuration with no clutter
- Symbol-agnostic and timeframe-agnostic — works on Forex, indices, commodities, crypto, and stocks
- Automatic chart object cleanup on indicator removal (FXOBRTF name prefix)
Recommended Use
The indicator is a momentum-trend detector. Use the line color as your active bias — long bias when green, short bias when red. Use the fresh "Positive" / "Negative" labels as entry triggers, entering at the open of the bar after the trigger bar to avoid trading inside the still-forming trigger bar. Hold while the line stays the same color; exit when the opposite-color label appears.
The default settings work well on major Forex pairs on M15 to H4 timeframes. For higher-timeframe trading (D1 / W1) or for ranging instruments, the Positive and Negative thresholds can be tuned to capture turns earlier or later. The alerts package combined with push notifications allows monitoring of a multi-instrument watchlist without sitting at the screen.
Complete User Guide & Trading Manual
