|
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.
|