
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
With GlobalVariable Terminal, you can transfer up to 8 bytes of information in one variable.
To differentiate access from different MQL5 programs, you can use GlobalVariableSetOnCondition
What, when you have 1GB of data to transfer?
Where does that amount go?
You can use piping to transfer 1 gig.
Where's so much going?
You can use piping to transfer 1 gig.
I can't explain here why. If you want, I can send you a private message explaining my problem.
I know there is a solution using a DLL or third party tool (the pipe needs a server with channels), but I would only like an MT5 / mql5 solution.
I would only like an MT5 / mql5 solution.
Resources.
Resources.
Yes. Does it work with huge amounts of data (1GB or more)? I haven't tried it yet.
When there is a real challenge, it is logical to try to solve it first.
When there is a real challenge, it is logical to try to solve it first.
I would never do that, funny guy.
Why not a 100GB transfer? This is a rhetorical question.
The verification code is less than a dozen lines.
Where's that going?
Piping can be used to transfer 1 gig.
Well, I can actually explain it here. I am working on a system with ticks on history (several years). We work on the bars, then we have to analyse the ticks on some filtered bars.
When using CopyTicks / CopyTicksRange bar by bar it's very slow, so I have to load large amounts of data into memory (like 1GB) and then it's much faster (at least 5 times faster).
Now even loading big chunks of data (ticks) into memory is time consuming if you have to do it at every startup, so I've started doing it with a service to keep the data in memory. And there you have new problems.
Ideally getting ticks per 1 bar (or multiple bars) using CopyTicks / CopyTicksRange shouldn't be that slow, but it's probably unavoidable.
I hope the transfer is good.
Why not a 100GB transfer? This is a rhetorical question.
The verification code is less than a dozen lines.
Please don't answer if you have nothing to say.
I don't care about a rhetorical question, I have a practical question to solve.