
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
Check your algorithm for colour 0,0,0 and 255,255,255.
I will check it now.
Check your algorithm for colour 0,0,0 and 255,255,255.
Checked. 0,0,0,0, - causes an error. Advisor's unloading.
255,255,255 is fine.
Thank you for this observation. I'll look into it.
What do you think, Nikolai?
Would you admit that you've made a lot of noise out of nothing? Yes, the algorithm may be slower than yours and it had a couple of bugs. It's not debugged on MT5 yet. But it works.
Do you even realize that code like this
is 100% the same as this one:
After that, you shouldn't wonder why your code is so much slower.
255,255,255 is fine.
Is this consistent with 99% "windows shades"?
I'll join the 'accusations', couldn't take it :)
A good example of how not to program. If this is how your entire GUI is written, we won't be seeing it for a while. :(
Every line is a "masterpiece": such a pile of errors and bloopers, so much hope that mql4 will work out. I now understand why mt4 is being used.
I think that publishing of such codes and the subsequent reaction to criticism is not respecting the forum audience. They don't want to do you harm, they want to help you.
As for comparing algorithms, you can compare them visually. It's not like you offered proof in numbers that your algorithm gives shades 99% close to "windows shades".
On the left is sort of your approach, on the right isNikolai Semko's. (A modified NikolaiSemko script was used)
Thank you, Yuri, for your participation and understanding of the matter, as well as for the clear example. After your changes my code became more pleasant to look at.
But here is a small clarification:
Thank you, Yuri, for your participation and insight, as well as for the clear example. After your changes my code became more pleasant to look at.
But here is a little clarification:
Maybe so :)
Do you even realize that code like that
is 100% the same as this one:
After that you shouldn't wonder why your code is much slower.
Well, that's the stupidity of not understanding my algorithm.
Maybe so :)
Yeah.
Only I made a mistake at the beginning and have already corrected it in a previous post
Is this in line with 99% of the "Windows shades"?
Yes, there is a mistake. Didn't notice it. Reaches white by the middle of the range, although the colour belongs to the grey range. So it should go to white gradually.
...
After that you shouldn't wonder why your code is so much slower.
Generally, it's convenient to take someone else's proven code and, covered by its impeccability, tell others (who are looking for a solution with their minds) how much better you are. Isn't it so, Nicolai?)