Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 02:19:19 +0000



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

[2018-10-09 09:47:41]
Marmany - Posts: 303
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.