The Strategy Tester can only handle custom chart events. Please reference the documentation for more details — Documentation on MQL5: MQL5 programs / Testing Trading Strategies
The Strategy Tester can only handle custom chart events. Please reference the documentation for more details — Documentation on MQL5: MQL5 programs / Testing Trading Strategies
" When testing in an EA, we can handle custom events using the OnChartEvent() "
CHARTEVENT_OBJECT_CLICK counts? so it doesnt work. any CHARTEVENT.
mql5 is <removed by moderator>. how to force tester do some if i even cant select object in it?

- www.mql5.com
Forum on trading, automated trading systems and testing trading strategies
General rules and best practices of the Forum.
Alain Verleyen, 2018.08.03 23:18
Please be gentle and friendly on this forum.
- Please be polite when communicating on this website. Refrain from statements that may offend or insult other users.
- Negative discussions of any banking, brokerage and other financial institutions are not allowed.
- Any discussions about personal relations between the community members are not tolerated.
- Coarse language, advertising messages, spamming and flooding are forbidden.
- Repeated violation of the Rules, ignoring moderator's remarks and open disrespect for the website Administration will lead to an account termination.
- The website Administration may implement any changes to the Rules it deems necessary.
No, mouse clicks do not count as "custom". Custom events are as follows:
- CHARTEVENT_CUSTOM+n — custom event ID, where n is within the range from 0 to 65535. CHARTEVENT_CUSTOM_LAST contains the last acceptable custom event ID (CHARTEVENT_CUSTOM+65535)
Please refer to the documentation for more details ... Documentation on MQL5: Event Handling / OnChartEvent

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use