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
It works, tested on three brokerage houses (search for all instruments traded on the brokerage house)
Try it like this
For OnTick, this is just an example.That's what I'm saying: true doesn't work!
This is the right way to do it. as you are using a function to output the information
Thanks, I just did not understand them, but the question remains:)
On real quotes (real, demo and probably bidding) this code works fine tested on 3 terminals (called during initialization)
I have shown 15 pairs that are in market review.
In normal testing only symbols specified in tester parameters are considered (if other symbols are needed it should be taken as false and array of my symbols), in "all symbols selected ..." optimisation will probably show all symbols (but most likely one by one changing them).
PS
If your EA is multicurrency, you should have your own list of symbols in the tester and compare it with a list of symbols presented in your brokerage company.
That's cool, but I think it's an oversight.
Thanks for figuring it out.
Interestingly, what about the first post, so far no one responded, type of could write - We'll fix in the next build.
The number of orders and trades in the history is not returned:
The number of orders and trades in the history is not returned:
You have to first load the history using the function:
I have to download the history first with the function:
Yes thanks, it works, I will go on reading the manual :o)
I just couldn't think that there is a separate flow for user and EA,
I thought that if the history is displayed, it means that it should be read by the Expert Advisor,
But this is more correct - the terminal creates its own space for Expert Advisors,
The terminal creates its own space for Expert Advisors,
This is similar to what was implemented in mql-4 in the form of a buffer that was periodically loaded with history.
Yes thanks, everything works, I will go on reading the manual :o)
I just couldn't think that there is a separation of threads for user and EA,
I thought that if the history is displayed, it means it should be read by an EA,
But this is more correct - the terminal creates its own space for Expert Advisors,
the information selection is performed in its own format and is much faster,
The analogue of that was implemented in mql-4 in the form of a buffer where history was periodically loaded.
Unfortunately, the space for the scripts, EAs and the terminal is common. You can make sure of it if you call the terminal history for the last day (day) and then run the above function from the script or Expert Advisor. And you will see that the history in the terminal also changed to 'All history'. I think this is a flaw in the terminal. Imagine that you have several Expert Advisor scripts running, and each one is requesting its own history. The history in the terminal will bounce (visually). You need to have the 'History' tab display the current state regardless of the Expert Advisors.
Besides, history in the terminal is often updated with a delay, i.e. a trade is executed, a position is closed but it does not appear in the 'History' tab. Once I was purposely waiting for the history to be updated. It was minutes..... I never waited. It only appears after executing a context command to request history from the 'History' tab or a script requesting history.
That's cool, but I think it's an oversight.
Thanks for figuring it out.
It's interesting, that with the first post, still no one answered, they could write - We'll fix it in the next build.
The flaw is that you use PrintFormat without explicitly using the format string.
What should we fix in the next build?