MY SQ EA WORKS BUT DOESN’T ENTER THE MARKET
1 replies
Zargosz11
9 years ago #112168
Hi,
My EA works but doesn’t enter at market. I’have looked at my MT4 logs and the error massage is the following:
Opening order with MagicNumber: 112, type: Buy, price: 102.21, lots: 0.1, comment: —————-
21:45:08 ……….USDJPY,M15: —VERBOSE— 2014.04.30 21:44 Current Ask: 102.21, Bid: 102.18
21:45:08 ………. USDJPY,M15: —VERBOSE— 2014.04.30 21:44 Opening, try #1
21:45:08 …………. USDJPY,M15: —VERBOSE— 2014.04.30 21:44 Sending order…
21:45:08 ………….. USDJPY,M15: —VERBOSE— 2014.04.30 21:44 Order failed, error: 131
I use globle SL/Pt. SL=24 pips and PT:7.
Money management:
Lots if no MM 0.1 =0,1
Risk in %=5
Lots Decimals 2 =2
Maximum lots (protection) 0.1 =0,1
Base Currency Exch Rate 1 =1
My broker is Teletrade. I would have the same problem by other broker too?My broker has 4 digit after dot.Please, help how can I fix the problem . What is the correct EA testing procces? Please, give me an advice.
Thanks
Mark Fric
9 years ago #124594
Hello,
error 131 means invalid volume. I assume it is because your broker doesn’t support microlots.
The solution should be to set Lots Decimals = 1, then it will round it to minilots.
Mark
StrategyQuant architect
Viewing 1 replies (of 1 total)