Repaint Checker: Identify Repainting Indicators
Info
The Repaint Checker: Identify Repainting Indicators is a Expert Advisor for MetaTrader 5 that discover if an indicator repaints with the repaint checker. This tool evaluates any MT5 indicator, providing a detailed analysis of its repainting behavior.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use Repaint Checker: Identify Repainting Indicators
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
Discover if an indicator repaints with the Repaint Checker.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Repaint Inspector: Unveiling Indicator Repainting - another powerful expert for MetaTrader 5 traders.
Discover if an indicator repaints with the Repaint Checker. This tool evaluates any MT5 indicator, providing a detailed analysis of its repainting behavior.Also recommended: EXP Fractal Weight Oscillator Expert Advisor - similar expert with strong performance on MetaTrader 5.
Functionality
The Repaint Checker meticulously records the values of each buffer in the tested indicator as each bar closes, mimicking a live trading environment. It then re-examines the same bars and compares the recorded values.
For each buffer, it categorizes changes, late-appearing signals, and vanished signals. The verdict, either 'NO REPAINTING FOUND' or 'REPAINTS', is displayed on a panel and in the journal, accompanied by example dates. A CSV report is generated in the terminal Common\Files folder.
Configuration
Indicator to Test: Specify the path within MQL5\Indicators, e.g., Examples\ZigZag. Leave blank for a demo on Fractals. Inputs: Comma-separated values; empty for indicator defaults. Buffers to Check: 0 for all, up to 32. Tolerance: Relative change threshold. Show Result Panel: Display results on a panel. Write CSV Report: Generate a CSV report.
Application
Run the Repaint Checker in the Strategy Tester on any symbol and timeframe with a few months of data. The visual mode displays the result panel. Repainting is indicated by changes, late, or vanished buffers. Some buffers may hold internal values; focus on those drawing lines or signals. The EA does not place trades.
Examples: The built-in Fractals (default demo) are flagged as REPAINTS due to late-appearing fractals, confirmed two bars after drawing. The standard ZigZag (Examples\ZigZag) also repaints as its last leg is redrawn with market movement. Non-repainting indicators exhibit no changes across all buffers.
You may also like: up3x1 Investor Expert Advisor - excellent alternative for expert users on MetaTrader 5.
Source Code
#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version "1.01"
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
#include <Canvas\Canvas.mqh>
input string InpIndicator = "";
input string InpParams = "";
input int InpMaxBuffers = 0;
input double InpTolerance = 0.0000001;
input bool InpShowPanel = true;
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.