After reading this answer in Quora. I realized that I always use close price in the OnData mehotd.

So, if I send an order based on the actual bar close; Am I using future data to make decisions?

Thanks in advance.

Author