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
I unzipped mql5.com/en/code/download/16753.zip and copied with the folder structure intact.
When compiling ZoomPrice.mq5 in MetaEditor 5.0 build 2715, it gives an error:
The zip files in the code base have not been updated when updating the sources for a long time. Download each file separately.
1. In the Ticks.mqh file there is this code
At the same time in GetFreshTicks there is a check
In other words, if the last few ticks are read, GetFreshTicks will not change the NewTicks array. But it is not cleaned, and the old array with old values will be processed. Alternatively, this is solved by moving the MqlTick NewTicks[] declaration;
2. A few typos
So far, because of this bug https://www.mql5.com/ru/forum/363680/page9#comment_21182494 I can't say whether everything is normal or something else doesn't work.
Пока из-за этого бага https://www.mql5.com/ru/forum/363680/page9#comment_21182494 не могу сказать, всё ли дальше нормально или ещё что не работает.
Forum on trading, automated trading systems and testing trading strategies
Custom symbols. Errors, bugs, questions, suggestions.
fxsaber, 2020.07.01 17:34
I confirm the bug in 2509.
This variant doesn't seem to fail.
Perhaps it makes sense to switch to CopyTicksRange.
It might make sense to switch to CopyTicksRange.
The indicator is ancient. It didn't even have this function back then. To work properly, of course, you need to make changes.
It might make sense to switch to CopyTicksRange.
It seems to be a working option.
3. there is a void SetAutoScroll( void ) function. If the chart auto-scrolls to the right edge, the time for ZoomTicks will be calculated based on the real current time via this.Ticks.GetNowTime(). But custom characters don't spawn new ticks. As a result From and To will be filled with values from the current time, it will not pick up ticks for them (there are no new ticks), the picture of ticks will eventually show the old one, but in this.SetTextCross it will sign the current time.
4. The request for ticks comes from the left edge of the interval. If the interval goes 01:00:00:00-01:01:00:00, and the first tick entering the interval will be at 01:00:30, there will be a hole on the left half.
4. The tick request comes from the left edge of the interval. If the interval goes 01:00:00:00-01:01:00:00, and the first tick entering the interval is at 01:00:30, there will be a hole on the left half.
This was originally there. I didn't rule it on purpose.
It was there from the beginning. I didn't rule on purpose.
What was the hole for, if it's no secret?
What was the hole for, if it's no secret?
I can see right away that there was no tick to the left.
And I'm getting the same errors.
I still have a working version of the indicator, it still works for me).