Spread modelling in MT4 using Tickstory

General discussion about the Tickstory Lite software package.
Post Reply
adibi83
Posts: 10
Joined: Tue Jul 02, 2013 7:59 pm

Spread modelling in MT4 using Tickstory

Post by adibi83 »

Hi all

I was wondering how does MT4 tester considers the spread with exported data from Tickstory? Say I've inserted a 2 pips spread in the tester - does it adds 2 pips to Bid rates? does it perform the test as if the spread is 0 and subtract the 2 pips value from the P&L?

I'm asking this because my EA suppose to be non-spread-sensitive - I only use BID rates, for example:

ticket = OrderSend(Symbol(),OP_SELL,amount,Bid,slippage,Bid+0.0100,Bid-0.0100,NULL,ID1,0,CLR_NONE);

And I use trailing SL like that:

tempTicket = OrderModify(OrderTicket(),OrderOpenPrice(),OrderStopLoss()-0.0002,OrderTakeProfit(),NULL,CLR_NONE);

BUT I get different results when I insert 0 pips spread and 1 or 2 pips spread.

What am I missing here?

TX

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

Re: Spread modelling in MT4 using Tickstory

Post by tickstory »

Hi Adibi83,

If you are referring to the fixed spread functionality in MT4 Strategy Tester (as opposed to our new variable spread function in our Advanced Tester), then all it does is add x pips to the Bid price. Therefore:

Bid=(tick price exported by Tickstory)
Ask=Bid + Spread

So this will affect your entry/exit price since the tester will use the Bid/Ask price when exiting from a buy/sell position.

Thanks.

Post Reply