10points 3.mq4 - page 370

 
Beno:
Are there any errors or messages in journal.

It might be you broker???

I just don't know

without any error

only when that i get backtest EA in real micro account fxopen i get this error

USDJPY.,H1: OrderSend error 131

only i tell that symbol format in micro fxopen is same : USD/JPY. (with dot)

 
hamid268:
without any error

only when that i get backtest EA in real micro account fxopen i get this error

USDJPY.,H1: OrderSend error 131

only i tell that symbol format in micro fxopen is same : USD/JPY. (with dot)

Error codes - MQL4 Documentation

 

thanks

but this error what mean:

ERR_INVALID_TRADE_VOLUME 131 Invalid trade volume.

?!

 
hamid268:
thanks

but this error what mean:

ERR_INVALID_TRADE_VOLUME 131 Invalid trade volume.

?!

I think it is an invalid lot size eg a micro lots 0.01 on a mini account 0.1 if you do a search you will find the answer

 
Beno:
I think it is an invalid lot size eg a micro lots 0.01 on a mini account 0.1 if you do a search you will find the answer

One answer:

Trade volume must be in accordance with lot step parameter.

double lot_step=MarketInfo(Symbol(),MODE_LOTSTEP);

If lot step is equal to 0.1 then You cannot use volume 11.23, u can use 11.2 or 11.3

Another

Means the server won't accept your value for Lots
 

hi

i underestand what is problem

this ea design for account type 1 , mean start trade by 0.01 lot size but now i want strat with 0.1 lot size and change account type to 0 so get error

i not know why

this ea in account type 0 with this setting only work right

Max trade :10

Multiplier:2

but when that want change this setting to

max trade :20

multiplier:1.5 or 2

again get error 131

i think should change codes this ea

i need help

 

only handmade

 
hamid268:
hi

i underestand what is problem

this ea design for account type 1 , mean start trade by 0.01 lot size but now i want strat with 0.1 lot size and change account type to 0 so get error

i not know why

this ea in account type 0 with this setting only work right

Max trade :10

Multiplier:2

but when that want change this setting to

max trade :20

multiplier:1.5 or 2

again get error 131

i think should change codes this ea

i need help

The error 131 is "invalid trade volume". It seems that the lot size the EA try to fill is too high because of your Maxtrade and multiplier. Or if your starting lot is 0.01, some brokers don't allow less than 0.1 lot.

Hope that helps.

FerruFx

 

to people that doesnt know the philosofy behind this EA

this thread seems to be of so bright people, but I will put this for new guys to read and understand the real problem behind 10point3.mq4

if you have any comments please let me know

What Is a Martingale? - MQL4 Articles

 
Reason: