Noticed that you've been asking this question several times across more than one different thread. Did you not see my response I posted here?
https://usethinkscript.com/threads/custom-indicator-in-watchlist-opening-range.1457/#post-13525
I spent quite some time looking into the code you provided, and even wrote a separate standalone study to confirm that, there's absolutely nothing wrong with your premarket high/low code that you posted here.
https://usethinkscript.com/threads/custom-indicator-in-watchlist-opening-range.1457/
https://usethinkscript.com/threads/custom-indicator-in-watchlist-opening-range.1457/#post-13525
I spent quite some time looking into the code you provided, and even wrote a separate standalone study to confirm that, there's absolutely nothing wrong with your premarket high/low code that you posted here.
https://usethinkscript.com/threads/custom-indicator-in-watchlist-opening-range.1457/