Indicator Signal Alerts Kb
- ユーティリティ
-
Bohdan Klok
I debug, finish and audit MetaTrader robots — MQL5 and MQL4. - バージョン: 1.5
- アップデート済み: 6 10月 2026
Indicator Signal Alerts Kb is the free alerts edition of Indicator Signal Trader Kb. It watches an indicator you already use and alerts you when the indicator gives a Buy or a Sell signal: a pop-up window, a push notification to the MetaTrader mobile app, and e-mail. Up to four more indicators can act as filters that confirm each signal. It does not open trades.
The usual difficulty with tools of this kind is knowing which buffer is which. Indicator Signal Alerts Kb shows it on the chart. After you attach it, a panel lists every buffer of the indicator and what it held over the last 300 bars: arrows (how many, and the time of the latest one), lines (with the current value) or colour indexes (with the current value, so you can match a number to the colour you see on the last bar).
How to set it up
- Indicator. Enter the name of the indicator as it appears inside the MQL5\Indicators folder, without the file extension, for example Examples\Fractals. Purchased Market indicators are in the Market folder, for example Market\Indicator Name. Indicator inputs can be entered as a comma-separated list in the same order as in the indicator, for example 14, 2.5, true. Leave the list empty to use the indicator's own defaults.
- Buffers. Attach the program to a chart and read the panel to find the buffer that carries the signal.
- Rules. For Buy and for Sell choose one of the rules: an arrow appears in a buffer; a buffer crosses a level; one buffer crosses another (for example a fast line crossing a slow line); a colour buffer changes to a given value.
- Filters (optional). Up to four more indicators can confirm a signal before it counts, for example: Buy only while RSI is above 50, or only while the close price is above a 200-period moving average on H4. Each filter has its own indicator, inputs and timeframe, and for Buy and for Sell one condition: a buffer above or below a level, above or below a second buffer, the close price above or below a buffer, a colour buffer equal to a value, or a buffer having a value on the bar. Filters are checked on the last closed bar of their own timeframe. A signal that any filter rejects is ignored completely: no alert is sent; the panel shows which filter rejected it and what it saw.
- Alerts. Choose pop-up, push and e-mail. Push notifications need the MetaQuotes ID of your phone in the terminal settings, e-mail needs the mail settings of the terminal.
By default the signal is taken from the last closed bar, so an alert does not disappear when the bar closes. An alert looks like this: Indicator Signal Alerts Kb: BUY signal on EURUSD H1 (Examples\Fractals).
Example: take MACD signals only in the direction of the H4 trend
The signal indicator stays as it is: leave Indicator name empty to use the built-in MACD (12,26,9); its default rules already mean Buy when buffer 0 crosses buffer 1 upward and Sell when it crosses downward. Open the inputs (F7) and fill in the group Filter 1:
- Indicator name (empty = filter off): Examples\Custom Moving Average
- Indicator inputs, comma separated: 200,0,1 (period 200, shift 0, method 1 = exponential)
- Timeframe of the filter: H4 (4 Hours)
- Allow Buy only when: Close price is above the buffer (moving average etc.)
- Buy: buffer number: 0
- Allow Sell only when: Close price is below the buffer
- Sell: buffer number: 0
Result: a Buy alert comes only while the last closed H4 candle is above the 200-period exponential moving average, a Sell alert only while it is below. A rejected signal gives no alert; the panel shows it under Last signal with the filter number and the value the filter saw.
Adding a second filter: RSI must agree
Fill in the group Filter 2 in the same way. A signal now counts only when both filters agree:
- Indicator name (empty = filter off): Examples\RSI
- Indicator inputs, comma separated: 14
- Timeframe of the filter: current
- Allow Buy only when: Buffer is above the level
- Buy: buffer number: 0
- Buy: level: 50
- Allow Sell only when: Buffer is below the level
- Sell: buffer number: 0
- Sell: level: 50
Result: a Buy alert needs the H4 close above the average and RSI above 50; a Sell alert needs both below.
- Do not know the buffer number of a filter? Enter only the indicator name and attach the program: the panel lists the buffers of every filter with their current values. Then set the conditions.
- Filters 3 and 4 work the same way. A filter with an empty indicator name is off.
- A typo in a filter name or a buffer number the indicator does not have is shown on the panel in red under SETUP PROBLEM, with what to correct.
Automatic trading
If you want the same signals to open and manage trades, with stop loss, take profit, a lot calculated from risk, break-even and trailing stop, use Indicator Signal Trader Kb. It reads indicators in the same way, so the settings you find here can be used there.
Limitations
- The indicator must provide its signals in indicator buffers. Indicators that only draw graphical objects on the chart cannot be read.
- An arrow is recognised as any value other than an empty value or zero.
- The program reports the signals of your indicator exactly as they are; it does not judge their quality.
Inputs
- Indicator: name, inputs, timeframe, signal bar (1 = last closed bar).
- Buy signal and Sell signal: rule, buffer number, level, second buffer.
- Filter 1 to Filter 4: indicator name (empty = off), inputs, timeframe; for Buy and for Sell: condition, buffer number, level; second buffer.
- Alerts: pop-up, push, e-mail.
- Panel: show or hide, font size.
