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
Why do you have to write code so ugly? You can't understand anything.
Do I have to ask leading questions to understand what your problem is?
Are these loops nested or not nested?
If nested, where are the parentheses? If not, why did you put it here?
There is no loop over d anywhere in the indexes.
Why should I assign different values to one and the same variable without handling them in any way?
I'd better go...)
What's the big deal? With your skills, you can start writing the code for the whole terminal right away.
there's nothing wrong with parentheses.
damn it.
is just a speed test. don't you get it?
and the style is so messy for the same reason.
well, let's format it...
Once again, let me explain my problem.
array access is ten times slower than local variables. how do I get around this?
What's the big deal? With your skills, you can start writing code for the whole terminal.
What do you mean? Am I reinventing the wheel?
Roughly 1 million cycles per second!
And if we take into account index calculations, array calls and assignment operator execution, we get roughly about 10 million operations per second.
To my mind, that's not too little at all.
Maybe, in all Forex there isn't so much information, how much MT can process in 1 second. :)
Oh, man.
it's just a speed test. don't you get it?
That's why the style is so sloppy.
...
Let me explain my problem once again.
Accessing an array is ten times slower than accessing local variables.
Reminds me of an anecdote about Siberian men and a Japanese chainsaw, when they put an iron pole up against it.
"Ding," said the Japanese chainsaw.
"Uh-huh," said the Siberian men.
So are we going to make money or win? (rhetorical question).
I heard 'em say, "That's right!"
They say there was a japanese guy crawling around, pulling men by the sleeve, saying, "no, no, no."
The men said, "shit."
Really, I'm going to work...:)
I'm not saying that MQL4 is slow. Quite the contrary.
But! er...
the only question is, would it work much faster if you put array processing in a DLL?
Who's got a compiler of some kind installed? please check it out! is it that boring?
i'm not saying that MQL4 is slow. quite the contrary.
but eh...
the only question is, would it be faster if you put array handling in a DLL?
Who has installed a compiler of some kind? Check it out, please!
It works much faster, about 10 times faster if you write it correctly.
It remains to be seen which is faster, the far function call or the ten array calls.
I just need to find some small compiler for.............