Wrong Prices in OrderSend

Errors 3 and 4107 in MT4 EA, with evident wrong prices in OrderSend function (see log)
Attachments
20221206.zip
(589.02 KiB)
H1 - XAUUSDWF Matrix - Strategy 351103.sqx
(29.40 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

MS
#1

mscapin95

06.12.2022 17:01

Task created

TM
#2

tmatejka.

08.12.2022 13:08

Attachment image-0.png added

image-0.png
(147.39 KiB)

this is caused by the fact MT needs at least 192 bars for the price formula. If there are less bars it cannot be calculated properly and the returned price will be negative

after a week or so the systems starts reading the price correctly


see the pic attached


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please