CAN ANYONE HELP TO CORRECT ERROR ON MY EA??????

 

please how can i change the error code??????



jeffzie 3 2008 on EURUSD:60

11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
11:52:06 2008.01.02 16:56 jeffzie 3 2008 EURUSD,H1: OrderSend error 131
765 kb of log files (must be less than 64 000 kb)
0 min 18 seconds
Errors: 20
 
ERR_INVALID_TRADE_VOLUME 131 Invalid trade volume.
 
phy PLEASE I WILL UPLOAD THE EA TRY TO HELP ME CHANGE THE ERROR CODE
Files:
 

Your lotsize probably does not follow the rules for your dealer.

 
So are you saying i cant change any code in the EA to make it work with the because my EA change lot when trading. Try to help me check ok.
 
So are you saying i cant change any code in the EA to make it work with the because my EA change lot when trading. Try to help me check ok.
Files:
 
So are you saying i cant change any code in the EA to make it work with the lot of 0.1 to 5 because my EA change lot when trading,it can change lot to 50 if he see the money to trade. Try to help me .
Files:
 

Your dealer has rules about lotsize. I don't think your code follows the rules.

see

double MarketInfo( string symbol, int type)

MODE_MINLOT 23 Minimum permitted amount of a lot.
MODE_LOTSTEP 24 Step for changing lots.
MODE_MAXLOT 25 Maximum permitted amount of a lot.

Get the info in your EA.
 

should i copy this and put in my EA???


MODE_MINLOT 23 Minimum permitted amount of a lot.
MODE_LOTSTEP 24 Step for changing lots.
MODE_MAXLOT 25 Maximum permitted amount of a lot.
 

No, you need to collect the data and study it.

Example from IBFX dealer:

0.01 Minimum permitted amount of a lot.
0.01 Step for changing lots.
50 Maximum permitted amount of a lot.

---

If your lotsize does not follow the rules, your order will be rejected. I'm guessing this is the problem from glancing at your code.

Print out your lotsize, see what you are sending.

---

 
PLEASE PHY CAN YOU PLEASE HELP TO CORRECT SOMETHINGS IN MY EA OR WHAT ACTUALLY CAN I DO TRY TO BE SPECIFIC .THANKS
Reason: