- 2022.08.04
- MetaQuotes
- www.metatrader5.com
- (MT4) - Get OnChartEvent to work in Tester to detect objects
- Visualise on Chart Not Working
- Anybody has the code mt4 strategy tester uses to draw arrows and lines on trades?
Mouse clicks (events) do no work in the tester.
See In backtest OnTimer() not performs - MQL4 programming forum #3 (2014)
and work around Chart Event For MT4 Backtester - Strategy Tester - MQL4 programming forum #7 (2016)
and How to use OnChartEvent buttons to work in Tester - MQL4 programming forum - Page 2 #11 (2019)
Mouse clicks (events) do no work in the tester.
See In backtest OnTimer() not performs - MQL4 programming forum #3 (2014)
and work around Chart Event For MT4 Backtester - Strategy Tester - MQL4 programming forum #7 (2016)
and How to use OnChartEvent buttons to work in Tester - MQL4 programming forum - Page 2 #11 (2019Th
Thanks for the reply, I have been through the posts you referred to but in mt5 the buttons don't change states when clicked in mt5 Backtester, I tried printing the state of buttons while in visual testing mode, and it always returns 0.
I saw many EAs in market for mt5 like <Deleted> Just want to know How to make panels with buttons like this.
I have the same question. The workaround posted before (below) doesn't seem to work anymore. As you said the button state always returns 0.
https://www.mql5.com/en/forum/388070#edit_form
- 2022.02.01
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use