Features of the mql5 language, subtleties and tricks - page 86

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
Forum on trading, automated trading systems and trading strategies testing
Bugs, bugs, questions
fxsaber, 2018.06.20 23:18
Decided to check how long such situations of phantom orders last, when an order is in the system, but not in the Terminal.
Result
32 milliseconds an order is there but it is not in the Terminal! Just imagine what consequences this would have if the trading logic was executed in this interval.
It is interesting that phantom orders are most often present only atTRADE_TRANSACTION_ORDER_DELETE and TRADE_TRANSACTION_DEAL_ADD (much less often) transaction types.
Very bad platform nuance.
ZZY The questionable speed of trade operations on the five, unfortunately.
Forum on trading, automated trading systems and testing trading strategies
OrderCloseTime Expert Advisor MQL5
fxsaber, 2018.07.06 09:27
It is clear that the solution is on the verge of crutch. The other implementations won't be as succinct anymore. A simple way around the brakes generally won't work.
Quick Multisymbol OnTick Implementation
I can't figure it out,
Why is OnTick with the Symbol parameter, and why is OnTick without the parameter?
and why is it again at the bottom of the comment
why not just a basicOnChartEvent?
why not just through a basicOnChartEvent?
Because it's convenient when the "flies and cutlets" are separate. Write all logic in multisymbol OnTick. Coincidences in names are random...
Because it's convenient to keep the "flies and cutlets" separate. Write all logic in multisymbol OnTick. Coincidences in the names are coincidental...
...you're on a first-name basis until the year 2028.
it's your code, I'll find the full one
No one is forcing you to use this version of the multisymbol NewTick event implementation. In this branch, I just put all sorts of things together.
No one is forcing you to use this implementation of a multisymbol NewTick event. In this branch I just put all sorts of things.
I was interested in OnTick, and with parameters, the compiler swallows
I was wondering why OnTick????
I don't know myself, random coincidence.
I do not know myself, random coincidence.
Don't tell me, I found a feature, the ICs have not yet corrected the loan of the name of one of the main functions, killed a lot of time reading and searching for it
looking for an undocumented feature.