Hi
I'm very interested in purchasing the DiNapoli Stochastic cBot. However, the thing that it preventing me clicking that Buy button, is that you can only specify your the position size in Pips. It would be great if you could as a Risk Percentage of Account Balance to it. Kind of like this:
private void Open(TradeType tradeType)
{
double lots = Symbol.QuantityToVolumeInUnits(Math.Round(((Account.Balance * (_rickOfBalance / 100)) / _stopLoss) / Symbol.PipValue / 100, 2));
ExecuteMarketOrder(tradeType, SymbolName, lots, "comment", _stopLoss, _takeProfit);
}
The _riskOfBalance can be a Parameter that takes a percentage expressed as 2 = 2%