I have check the line error. It happen at this line
else if (mode=="block-balance") {size=(value/100)*AccountBalance()/margin_required;}
Is this because i not put SL value? I use Freeze of balance, do i need to put SL value?
I have check the line error. It happen at this line
else if (mode=="block-balance") {size=(value/100)*AccountBalance()/margin_required;}
Is this because i not put SL value? I use Freeze of balance, do i need to put SL value?
Hello,
May i know why this happen normally? I tried run on demo account but this error is not occur. This zero divide error occur when i run it on live account. Can anyone help?