Basic question about spreads and testing

 

Hi,

I'm manually testing a strategy (going back on the chart and playing it 1 bar each time). I'm using the closes and openings prices as the prices I entry/exit a position. Now if for example the spread averages 3 pips, and I enter when the opening of a bar is 1.10000 and exiting when the opening of a bar is 1.10500. I gained 50 pips, do I just subtract 3 pips to it, because the way I see it I'm not entering on 1.1000, I'm entering on 1.10015 and I'm exiting on 1.10485, right?


I have to count half the spread for each trade (whether it's opening or exiting)? I'm asking this because my strategy involves add-ons while a position is open

 

spread is accounted for at time of position open. If you enter a short position then you pay the bid price but you close the position at the ask price. If you enter a long position you pay the ask price but you close at the bid price.

Reason: