OPEN-SOURCE SCRIPT
Bolsacava Stats FunOntheRide

Educational indicator created by Fun on the Ride / CryptoNews.
This script was built as a learning exercise after watching a public video by Bolsacava, where several intraday ideas about the E-mini S&P 500 futures contract (ES1!) were discussed.
The purpose of this publication is not to claim ownership of those ideas, impersonate Bolsacava, or present this as an official Bolsacava tool. It is an independent educational Pine Script project designed to show how recurring market claims can be translated into measurable statistics using 30-minute ES1! bars.
The goal is simple: learn, test, and verify.
Instead of assuming that a pattern works because it is often repeated, this tool checks how frequently it has actually occurred across recent historical sessions.
What the indicator shows
The script displays a compact on-chart table with the historical hit-rate of each pattern across three rolling windows:
- 20 sessions: short-term behaviour
- 60 sessions: medium-term context
- 120 sessions: broader baseline
This allows traders to compare whether a pattern is currently persistent, fading, or highly dependent on the selected sample size.
Patterns audited
The indicator tracks five ES1! intraday hypotheses:
H1 — Range-bound open between 15:30 and 17:00 Madrid time
H2 — Sell-off around the European close, from 17:00 to 18:00
H3 — Low-volatility window between 18:00 and 21:00
H4 — Volatility expansion between 20:00 and 21:00
H5 — Last-hour directional drift from 21:00 to 22:00
All times are referenced in Madrid local time. The calculations are based on bar timestamps and defined intraday windows.
Optional filters
The script can also recompute the statistics on a cleaner sample by excluding sessions affected by potentially anomalous events:
- CPI release days
- FOMC meeting days
- Extreme sessions, defined by unusually large range or volume
Comparing filtered and unfiltered results helps reveal whether a pattern is robust across normal sessions or mainly supported by outlier days.
How to interpret it
A higher percentage means that the pattern occurred more often within the selected rolling window.
This indicator does not provide buy signals, sell signals, stop-loss levels, take-profit levels, or position sizing. It is not a trading strategy.
It is a statistical screener designed to help traders test market narratives before using them as decision-making inputs.
Important notes
- Built for CME_MINI:ES1! on the 30-minute timeframe.
- Results may not translate to other symbols, sessions, or timeframes.
- The development sample covered approximately 600 historical sessions.
- Hit-rates will change over time as new sessions enter the rolling windows.
- Past frequency does not imply future reliability.
Attribution note
This is an independent educational project by Fun on the Ride / CryptoNews, inspired by a public Bolsacava video. It is not affiliated with, endorsed by, or officially published by Bolsacava.
The aim is to learn Pine Script, practice statistical thinking, and explore how trading narratives can be tested with data.
Disclaimer
This script is for educational and statistical research purposes only. It is not financial advice, does not recommend any trade, and makes no claim of profitability.
Open-source publication
The code is open-source so that users can inspect the logic, verify the calculations, adapt the hypotheses, and suggest improvements.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。