In the Debugger (b.3889): Twice the same ticke no. for two different orders is a bit irritating at leat if you wan to identify the orders and positions by the ticke no.
Firstly I open a BuyStopLimit order followed by a sell market order and in the Operations tab both have the same ticket no. #2:
On the other hand in the other tabs it seems to be ok:
In the Journal tab I have:
2023.08.2610:28:29.641 EURUSD : real ticks begin from 2011.12.1900:00:002023.08.2610:28:31.0132022.02.0302:00:002023.08.2610:28:31.0132022.02.0302:00:00####################### Buy-Stop-Limit
2023.08.2610:28:47.9942022.02.0302:00:00 buy stop limit 3.33 EURUSD at 1.13070 (1.12670) sl: 1.12370 tp: 1.14500 (1.12991 / 1.12998)
2023.08.2610:29:16.3562022.02.0302:00:002023.08.2610:29:16.3562022.02.0302:00:00####################### OK: place Market-Order Sell close
2023.08.2610:29:18.3372022.02.0302:00:00 instant sell 3 EURUSD at 1.12991 sl: 1.13491 tp: 1.12891 (1.12991 / 1.12998)
2023.08.2610:29:18.3372022.02.0302:00:00 deal #2sell 3 EURUSD at 1.12991 done (based on order #3)
2023.08.2610:29:18.3372022.02.0302:00:00 deal performed [#2sell 3 EURUSD at 1.12991]
2023.08.2610:29:18.3372022.02.0302:00:00 order performed sell 3 at 1.12991 [#3sell 3 EURUSD at 1.12991]
If the field action of the structure MqlTradeRequest is set to 0 or as its enum: ENUM_TRADE_REQUEST_ACTIONS::0 and one wants to print the enum out with Print(EnumToString(request.action) ); (e.g. in OnTradeTransaction(const MqlTradeTransaction& trans, const MqlTradeRequest& request, const MqlTradeResult& result) { ... )
I always get the error: 2023.08.29 09:34:12.358 2022.02.03 02:00:00 OnTradeTransaction[973] err: Err[4003] ERR_INVALID_PARAMETER: Wrong parameter when calling the system function
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
my terminal was updated to 3882 and now input group string is truncated in tester
It should be Time Management
That's the life of a beta-tester. This was already reported to MQ.
Its affecting 3884 also
:(
In the Debugger (b.3889): Twice the same ticke no. for two different orders is a bit irritating at leat if you wan to identify the orders and positions by the ticke no.
Firstly I open a BuyStopLimit order followed by a sell market order and in the Operations tab both have the same ticket no. #2:
On the other hand in the other tabs it seems to be ok:
In the Journal tab I have:
Another little glitch in b.3893:
If the field action of the structure MqlTradeRequest is set to 0 or as its enum: ENUM_TRADE_REQUEST_ACTIONS::0 and one wants to print the enum out with Print(EnumToString(request.action) );
(e.g. in OnTradeTransaction(const MqlTradeTransaction& trans, const MqlTradeRequest& request, const MqlTradeResult& result) { ... )
I always get the error: 2023.08.29 09:34:12.358 2022.02.03 02:00:00 OnTradeTransaction[973] err: Err[4003] ERR_INVALID_PARAMETER: Wrong parameter when calling the system function