How to test a trailing-stop EA with the strategy tester?

 

Hi guys,

I have almost never used the strategy tester and so I have some problems with testing a trailing-stop I just coded. I chose a pair, a timeframe and the dates from yesterday until today. I saw the chart opened and the first bars were printed. That's something I have seen before when testing if an indicator repaints. But now I want to open a position and test if my expert advisor works the way it should. But how can I open a position and track it with the strategy tester? If I just open a position manually it is of course not visible in the tester because I test yesterday.

This may be a stupid question but I have no idea how to use the strategy tester correctly with this issue.

Can anyone help?

 
Just for testing you could write code in init to open trades(s)
 
That's a good idea.. I will do that! Thanks!
Reason: