AccountFreeMarginCheck returns -1.#INF
fx_maddin:
Hi,
yesterday, I got a strange error.
After lot calculation, I normalize and make a AccountFreeMarginCheck.
This works many weeks and suddenly I got this error:
I had a balance of 203759.99 and a FreeMargin of 201978.87.
It is not reproducable. What can I do to avoid this kind of error?
if(!MathIsValidNumber(AFMC)) { /* Process error */}
Hi,
yesterday, I got a strange error.
After lot calculation, I normalize and make a AccountFreeMarginCheck.
This works many weeks and suddenly I got this error:
I had a balance of 203759.99 and a FreeMargin of 201978.87.
It is not reproducable. What can I do to avoid this kind of error?