Post compilation server side return errors

Hi fellas,



We really need to generate code that traps and handles these types of errors before the order is sent to the broker. 

 2018.04.02 20:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.04 14:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.04 23:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.05 09:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.06 07:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.06 08:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.10 21:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.12 05:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.13 16:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.18 07:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.19 07:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.19 16:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.19 17:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.19 20:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.24 17:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.25 11:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.26 19:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.04.30 15:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.05.02 18:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.05.03 00:00:00  TEST EURUSD,H1: OrderSend error 131
 2018.05.03 10:00:00  TEST EURUSD,H1: OrderSend error 131
Attachments
TEST.mq4
(404.74 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

n
#1

notch

02.05.2019 17:42

Task created

n
#2

notch

02.05.2019 17:44
The order handle functions included in my last report of these types of errors do the job.
n
#3

notch

03.05.2019 14:46
Voted for this task.
Rr
#4

Partizanas

23.08.2019 10:15

Attachment Screenshot_1.png added

place Lot 0.1 minimum
Rr
#5

Partizanas

23.08.2019 10:38

Attachment 001 Lot.png added

Attachment 01 Lot.png added

TB
#6

Tomas Brynda

27.08.2019 07:57

Status changed from New to Refused

Partizanas is right, this error occurs when you use more precise volume than your broker supports.


I don't think it's necessary to handle these errors. 

The error clearly indicates what's wrong when you look into the error code table.


I will try to add an error description to log into console when it occurs.



Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please