Opening Range Breakout Stats

219
What actually happens after the opening range breaks? This script draws the range and counts it on your own chart.

WHAT IT DOES
• Draws a daily opening range from a window you choose: Asia range, London first hour, New York first 30 minutes, or any custom window and timezone. Presets follow daylight saving time.
• After the window closes, it tracks the first bar that closes outside the range, whether price closes back inside within a horizon you set (30 minutes by default), and whether the break is still valid at the last close before the next window.
• A compact dashboard tabulates the loaded history: days broken up only, down only, on both sides or not at all; the share of first breaks that failed; the share still held at the end of the day; the median extension in multiples of the range height.
• Every rate comes with a Wilson 95% margin, and the sample size is in the tooltip. A tag reads "Coin flip" when the interval contains 50%, "Above 50%" or "Below 50%" when it does not.

HOW TO USE IT
Read the base rate before you trade the break. On many markets a large share of days break both sides of the opening range, and a meaningful share of first breaks close back inside within half an hour. The table tells you how often, on this symbol and this timeframe, with the number of days behind each figure. Change the window, the horizon or the market and compare.

SETTINGS
Preset or custom window and timezone · failed-break horizon in minutes · range boxes, extended levels, break markers and dashboard on/off · dashboard position and text size. Alerts: first break up, first break down, first break failed.

NOTES
Events are close-based and evaluated on confirmed bars only, so nothing repaints. Statistics cover the bars loaded on the chart: a lower timeframe loads fewer days. Use a chart timeframe at or below the window length. The figures are descriptive base rates, not signals and not a forecast. Pine Script v6, standard chart data only.

No indicator is infallible. Nothing here is financial advice — every trading decision is your own.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.