Slippage error in USDJPY data for 2013

Report any bugs with the Tickstory Lite software here. Please give as much detail as possible so the issue can be identified and resolved as soon as possible.
Post Reply
jag45
Posts: 2
Joined: Fri Dec 13, 2013 6:16 pm

Slippage error in USDJPY data for 2013

Post by jag45 »

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)

tickstory
Posts: 4900
Joined: Sun Jan 06, 2013 12:27 am

Re: Slippage error in USDJPY data for 2013

Post by tickstory »

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.

jag45
Posts: 2
Joined: Fri Dec 13, 2013 6:16 pm

Re: Slippage error in USDJPY data for 2013

Post by jag45 »

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

tickstory
Posts: 4900
Joined: Sun Jan 06, 2013 12:27 am

Re: Slippage error in USDJPY data for 2013

Post by tickstory »

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.

Post Reply