EA-224 · Utility

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

CategoryUtility
RiskSafe
Rating★★☆☆☆
TypeUtility tool
TimeframesM1, M5, M15, M30, H1, H4, D1, W1, MN1
Indicators—
Author—

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

Code quality3.0
Strategy logic2.0
Risk management5.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
SampleTextRecalculateText displayed on button
SampleTextColorNavajoWhiteButton text color
SampleBackColorSlateGrayButton background color

Similar Utility EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.