private string GetPositionAmmountString(int bar) { string sign = StatsBuffer.SummaryDir(bar) == PosDirection.Short ? "-" : ""; if (Configs.AccountInMoney) { return(sign + StatsBuffer.SummaryAmount(bar).ToString(CultureInfo.InvariantCulture)); } return(StatsBuffer.SummaryLots(bar).ToString(CultureInfo.InvariantCulture)); }