Look at historical levels for ATH and local highs, as well as ATL and local lows, etc. Candle lengths and other parameters optimized for BTC, but can be adjusted for any charts.
Link to Script:
註釋
Zoomed in with Candles Multiplier option switched on for lower time-frame chart: