Hi all...
What I've to do to change lots?
PHP Code:
int LotCalc(double Risk)
{
int vLots=0;
if (UsePct >0 && Risk>0) vLots=MathFloor(AccountBalance()*(UsePct/100)/((Risk/MarketInfo (Symbol(), MODE_POINT))*10));
if (UsePct >0 && Risk==0) vLots = MathFloor(AccountBalance()*(UsePct/100)/1000);
if (vLots>MaxLots) vLots=MaxLots;
if (vLots<1) vLots=1;
return(vLots);
}
I already changed for 0.1 but the EA dont trade..
But if I change for 2 lots it trade normally..
Any help I appreciate..
Tks