Indicator Repaint Monitor
- Göstergeler
- Sürüm: 1.0
- Etkinleştirmeler: 10
Indicator Repaint Monitor
Keep a timestamped record of changes you actually observe in an indicator's closed-bar values. Select an indicator already configured on your MT5 chart, choose one or two readable buffers, and leave the monitor running. Initial values form a baseline; later changes, appearances and removals are recorded on the panel and in local CSV files.
This is an MT5 indicator for investigation and debugging. It does not place trades or promise trading results. A changed value is an observation, not a verdict that an indicator is defective or dishonest. No observed changes does not prove that a source will never repaint.
Useful when you want to
- Compare what a readable indicator buffer showed at different observation times.
- Document a value that changed, appeared or disappeared after its chart bar closed.
- Keep an inspectable local record with source identity, bar time, old/new values and explicit observation gaps.
- Monitor an existing configured source while keeping an EA on the same chart.
Features
- One or two distinct numeric buffers, with a rolling window of 1–1000 closed bars.
- Requested sampling interval of 1–60 seconds and configurable absolute/relative tolerances.
- Zero remains a valid value unless you explicitly configure it as an empty sentinel.
- Missing reads and interrupted observation create fresh baselines rather than invented change events.
- Movable, collapsible panel with automatic light/dark styling and adjustable size.
- Optional UTF-8 CSV evidence, with bounded files and visible export status.
Setup
- Attach and configure the source indicator on a normal MT5 chart.
- Attach Indicator Repaint Monitor to the same chart. A single eligible source is selected automatically. Otherwise use Source to cycle attached indicators, or set its exact short name and window index in Inputs.
- Set BufferA and, optionally, BufferB using the source author's buffer documentation. BufferB = −1 disables the second buffer.
- Wait for Observing closed bars. Leave the terminal running to collect subsequent observations.
- Find CSV files under File → Open Data Folder → MQL5 → Files → IndicatorRepaintMonitor.
Use a distinct InstanceId for each monitor on one chart. Sources with identical short names in one window are ambiguous and require distinct names or separate charts. Buffer indices 0–63 are supported. Object-only arrows and private/inaccessible buffers cannot be inspected.
Source and observation inputs
- SourceMode: Attached source by default; built-in SMA and Fractals reference modes are also available.
- SourceShortName / SourceWindow: exact source name and chart window; defaults are blank and 0. Window 0 is the main chart.
- BufferA / BufferB: defaults 0 and -1. Use distinct indices from 0 to 63; -1 disables BufferB.
- ReferenceMAPeriod: SMA reference period, default 20; range 2-1000.
- ClosedBars / SampleSeconds: defaults 100 bars and 1 second; ranges 1-1000 bars and 1-60 seconds.
- AbsoluteTolerance / RelativeTolerance: default 0.0000000001 each; both must be nonnegative.
- UseCustomEmpty / CustomEmptyValue: default false and 0; optionally treat an additional exact value as empty.
Files and panel inputs
- WriteCSV: true by default; enables local recording.
- EvidenceFolder: default IndicatorRepaintMonitor; 1-40 letters, digits or underscores under MQL5/Files.
- InstanceId: default Main; unique on the chart, using 1-12 letters, digits or underscores.
- PanelX / PanelY: initial position in pixels, default 16 / 32; clamped to fit the chart.
- UIScalePercent: default 100; range 75-200. Move arms panel placement; click chart space outside the panel to place it, or Cancel.
How to interpret the record
The monitor compares successive readable observations of the same broker bar timestamp, excluding the forming bar. A numeric change must exceed the larger of the absolute tolerance and the relative tolerance multiplied by the larger absolute value. Tolerances are in source value units, not pips; small differences below the threshold are not accumulated.
Pauses, unavailable reads, source changes, price-history revisions and chart configuration changes reset coverage conservatively. Zoom or resizing can also create a fresh baseline. The change count covers the current run, while covered bars and epoch show the current baseline. Previous CSV files are retained; they are not restored as continuous monitoring after a restart.
Changes occurring entirely between polls may be missed. Buffer shifts and the source's signal meanings are not interpreted automatically. Fractals, provisional signals and multi-timeframe indicators may legitimately change after a chart bar closes.
Evidence files and demo
CSV records broker bar/market times separately from the computer's local observation times. A source-settings fingerprint is included without exporting arbitrary raw input strings. Each run uses up to ten files of approximately 2 MiB each. At the cap, recording stops visibly while monitoring continues. Export interruptions and lost-row counts are explicit. Old files are never automatically deleted.
In Strategy Tester, default Attached mode switches to a labelled built-in Fractals reference demonstration because the tester does not offer normal attached-indicator access. A built-in SMA reference is also available. This preview is not arbitrary third-party indicator replay; source selection and pause buttons are available on normal charts.
The screenshots are genuine MT5 captures using archived EURUSD M5 prices from August 2024, with the monitor observing those values in November 2026. They show the actual panel state, not live trading results or a fabricated repaint finding.
Normal-chart source observation and reference modes were tested locally. The local visual Strategy Tester preview could not be completed in the release environment. MQL5 automatic validation is a separate check and does not establish compatibility with every third-party source.
No DLLs, network requests or order placement. No profitability, accuracy, universal compatibility or non-repainting guarantee.
