OPEN-SOURCE SCRIPT
Casper SMC 5min ORB - Roboquant AI

🚀 Key Features:
🧠 AI-Style Logic Enhancements:
⚙️ Recommended Settings:
📌 Note:
- Opening Range (09:30–09:35 EST) breakout detection
- Configurable entry type: Instant or Retracement
- Adjustable Risk:Reward multiplier and contract sizing
- Optional Trailing Stop Loss using ATR
- Second-Chance trades if the first breakout fails
- Visual markers for entries, SL/TP, trade status, and breakout validation
- Day filter: Trade only on selected weekdays
- Session management with configurable close time
- Breakout validation using:
- Wick percentage filters
- Distance filters based on OR range size
🧠 AI-Style Logic Enhancements:
- Smart filters for avoiding overextended or noisy breakouts
- Full support for lookahead-safe logic via barstate.isconfirmed
- Clean box-style trade visualization (entry, SL, TP zones)
- Custom alerts for long and short entries
⚙️ Recommended Settings:
- Use on 5-minute chart
- Best for US indices/ Futures
📌 Note:
- This script is for educational purposes only.
- Performance preview on Tradingview is not accurate
- Yoou need to adjust the settings and run a 1 year report
- Always backtest thoroughly and consult your financial advisor before live trading.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.