Worked more on reducing the logic for the Value area calculation. Initially it had too many iterations due to a nested for loop. I reduced the number of iterations without introducing very much error at all for the value area calculation. Between the first, heaviest loading time version and this one I added around <=4% error to decrease loading times by more than half from my testing.
Keep in mind my value area calculation is already more accurate than most other scripts because I am updating POC and the range of inquiry for every bar/candle.
let me know what you guys think.