ReInitChart
This EA adds a customizable button to the bottom-right corner of each chart that, when pressed, reinitializes all charts of the current symbol by temporarily changing the chart timeframe. It is a chart management utility, not a trading system.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
This EA is not a trading strategy but a chart reinitialization utility. Its core concept is to force chart redraws by temporarily switching the chart timeframe, addressing occasional data refresh issues in MT5. Entry conditions are not applicable since the tool performs no trading operations. Exit conditions are likewise not applicable, with no position management logic. Position sizing and money management are absent since the tool is purely a UIauxiliary tool. The user triggers reinitialization manually via button press, and the EA relies on timer events (OnTimer) to execute the actual timeframe switching logic.
Strengths
- Provides one-click chart refresh to resolve MT5 occasional data display issues
- Clean UI with button fixed in bottom-right corner without interfering with trading
- Customizable button text and colors for user preference
- Well-structured code using class encapsulation (cChartReInit) for modularity
Weaknesses
- Reinitializes charts by temporarily switching timeframes, a crude method that may cause brief visual flickering
- Lacks error handling, no verification that the timeframe switch operation succeeded
- Single-function tool, only supports reinitializing by symbol, cannot refresh individual charts
- No customization options for button position and size
Possible improvements
- Add configurable parameters for button position and size to improve UI flexibility
- Implement error handling and status feedback to inform users whether reinitialization succeeded
Risk assessment
Overall risk: Safe
- Temporary timeframe switching may trigger unnecessary chart reloads during low liquidity periods
- No confirmation mechanism, accidental button press may cause brief chart anomaly
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
SampleText | Recalculate | Text displayed on button |
SampleTextColor | NavajoWhite | Button text color |
SampleBackColor | SlateGray | Button background color |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.