stauroucristou: haven't really posted here before so maybe the powers that be will see this.
This is a user's forum not Metaquotes.
- Can someone please advise where I send a Request for Support to Metaquotes. - MQL4 forum
- Get in touch with developers using Service Desk! - MQL5 forum
- Report it to the service desk. 'MQL5.community - User Memo' - an article about the algorithmic/automated trading in MetaTrader
- Report it to the Service Desk, not us users.
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 have been using the production Metatrader 4 from metatrader4.com for some back testing of EAs. (Not tied to a broker MT4). Therefore, I get regular updates of the latest release. I kind of like that. So this is not a complaint.
I noticed that with the latest update Build 851, the first time an indicator is put on a chart IndicatorCounted() returns a value that is almost as big as the value of Bars (it should be zero). If Bars = x, IndicatorCounted() returns x-2. I have only tried this on EURUSD H4. The difference between those 2 numbers is obviously 2. Only two bars worth of data is displayed by the indicator at first. If your indicators are adaptive this is a problem.
For that reason the indicator does not display any history because a common way of writing indicators includes code that is similar to this:
Is it catastrophic? No.
Is it insurmountable? No.
Have I fixed my indicators? Yes. I just manipulated the value of limit above to be closer to the value of Bars than to say 2.
But backwards compatibility is something that MT4 is somewhat known for with only a few examples of discontinuity. I just want to make people aware of the fact that this is happening.
I also noticed that the strategy tester is dog slow compared to Build 840 when everything was working just fine. I've moved back to a broker based Build 840 for backtesting now. No fixes needed.
I hope this helps someone. I haven't really posted here before so maybe the powers that be will see this.