INVITE-ONLY SCRIPT

Hour-Stats

36
THIS IS FOR NQ ONLY.

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.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.