Quote:
|
Originally Posted by seahunter
I installed Beluck's Mandarine and Euro/US session Thursday. It traded 3 times & took 29.3 or 30 lots each time on default settings. Unfortunately all were loosers (Metatrader demo)
Has this large lot size happened to anyone else?
SH
|
I just looked at the code and I see the following:
Code:
//---- select lot size
if (!FixedLot)
lot=NormalizeDouble(AccountFreeMargin()*MaximumRisk*0.001/StopLoss,1);
else
lot=Lots;
//---- return lot size
if(lot<0.1) lot=0.1;
return(lot);
It means of FixedLot=false we will have your case and this EA is using MaximumRisk for the calculation of the lot size.
If FixedLot=true the lot size will be equal to Lots (which is 0.1 by default).
So, change FixedLot to true.