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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.