please i need your assistance please mql4 want to double cross me with their latest update.

 

please this is the forex copy that i use to duplicate trade to multiple platform,though am not the own of the program codes. but since i download the latest mt4 update compiling this ea show me error below.please help me with the new updated program line.thanks

below is the attached trade copy EA.

'client.mq4'    client.mq4      1       1
'stdlib.mqh'    stdlib.mqh      1       1
'stderror.mqh'  stderror.mqh    1       1
arrays passed by reference only client.mq4      26      27
return value of 'OrderDelete' should be checked client.mq4      290     28
return value of 'OrderDelete' should be checked client.mq4      297     28
variable 'StoredOrderDateTime' not used client.mq4      142     12
variable 'StoredOrderSymbol' not used   client.mq4      141     12
variable 'closeprice' not used  client.mq4      144     12
variable 'd' not used   client.mq4      129     12
variable 'ot' not used  client.mq4      134     12
return value of 'OrderClose' should be checked  client.mq4      418     17
return value of 'OrderDelete' should be checked client.mq4      424     17
variable 'i' not used   client.mq4      440     13
return value of 'OrderSelect' should be checked client.mq4      706     13
return value of 'OrderSelect' should be checked client.mq4      804     13
return value of 'OrderSelect' should be checked client.mq4      820     9
not all control paths return a value    client.mq4      838     1
return value of 'OrderSelect' should be checked client.mq4      978     9
0 error(s), 16 warning(s)               1       17
 
dan100: please help me with the new updated program line.
  1. learn to code
  2. Learn to search
return value of 'OrderDelete' should be checked client.mq4      297     28
Check your return codes (OrderSelect) What are Function return values ? How do I use them ? - MQL4 forum
variable 'd' not used   client.mq4      129     12
Delete your unused variable declarations.
not all control paths return a value    client.mq4      838     1
What do you return if it's NOT one of those?
string OrderType2String(int type)
{
    if (type == OP_BUY)       return("BUY");
    if (type == OP_SELL)      return("SELL");
    if (type == OP_BUYSTOP)   return("BUY STOP");
    if (type == OP_SELLSTOP)  return("SELL STOP");
    if (type == OP_BUYLIMIT)  return("BUY LIMIT");
    if (type == OP_SELLLIMIT) return("SELL LIMIT");
  ???
}
 
WHRoeder:
dan100: please help me with the new updated program line.
  1. learn to code
  2. Learn to search
return value of 'OrderDelete' should be checked client.mq4      297     28
Check your return codes (OrderSelect) What are Function return values ? How do I use them ? - MQL4 forum
variable 'd' not used   client.mq4      129     12
Delete your unused variable declarations.
not all control paths return a value    client.mq4      838     1
What do you return if it's NOT one of those?





WHRoeder

  thank you its fix

Reason: