Occasional incorrect return from AccountFreeMarginCheck()

 

Has anyone ever noticed a spurious (zero or less) return from the AccountFreeMarginCheck() function?

Just occasionally I get this.

Always on the same (live) account.

Seems to always occur on a day when I've restarted the platform or initialized the EA. Although neither of these activities always produce the problem by any means.

Never on other (live) accounts on the same broker which run the same ex4 file on the same platform build version trading a similar lotsize with similar capital and margin.

Has happened on multiple platform versions.

Can't be re-created.


CB