On this page
What RSI with Alert adds
The indicator displays the Relative Strength Index as a blue line between 0 and 100, with configurable limits and optional arrows on the price chart. It can notify you of selected threshold events. RSI describes the balance of recent upward and downward price changes; a reading of 70 is not a 70% probability of a reversal.
This download is RSI with Alert FBR edition 1.08, a documented Apache-licensed derivative of EarnForex 1.07. FBR made buffer alignment, history bounds, arrow placement and cleanup explicit, and matched level-style controls across both platforms. The source is supplied for compilation; it does not place orders or manage stop-losses.
RSI calculation and three signal modes
For the illustrated Wilder-style calculation, separate each applied-price change into a nonnegative gain and loss. Seed their averages with the first RSIPeriod changes, then update each as (previous average×(N−1)+current change)/N. RSI=100−100/(1+average gain/average loss). Our reconstruction uses period 14 and Close unless another setting is stated; the program itself calls native iRSI.
RSI_COMES_IN, the default, labels a strict move from below 30 to above 30 BUY, and from above 70 to below 70 SELL. RSI_BREAK_OUT labels a strict rise through 70 BUY and a fall through 30 SELL. Both previous and evaluated values must be strictly on opposite sides: touching a level does not qualify.
The target mode requires a return crossing plus an earlier visit to the configured target during the same excursion, within loaded history. Default targets are 1 and 99. A single jump can cross both limits; the event name does not require the final value to lie inside 30–70. BUY and SELL are program event labels, not instructions or executed trades.
25 functional inputs and FBR defaults
These are the 25 functional controls in both FBR source files. Four Comment inputs are only visual section headings. Keep a positive period, ordered limits within 0–100, nonnegative scan/cooldown values and arrow size 1–5. Target settings must be compatible with the limits when target mode is selected.
| Input | Default | Practical meaning |
|---|---|---|
IndicatorName | FBR-RSIWA | Instance name and arrow prefix. Use a different name for every instance on the same chart. |
RSIPeriod | 14 | RSI averaging period. Default 14; changes initialization and responsiveness. |
RSIHighLimit | 70 | Upper limit. Default 70; its event direction depends on AlertSignal. |
RSILowLimit | 30 | Lower limit. Default 30; its event direction depends on AlertSignal. |
RSIAppliedPrice | PRICE_CLOSE | Applied RSI price. Close by default; other native price types are available. |
BarsToScan | 500 | History window to analyze. 500 by default; 0 uses available history and can require more work. |
CandleToCheck | CURRENT_CANDLE | Current evaluates the forming candle; Previous evaluates the completed candle. FBR arrows mark the evaluated candle. |
AlertSignal | RSI_COMES_IN | Selects return, breakout or return after target. This does not enable notifications by itself. |
RSITopTarget | 99 | Upper excursion target, used only by the target-return mode. |
RSILowTarget | 1 | Lower excursion target, used only by the target-return mode. |
EnableNotify | false | Global notification switch. False disables all delivery channels. |
SendAlert | true | Popup channel. True by default, but inactive while EnableNotify=false. |
SendApp | false | Mobile push channel, subject to terminal configuration. |
SendEmail | false | Email channel, subject to terminal configuration. |
SendSound | false | Sound channel. Off by default; needs an available WAV file. |
SoundFile | alert.wav | Name of the sound file used by SendSound. |
WaitTimeNotify | 5 | Server-time cooldown in seconds for Current-mode messages; direction deduplication also applies. |
EnableDrawArrows | true | Draws threshold-event arrows. Enabled by default; horizontal-line events have no direction arrow. |
ArrowBuy | 241 | Wingdings code used for BUY arrows. |
ArrowSell | 242 | Wingdings code used for SELL arrows. |
ArrowSize | 3 | Arrow display size from 1 to 5. |
ArrowBuyColor | clrGreen | BUY-arrow colour. |
ArrowSellColor | clrRed | SELL-arrow colour. |
IndicatorLevelsColor | clrSilver | Colour of horizontal RSI limit and target levels. |
IndicatorLevelsStyle | STYLE_DOT | Line style of the horizontal levels. It does not change signal comparisons. |
Real EUR/USD charts: returns, breakouts and period changes
These original charts use archived Yahoo Finance EURUSD=X H1 OHLC quotes in UTC. We reconstructed closing-value RSI with an SMA seed and Wilder recurrence. They are not running MetaTrader screenshots, native arrow captures or a tick replay.



