Hour-Stats

The figures from this indicator are drawn from fifteen years of historical price action. Although we strive for accuracy, errors may occur—these figures shouldn’t be the sole basis for any trading decision. Past performance is not indicative of future results. Trade at your own risk.
Trade at Your Own Risk: This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always do your own analysis and manage your risk appropriately when trading.
Based on NQStats Hour Stats. Find more information here: https://nqstats.com/hour-stats
The Hour-Stats indicator provides a comprehensive, at-a-glance view of key hourly price levels and sweep-based statistics directly on your chart. It’s designed to help you:
Divide the session into 20-minute buckets with vertical lines and mark each bucket’s center.
Track the current hour’s range (high/low) in real time.
Display the previous hour’s high (PHH), mid (PHM), low (PHL), and the current hour’s open as horizontal lines and labels at the top of the next hour.
Overlay “formation percentages” for each 20-minute bucket—showing how often price in past history fell into each low-, mid-, or high-bucket for that hour.
Detect the first “sweep” of the prior hour’s high or low, then annotate the open-return, mid-return, and opposite-side return percentages (“sweep-stats”) a few bars after the hour.
Key Inputs
Vertical Line Color/Style/Width: Customize the bucket dividers.
Prev Hour High/Mid/Low/Open Colors & Styles: Tune the horizontal lines and labels.
Formation Label Colors & Sizes: Adjust the percentage callouts.
Sweep-Stat Text Color/Size & Offset: Control where and how the sweep statistics are plotted.
How to Use
Load the script on an intraday chart (minutes-based).
Watch the 20-minute buckets form within each hour—ideal for monitoring early vs. late-hour behavior.
Observe the PHH/PHM/PHL/Open markers at the top of each hour to gauge the prior hour’s range and current opening level.
Note the sweep-stats when price first breaks the prior hour’s boundary—use these percentages to inform your entries, exits, or risk management.
This is based on 15 years of price action. These stats may be wrong and shouldn't be relied on for your trade decisions. Use at your own risk.
Skrip jemputan sahaja
Hanya pengguna yang diluluskan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Ini selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi terus jheick4094.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.
Penafian
Skrip jemputan sahaja
Hanya pengguna yang diluluskan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Ini selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi terus jheick4094.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.