Results 1 to 2 of 2
 0 Attachment(s)    

Thread: (Question) OrderSend error 4051

  1. #1
    Member
    Join Date
    Jun 2010
    Location
    USA
    Posts
    386

    Default (Question) OrderSend error 4051

    When running EA, I am getting OrderSend error 4051. What is this mean and how to fix it?
    Can someone know the answer to this please?

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by 4x4me View Post
    When running EA, I am getting OrderSend error 4051. What is this mean and how to fix it?
    Can someone know the answer to this please?
    Hi 4x4me,

    Invalid function parameter value.

    You have to use the normalizedouble function.

    NormalizeDouble - MQL4 Documentation

Similar Threads

  1. OrderClose error 138
    By fxtester in forum MQL programming
    Replies: 0
    Last Post: 02-11-2015, 21:39
  2. OrderSend error 134
    By fxtester in forum MQL programming
    Replies: 0
    Last Post: 02-11-2015, 21:39
  3. Error in checktime()?
    By Clearpaper in forum MQL programming
    Replies: 3
    Last Post: 08-19-2010, 17:32
  4. Where is error ?
    By przem81621 in forum MQL programming
    Replies: 2
    Last Post: 07-09-2009, 07:34
  5. Change lots/multiplier to lots=0.01 gives OrderSend error 130?
    By sleepypipsCDN in forum MQL programming
    Replies: 7
    Last Post: 04-12-2009, 09:17

Tags for this Thread

4x4me, how to, mql, ordersend error 4051

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •