Page 1 of 1

US Tech Data on Avatrade (OrderSend Error 129 (Invalid Price))

Posted: Wed Mar 02, 2022 7:33 am
by StantonR
Hi All

I am trying to export US-TECH data for Avatrade.
I create a custom symbol and import bar and tick data.

When I run in the backtester I get "Invalid Price" Errors when placing a trade.
A few trades are place but the majority fail.

Is there any special settings I need to apply.

Re: US Tech Data on Avatrade (OrderSend Error 129 (Invalid Price))

Posted: Fri Mar 04, 2022 4:41 am
by tickstory
Hi StantonR,

The "Invalid Price" error is a Metatrader/MQL error that usually denotes either:
1) That your price that you are attempting to place the order at has since changed.
2) That your price was not "normalized" for the number of digits in your terminal. For example, if the price in the data is 1.12345 and your terminal only accepts 4 digits, the price should be rounded to 1.1234. Alternatively, you can probably change the "Digits" on the instrument to fix it prior to import (assuming you are using MT5).

Thanks.