void InitReport()
{
// Prepare report
sbReport = new StringBuilder();
sbReport.Append(
"Net Balance" + "," +
"Max Drawdown" + "," +
"Gross Profit" + "," +
"Gross Loss" + "," +
"Executed Orders" + "," +
"Traded Lots" + "," +
"Time in Position" + "," +
"Sent Orders" + "," +
"Total Charged Spread" + "," +
"Total Charged Rollover" + "," +
"Win / Loss Ratio" + "," +
"Equity Percent Drawdown" + ",");
for (int slot = 0; slot < Data.Strategy.Slots; slot++)
for (int numParam = 0; numParam < 6; numParam++)
if (Data.Strategy.Slot[slot].IndParam.NumParam[numParam].Enabled)
sbReport.Append(Data.Strategy.Slot[slot].IndParam.NumParam[numParam].Caption + ",");
sbReport.AppendLine();
}