i created a simple strategy that enterlong() when the "High" of the bar goes above a certain price (super simple)
but the order does not get placed on the bar that actually triggers the event, it keeps placing it on the bar after. The bar after just happens to gap up which means i would get a bad entry price.
how do i make it so it buys on the bar that triggers the signal? (like real time)

Comment