So does anyone have a working scan that scans for inside bars on the hourly? My scan returns a bunch of stocks that are not inside bars on the hourly but if I set it to 30 minutes it seems to return accurate stocks? As you can see from the image below my scan setup up returns adbe, which the chart shows the closest inside bar 6 bars away. I've confirmed both extended hours are disabled in scan and chart. I feel like potentially the scan hour starts differently from the chart hour? Or does anyone else have ideas? I am new to coding in think script so could be an issue there but as I said earlier, other time frames seem to produce correct scans.