Double CalculateLotSize(double MMRiskMoney,double sl)
{
double MMTickValue = Instrument.MasterInstrument.PointValue * TickSize;
double MMTickSize = Instrument.MasterInstrument.TickSize;
double lot = MMRiskMoney / (sl * (MMTickValue / MMTickSize));
return lot;
}
I tried it on the demo sim 101 account and on Eurusd
I return a struggle 100000 lots
to risk $ 100
with 0.001 stoploss
does not convince me much.
Thank you
Best Regards

Comment