Features of the mql5 language, subtleties and tricks - page 83
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
Read my answer again. Open the short source code, figure it out, and... Profit!
Of course I opened the source code, of course. Although I didn't specify that I need it all for MT5, but I'm looking for an idea...
Can you tell me, which line solves this problem (hidden idea) - inGetBarSize() function?
Of course I opened the source code, of course. Although I didn't specify that I need it all for MT5, but I'm looking for an idea...
Can you tell me, in what line this problem is solved (hidden idea) - in functionGetBarSize()?
I feel like a fool, what does "<<" mean? And what does it have to do with the scale of the graph?
I feel like a fool, what does "<<" mean?
This is a bitwise shift to the left. The 1 (in binary representation 0000 0001) will be shifted to the left as many times as the value returned by ChartGetInteger. Basically, this is an addition to the power of 2.
The result will be the number of pixels per 1 bar.
This is a bitwise shift to the left. 1 (in binary representation 0000 0001) will be shifted to the left as many times as the value returned by ChartGetInteger. Basically, this is an addition to the power of 2.
The result will be the number of pixels per 1 bar.
Thanks for the clarification, I will try to implement it!
Thank you!
Rosh, thanks a lot for the help!
Forum on trading, automated trading systems and trading strategies testing
Bugs, bugs, questions
Ilyas, 2016.08.24 11:08
The array ("inside") stores allocated - for how many elements the array is allocated.The logic of working with allocated (conditional code):
Too bad it is not available at all (array wrappers is not an option). Maybe we should add some functionality?
There is StringBufferLen for strings.
Much faster this way (Release, not Debug)
When parsing voluminous data, you get a significant speedup.
Much faster this way (Release, not Debug)
Whenparsing large data you get a significant speedup.
Can you provide the benchmark code to demonstrate that ?