title: How to get order to reflect historical price rather than the price where the entry signal triggers?
body: <p>Clarification: I have a strategy where i want to enter on market open, but the signal for the strategy of course can not trigger until the first bar has closed. The issue with this is that my entry is delayed and alters the result of backtests.</p>
  <p>So i am wondering if there is a work around where the signal triggers as usual after the bar has closed, but the entry price is that of the open of the bar rather than the close(signal trigger)? So a historical price, im not sure pine script allows for it.</p>