Thread: Ema Cross!
View Single Post
  #23 (permalink)  
Old 02-04-2006, 01:54 PM
cardio cardio is offline
Senior Member
 
Join Date: Sep 2005
Location: St Louis, MO, USA
Posts: 176
cardio is an unknown quantity at this point
Thanks

Thanks renatops,
I will give it a try.

Though I will use
Code:
double GetSizeLot() 
  {
 return(NormalizeDouble(AccountFreeMargin()/StopLoss*RiskLevel,1)); 
  }
as I want to use it when testing and on demo.

using RiskLevel = 0.03 or 3%
So if my accountfreemargin is 1000 and my stoploss is 50 then
lots = (1000/50*0.03) = 0.6 right?
at risklevel = 1 or 100%
lots = (1000/50*1) = 20 - all my available account free margin if I should hit my stoploss. I see the light!
Reply With Quote