If OpenPrice > 0 Then begin
Balance = InitialCapital + NetProfit;
// If UseAccountBalance then TradeSize = Balance / OpenPrice Else TradeSize = (Balance + OpenPositionProfit) / OpenPrice;
If UseAccountBalance then TradeSize = Balance / OpenPrice Else TradeSize = (InitialCapital) / OpenPrice;
In order for trade size to work properly. Otherwise it always uses the Balance to calculate TradeSize.
Status changed from New to Refused
It should compute the trade size from the actual balance on your account, not from initial balance.
Status changed from Refused to Fixed
The second option should be only about initial capital, as you suggested,. We'll fix it.