OrderSend Error

 

My strategy tells to place an order at 1.4460

but I get error invalid price 1.44602000 for ordersend function.

Why does my price change, and why do I get this error???

 

CK

If its an immediate OP_BUY, it must be at the Ask, if OP_SELL must be at the Bid.

For pending orders, the price must have the right number of decimal places, read all on here https://docs.mql4.com/convert/NormalizeDouble

-BB-

 
Try to normalize the value according to the digits allowed by your server
NormalizeDouble(value,Digits);
 

O thanks guys.

It works

Reason: