Thread: Change Lots
View Single Post
  #2 (permalink)  
Old 12-27-2005, 03:14 PM
trevman trevman is offline
Senior Member
 
Join Date: Dec 2005
Posts: 144
trevman is on a distinguished road
that looks overly complicated, heres what i use

Code:
   double lots = NormalizeDouble(AccountFreeMargin()/(500/0.1),1);
this uses 0.1 lot for every 500 in your account, adjust them as you see fit. hope this helps.
Reply With Quote