There may be a way if you can union your dataset
to a small table that has encoded the highs and lows.
In that example, the highs and lows were hardcoded, but
there may be a way to generate those programmatically in Tableau Prep.
If this general direction seems plausible to you,
I can explore a PrepFlow.