mql errors

 

help me about what these errors mean

1. error 3 (invalid trade parameters)

2.error 138 (requote)

3.error 4108 (invalid ticket)

 

1. error 3 (invalid trade parameters)

One of the trade parameters is wrong, often you may have included a string where a double is required or something like that. Print out the parameters and check their validity.


2.error 138 (requote)

The price that you sent the order at is no longer current and the broker has requoted it. Get the most recent price before re-sending the order.


3.error 4108 (invalid ticket)

Usually when trying to modify an order that has already been closed.

Reason: