Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 20:50:15 +0000



Post From: ACSIL function for Daily Total P/L for all symbols

[2018-10-09 09:47:41]
Marmany - Posts: 307
Using
s_ACSTradeStatistics TradeStatistics;
sc.GetTradeStatisticsForSymbol(0, 1, TradeStatistics);
int DailyTotalPL = TradeStatistics.ClosedProfitLoss();
Generates the Daily P&L for only the current symbol.
I require Daily P&L for Closed Trades for all symbols traded on the chart. The value is available on the Trade Statistics tab of the Trade Activity Log (1st row, RH column), but I find no way of accessing in ACSIL.

Please advise.