Hi,
I am running some backtests on USDJPY and in 2013 data on every trade it is generating slippage error. Why on every trade in 2013 and only in this symbol:
13:01:01 2013.07.01 00:00 TDS: Slippage opening market order: 0.3 (requested 99.452, got 99.449)
13:01:01 2013.07.01 00:00 USDJPY,H1: OrderSend error 138
13:01:01 2013.07.01 00:00 USDJPY,H1: !!BUY OrderSend failed with error #138 lots: 1 Ask: 99.452 price: 99.452 sl: 99.361 tp: 99.896 Free mgn: 100000
13:01:01 2013.07.01 00:00 TDS: Slippage opening market order: -0.5 (requested 99.452, got 99.457)
13:01:01 2013.07.01 00:00 USDJPY,H1: OrderSend error 138
13:01:01 2013.07.01 00:00 USDJPY,H1: !! BUY OrderSend failed with error #138 lots: 1 Ask: 99.452 price: 99.452 sl: 99.359 tp: 99.894 Free mgn: 100000
13:01:02 2013.07.01 00:00 TDS: Slippage opening market order: -0.2 (requested 99.450, got 99.452)
13:01:02 2013.07.01 00:00 USDJPY,H1: OrderSend error 138
13:01:02 2013.07.01 00:00 USDJPY,H1: !!BUY OrderSend failed with error #138 lots: 1 Ask: 99.45 price: 99.450 sl: 99.359 tp: 99.894 Free mgn: 100000
13:01:02 2013.07.01 00:00 TDS: Slippage opening market order: 0.0 (requested 99.449, got 99.449)
Slippage error in USDJPY data for 2013
Re: Slippage error in USDJPY data for 2013
Hi Jag45,
Seems you are using Birt's TDS. If you have the slippage feature enabled, I assume that's what's causing this?
Also refer to the MT4 manual regarding Error 138: http://docs.mql4.com/trading/OrderSend
Make sure your EA is refreshing prices before placing the order with RefreshRates().
Regards.
Seems you are using Birt's TDS. If you have the slippage feature enabled, I assume that's what's causing this?
Also refer to the MT4 manual regarding Error 138: http://docs.mql4.com/trading/OrderSend
Make sure your EA is refreshing prices before placing the order with RefreshRates().
Regards.
Re: Slippage error in USDJPY data for 2013
I am using tickstory's TDS, I purchased the full license. I do not get error on other pairs, only in USDJPY.
Even if I am doing refreshrates, still it is giving the same error. Please help.
Abhay
Even if I am doing refreshrates, still it is giving the same error. Please help.
Abhay
Re: Slippage error in USDJPY data for 2013
Hi Jag45,
Tickstory does not sell the TDS and nor does it charge for 'Tickstory Lite'. Please check what product you have purchased. The only person we know of that vends a product called 'TDS' is Birt: www.eareview.net.
Regards.
Tickstory does not sell the TDS and nor does it charge for 'Tickstory Lite'. Please check what product you have purchased. The only person we know of that vends a product called 'TDS' is Birt: www.eareview.net.
Regards.