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
A variant of CopyTicks, which is sometimes several orders of magnitude faster than the original (from > 0)
Build 1432 - the CopyTicks alternative is no longer relevant.
Where did the 1432 come from? I have the latest 1430 on MetaQuotes-Demo
Where did the 1432 come from? I got the last 1430 on MetaQuotes-Demo.
He got it through a bribe...
You shouldn't laugh. I got one once.
You shouldn't laugh. I was given one once.
What makes you think I'm laughing?
Forum on trading, automated trading systems and trading strategies testing
Features of mql5 language, subtleties and tricks
fxsaber, 2018.04.16 13:23
Much faster this option (Release, not Debug)
When parsing voluminous data you get a significant speedup.
We went back to the idea of embedding a mass of simple system functions natively in the resulting MQL5 code, which allowed us to speed them up many times over by using them in the global optimization of the resulting code.
OK.
OK.
Welcome back!
ChartXYToTimePrice analog
It's not a full analogue (in terms of parameters), but this variant seems to me even more convenient and practical. It is also faster (by a couple of orders of magnitude).
By functionality it is full analogue and even more, because it returns (unlike original function) subwindow number, in which there is X, Y (cursor), if -1, then outside the window (subwindow).
This analogue doesn't contain input parameterschart_id andsub_window as I can't see how this function can be used outside the current window. Moreover, thesub_window parameter is even more unclear since the original function operates in exactly the same way regardless of its values.
This function can be run anywhere without the id parameter, but it must always be present in the OnChartEvent (with the id parameter) in order to clarify the necessity of updating internal variables of this function.
For example, if the function is not used from OnChartEvent, a line must be added to the OnChartEvent body for it to work properly:
This analogue gives a noticeable benefit when this function is used quite often.There is no point in using this analogue for one-off applications.