An opening-range breakout written in Pine, compiled, backtested, diagnosed and optimised on real Hyperliquid history until the drawdown gate holds. The last 30% of the history is a hold-out the optimiser never sees.
Watch the loop write a strategy, compile it, test it, read its own trades and optimise it until the risk gate holds, or say plainly that it doesn't. Every number comes from a real run in your browser.
01Write
An opening range at the 09:30 New York open, DST-aware, as plain Pine you can read and edit.
02Compile
Parsed by the same Pine engine the terminal runs, so errors surface before anything is tested.
03Backtest
Up to 5,000 bars with 0.045% commission, 1 tick of slippage and next-open fills.
04Diagnose
Reads its own in-sample trades for losing weekdays, sides and opening-range sizes.
05Optimise
Grid-sweeps range, stop, target and exit hour on the first 70% of history only.
06Verify
Checks drawdown, profit factor, trade count and the hold-out it never optimised on.
Search markets, views and actions