I think dom993 has this covered mostly.
I disagree that you must use the opening of a daily bar. And doing so may severely limit your possibilities.
Assuming that you have data that includes OHLC, you can access possible entry points anywhere from the open to the low, or the open to the high of that day.
I'll give you an example. Let's say you want to test an entry that goes long when price is 2% below the open (OP*.98). If your data tells you that the low is greater than .98% of the open, then you know you could have entered at your entry target price, because price would have at least traded down to your target.
Conversely, if you want to go short, just reverse the logic. A high, for example, that is 5% above your open (OP*1.05), would have given you access to any trade that was at least up to that point.
The only drawback here is that with daily data you can't access both an intraday entry, and exit within the same bar, because you'll never know which came first. You'll just have to exit at the close, or extend the trade to another day (or days), and can also set exits based on the same techique of trading up to the high, or down to a low. (Be careful in coding that you are not accessing the low or high itself.)
You can of course broaden your testing to other measures using this same technique. Maybe you want to enter when the low is .97 of the low the day before. No problem. Just code accordingly. If "today's" low is below .97 of the previous day, then you know that could could have entered at your target of .97 below yesterdays low.
Hopefully that will be helpful.