Initially, it was unclear, how your signals were being generated. From your example the signal occurs at the CLOSE. This is SAFE, as it is a known point in time, so using any data from that BAR was fine (as it would be present or past). -- The concern (references to Cheating) would only come into play, if the signal were at an indeterminate time point, say near a High or a Low. My reference to "SIGNAL" is meant to refer to the point "if bar open and closes above line1 (line1 is some calculated price)" in your reference above! This is the point a decision is made to place an order! (A fill would be a subsequent event which follows the signal)! --Thanks stepandfetchit for responding.
Yess, that makes sense. Excuse me, you are right. i can not enter trade at low of next bar.
Yes, that is clear, when I run the back testing software, I will not know data from the past at all. That would not make any sense for me to use data in the future for back testing.
I am not sure how using future (or cheating) prices is even relevant to our conversation, unless I am missing something. If so, please let me know.
Thanks,
Since the note: "Strategies will be processed at the close of each bar" <-- You should not have issue with the referenced form of "cheating", as the time of the signal is at CLOSE!