The provider does not identify these as broker-specific Bid/Ask execution prices. Native history and initialization can differ. Spreads, fills and returns were not measured. Scroll charts horizontally on narrow screens.
Download the illustrated readings (CSV) · 1Download the illustrated readings (CSV) · 2
Enable alerts and understand what can change
EnableNotify=false is the master default, although SendAlert=true. For popups enable the master switch and keep SendAlert enabled. Current is the default candle and can produce a temporary crossing or an arrow that later disappears. Previous uses a completed candle, with the FBR arrow attached to that evaluated candle.
You can draw horizontal lines in this indicator’s subwindow for generic crossing messages. A qualifying threshold event takes priority; horizontal-line events do not draw BUY/SELL arrows. Notification cooldown and stored direction state suppress repeats, so the program does not promise one message for every historical marker or every candle.
Push and email need terminal settings; their retained message format includes broker company, account name and account number. Sound uses an available WAV file. None of these channels is activated by downloading the ZIP. Delivery timing and chart-object behaviour have not been tested in a native terminal.
Compile and install the FBR source edition
Choose the ZIP for your desktop platform: MQ4 for MT4 or MQ5 for MT5. There is no ready EX4/EX5 in this derivative package; compilation in the corresponding MetaEditor is required.
- Download and extract the appropriate MT4 or MT5 ZIP.
- In MetaTrader, choose File → Open Data Folder and open MQL4 or MQL5.
- Copy the supplied Indicators and Files folders there; MT5 also needs Include. Do not install the separate upstream reference copy.
- Open RSI_Alert_FBR.mq4 or RSI_Alert_FBR.mq5 in the matching MetaEditor, press Compile (F7), and inspect any compiler errors.
- Refresh Navigator → Indicators, attach RSI_Alert_FBR to a demo chart, choose a unique IndicatorName and check inputs, history and Experts/Journal.
FBR has not compiled or run these files in MetaTrader. Formula, index and event-model checks are not a native runtime test. Check the compiled indicator on a demo chart before relying on its display or messages.
Download RSI with Alert FBR edition free
Each ZIP contains the modified platform source, untouched original reference source, required author icon and MT5 include files, full Apache 2.0 license, change log, patch, instructions and SHA-256 checksums. Download directly without registration or a broker account.
The FBR 1.08 label identifies this derivative of EarnForex 1.07. Original attribution is preserved and modifications are marked. The modified program is supplied as source for platform-specific compilation. MT4 and MT5 sources are separate.
Free source ZIP · FBR 1.08 · Compile in MetaEditor
Forming readings, scan limits and verification scope
Current-candle RSI and arrows can change before close. History corrections, feed differences and the available starting point can also change historical readings. Our finite reconstruction excludes the initial warm-up; native iRSI history and zero-movement behaviour are not certified by it.
FBR bounds the loaded values and target search, aligns arrow dates with the evaluated candle and limits cleanup to the instance’s arrow prefix. Give instances different names on the same chart. BarsToScan=0 can increase the workload, while a short scan may exclude an earlier target visit.
Independent calculations check Wilder-style values, strict event logic and index/history models. They do not execute MQ4/MQ5, replay intrabar paths, test email/push delivery, measure broker costs or establish profitability. A threshold event alone is not a complete entry, exit or position-sizing plan.
Frequently asked questions
Is RSI above 70 automatically a SELL signal?
No. Breakout mode labels a strict rise above 70 BUY. Return mode labels a later strict fall below 70 SELL. Neither label guarantees a profitable trade.
Why are there no popup alerts at the defaults?
EnableNotify is false globally. SendAlert=true has an effect only after the master switch is enabled. Candle choice, cooldown and direction state also affect messages.
Can an arrow disappear?
Yes. Current is the default and can change before close. Previous evaluates a completed candle, but feed/history changes remain possible.
What makes this an FBR edition?
It is a marked Apache-licensed derivative of EarnForex 1.07 with documented index, history, arrow and cleanup changes. The original source and patch are included.
Are compiled platform files included?
No. Compile the MQ4 or MQ5 in the matching MetaEditor. FBR has not performed native compilation or runtime verification.
Sources and review scope
Original source and license were matched to a pinned EarnForex revision. FBR changes are marked in the package. The mathematical reconstruction and event models were checked independently; they do not replace a native terminal or strategy test.