Errors, bugs, questions - page 2276
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
When I need to fill a part of a large array with a single Z-value, I use the construct:
Many traders will say why it is so complicated, it can be simpler:
ArrayFill(arr,5000,1000,Z);
But for some unknown reason, the first variant using an intermediate array runs noticeably faster than the second
I already wrote on this issue to CA a couple of years ago. I got a reply saying that I had found and fixed the problem and it would be ok in the next build.
But the problem persists.
I've got the same test in MT4:
When I need to fill a part of a large array with a single Z-value, I use the construct:
Many traders will say why it is so complicated, it can be simpler:
But for some unknown reason, the first variant using an intermediate array runs noticeably faster than the second
I already wrote on this issue to CA a couple of years ago. I got a reply saying that I had found and fixed the problem and it would be ok in the next build.
But the problem persists.
I've got the same test in MT4:
Maybe this is a good place to check in.
Maybe this is a good place to check in.
What a peculiarity and subtlety!
It's a clear bogey.The important standard function of working with arrays in the world's fastest algorithmic trading language is 4 times slower than in the obsolete MQL4 language.
Only here.
Can you imagine how many programs are going to fail when it is fixed?
What a peculiarity and subtlety!
It's a clear bogey.The important standard function of working with arrays in the world's fastest algorithmic trading language is 4 times slower than in the outdated MQL4 language.
Only here.
Can you imagine how many programs will be affected when it is fixed?
Good.
But as a feature at the moment - is that a bad thing?Good.
But as a feature at the moment - is that a bad thing?Good.
But as a feature at the moment - is that a bad thing?Anecdote.
An old man goes to the doctor. He says:
- Doctor, my back hurts.
- Bend over. Does it hurt?
- It hurts.
- Bend down more!
- There, that feels better...
- There! That's how you walk!
)))))
When I need to fill a part of a large array with a single Z-value, I use the construct:
Many people will say why it's so complicated - it can be simpler:
But for some unknown reason, the first variant using an intermediate array works much faster than the second one
I can't understand! Why did you need to fill part of a large array with a single Z-value? Or, what data do you assign to the array, for what purpose?
The monochrome background (including transparency) of a picture is done this way.
more precisely a gradient background
more precisely a gradient background
I have no idea what filling an array with a single value plays here.