I don't know what you are saying. If your strategy is to take the signal on a bar close, then your back test should do the same, as BigBubba suggested. If your strategy is to take the signal intra-bar, then again, your back test should do the same. So, what is the problem?