samsgtw: Is there any way to get this to work.
Code your OnTick to check for them.
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)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
However i have been trying to backtest in the tester and noticed that my OnChartEvent function will not work and therefore i cannot detect the creation of a new line.
Is there any way to get this to work.
P.S. i Have found a few forum posts about using buttons in the tester and working around the issue but i cannot find anything for chart objects