Spread modelling in MT4 using Tickstory
Posted: Sat Jan 02, 2021 8:17 pm
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
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