Thread: Ema Cross!
View Single Post
  #21 (permalink)  
Old 02-04-2006, 01:24 PM
renatops's Avatar
renatops renatops is offline
Junior Member
 
Join Date: Jan 2006
Location: Porto Alegre (Brazil)
Posts: 8
renatops is on a distinguished road
Hi Cardio,

I use this simple risk management function:

double GetSizeLot() { if (IsTesting() || IsDemo()) return(1);
else return(NormalizeDouble(AccountFreeMargin()/StopLoss*RiskLevel,1)); }

with

extern double RiskLevel = 0.03;

for a 3% risk e.g. in micro-accounts.

Take care.
__________________
Profit Forex trends with SureShot indicator!
http://www.reniza.com/forex/sureshot/
Reply With Quote