Hello, I am using a 5m chart, and I want to pull the highest high and the lowest low of the last 5 days. I know this might seem easy, but Java is not my forte; does anyone know how this can be done? I want to start those in variables and make a conditional to say if the current price is 95% or more of the highest high, dont trade. I think I can do that part, but pulling the highest high is a bit tougher for me and I cant seem to get it.
Thanks in advance.
Thanks in advance.