View Single Post
  #17 (permalink)  
Old 01-24-2006, 12:37 AM
seahunter seahunter is offline
Junior Member
 
Join Date: Jan 2006
Posts: 5
seahunter is on a distinguished road
Quote:
Originally Posted by newdigital
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.
Thanks Newdigital & everyone who has contributed to this EA.
Changed to TRUE and worked fine. I have left all other settings to the default.
Should anything other settings be changed?


+100 pips last EURUSD session on EUR & GBP


CH
Reply With Quote