Error 131 Solution

 

I have just found what seems to be the solution to my Error 131 problem and thought I'd post to possibly help others. The details are as follows:

The Robot uses a number of settings that seem to need to be adjusted as follows: 9this may help other people/robot settings):

Acconut size - $100,000 (Demo)

Accountslsmini - false (Default was true)

AccountslsMicro - false (default was true)

Brokerpermitsfractionallots - False (default was true).

This may or may not help others but would have saved me about a week of frustration if I hade known it earlier.

Cheers

KK

:)

 
Kaptainkev:

I have just found what seems to be the solution to my Error 131 problem and thought I'd post to possibly help others. The details are as follows:

The Robot uses a number of settings that seem to need to be adjusted as follows: 9this may help other people/robot settings):

Acconut size - $100,000 (Demo)

Accountslsmini - false (Default was true)

AccountslsMicro - false (default was true)

Brokerpermitsfractionallots - False (default was true).

This may or may not help others but would have saved me about a week of frustration if I hade known it earlier.

Cheers

KK

:)

use

MarketInfo( NULL, MODE_LOTSTEP)

to find out the allowed lotstep from your broker

 
meikel wrote >>

use

MarketInfo( NULL, MODE_LOTSTEP)

to find out the allowed lotstep from your broker

Some brokers do not allow to set TP and SL when order is sent. In that case you must send order without TP and SL and then modify order.