Discover expert developed MetaTrader tools that can complement professional solutions.

input group occupies a positional parameter slot. If you call this indicator from your own code with iCustom or IndicatorCreate, the six group labels have to be counted along with the real inputs, as strings, or the handle fails with error 4002. This was measured, not assumed. Buffer 0 carries the watched buffer's value, so your EA can read it instead of repeating the plumbing; it was checked against the watched RSI on 299 of 299 bars.
If the indicator you named cannot be loaded - a typo, or a file that has not been compiled yet - this does not detach itself. It says so on the chart and in the Experts log, and keeps trying every few seconds, so correcting the name is enough.
What it does not do
It reads indicator buffers. An indicator that draws only with chart objects exposes no buffers, and there is nothing here for this tool to read. Nothing outside the indicator can change that.
Experience adaptive trading with the Fluid Expert Advisor for MT4/MT5. Dynamic money management and trend detection. Click for info.
"No repaint seen over 200 bars" is an observation about those bars, not a guarantee about every bar that will ever form. It is evidence, and better than the claim most indicators ship with, but it is not a proof. The check covers the number of closed bars you set in "How many closed bars to keep watching"; a change further back than that is not seen.
It cannot tell you what a buffer means. It will show you that buffer 3 holds 1.0 on fourteen bars; whether that is a buy signal is yours to decide.
An indicator that signals with a value of exactly 0.0 will not trigger "a value appears", because that is the reading of an unwritten bar. Signal buffers carry a price or a flag, never 0.0, so in practice this costs nothing, but it is a rule and you should know it.
Buffer 0 mirrors the watched buffer only when the watched timeframe is the chart's own. Mapping a higher timeframe onto every chart bar is a different job and is not attempted.
The alert channels themselves, popup, sound, push and email, are one call each and were not exercised in the Strategy Tester, which does not deliver them. Everything the tool decides before that call was.
How to install it
- Copy AnyIndicatorAlert.mq5 into MQL5\Indicators in your terminal's data folder. In MetaTrader, File then Open Data Folder takes you there.
- Open it in MetaEditor and press F7. It should report 0 errors and 0 warnings.
- Back in the terminal press Ctrl+N for the Navigator, open Indicators, and drag AnyIndicatorAlert onto a chart. If it is not listed, right click in the Navigator and choose Refresh.
- Fill in "Indicator file" - it is empty to begin with - leave Mode on EXPLORE, and press OK. Examples\RSI is the one to try first.
- Press Ctrl+T for the Toolbox and open the Experts tab. The buffer table is there.
Written and verified on MetaTrader 5 build 6140. It places no orders and changes nothing.
Complement community code with advanced automation from RobotFX.
77003