![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hhmmmmmmmm, jap. That was indeed the problem. I just fed my VIX indicator with a manual input parameter and the Strategy Tester is running properly..
You don't need a DLL to get the current local time in the Strategy Tester.
Just saw it was you who asked about local time in that other topic. Why don't you use the proposed code there ?
Thanks for your hint, I've completely forgot about that thread! Using a file operation to obtain the time is really helpful for obtaining the current time during back testing!
You don't need a DLL to get the current local time in the Strategy Tester.
Just saw it was you who asked about local time in that other topic. Why don't you use the proposed code there ?
For completeness, the GlobalVariable approach on the link, gives on MT5 the local time directly and not the GMT time as MT4.
And DOESN'T WORK with the Strategy Tester, because with MT5 GV are simulated and the return dates of the backtest, and TimeGMTOffset() returns 0.