I have worked out the daily bars range, say from high-low.
I want to be able to say 'From todays open, if the price goes up 50% of yesterdays range then go long.
Saw some people say 'close' is the word for current price, but I don't want to wait for the daily candle to close, I want to enter that long as price hits that 50% during the day.
Just cant figure out how to put that into my code, any ideas or help would be great, thanks