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
I could read it form the tester log. it register it like this:
But unfortunately it's outside de "file sandbox".
There's a solution that utilizes a symlink to that log folder. Basically you need to create a sticky folder in the file sandbox that holds the symlink - sticky in the way that it cannot be removed/cleaned up by the tester. Then during OnInit you make a local copy of that log to read out its testing end date. The setup is somewhat complicated but it works:
And there you go.
* Steps to remove deletion rights from 'stay' folder:
Did you find a way to get the "End Date" of the test?
Does anyone knows how to do that?
Did you find a way to get the "End Date" of the test?
Does anyone knows how to do that?
Several solutions are proposed in the topic. Did you read and try them ?
There is no easy, standard mql way for sure.
Several solutions are proposed in the topic. Did you read and try them ?
There is no easy, standard mql way for sure.
Hi Alain,
Yes, I checked all the solution and there is no solution to get this information inside of (OnInitStart).
As the last message had more than 4 years, I thought someone else could give a different solution.
I'm sure Henrique Vilela (@Henrique Vilela) had a better solution, but unforntunately he disappeared without share with us.
Hi Alain,
Yes, I checked all the solution and there is no solution to get this information inside of (OnInitStart).
As the last message had more than 4 years, I thought someone else could give a different solution.
I'm sure Henrique Vilela (@Henrique Vilela) had a better solution, but unforntunately he disappeared without share with us.
You didn't read properly I think. Using a WinAPI call for example will allow you to do it (there is already a library to do that somewhere in the Codebase).
Most people here are only interested to grab information and never share anything, not a surprise.
You didn't read properly I think. Using a WinAPI call for example will allow you to do it (there is already a library to do that somewhere in the Codebase).
Most people here are only interested to grab information and never share anything, not a surprise.
Ok Alain. I will search again in the Codebase.
Thank you for your response.