Hello Grant,
thank you for your help. Unfortunately your hint does not return the result I am looking for. I tested the use of
var val = 0.0;
for(all_trades) val += TradeProfit;
printf(„\n%06.3f",val);
Zorro shows (using this code) correctly all trades’ (profit) - but only of these trades which have been managed by Zorro before.
When I trigger trades with maximum reduced (waiting-) time to get minimum execution time
brokerCommand(SET_WAIT,0);
then Zorro is reporting this TradeEntrys as failed …
Error 075 (EURUSD_A:ALGOabc:L) - can't open 1@264846185 at 16:30:10
Error 075 (EURUSD_B:ALGO123:S) - can't open 1@2.0002 at 16:30:10… although the trades
are opened as requested at the brokers’ accounts.
As I know about this behavior, I am looking for a command/code snippet, which „reads“ the broker account afterwards and aligns Zorro’s internal logs correctly, so that I can continue to handle these trades in Zorro as usual.
Regards
Hendrix