Strategies
BBRSI (geraked, MT5) faithful port on gold: BB(500,2)+RSI(7) band re-entry reversal with 1.1x averaging grid and 50% trailing stop, long-short, XAUUSDT.BINANCE 5m
Outcome: Abandoned
BbRsiGoldGridPortLS
Outcome Summary
BbRsiGoldGridPortLS was submitted at the user's request as a faithful translation of the BBRSI MT5 expert onto Binance's gold perpetual (5m bars, about 9.5 months of history). The hypothesis itself noted that the default averaging/martingale grid belongs to a family that earlier lessons report as dead, and it pre-registered a grid-OFF variant as the only form considered potentially viable. The strategy never got through coding: after 2 iterations the pipeline abandoned it with 'coding_stuck_3_timeouts'. No backtest, optimization or analyst verdict was produced, so the idea itself was never tested.
Hypothesis
coding_stuck_3_timeouts
Implementation
Faithful port of geraked's MIT BBRSI v1.6 (MT5) on the Binance gold perpetual, 5m bars. It enters toward the mid-band after a band re-entry reversal. The signal needs a bar that closes outside BB(500,2) with RSI(7) beyond 30/70, then a bar that closes back inside the band, on the same side of the mid, with RSI back across 30/70. Size is Risk=1% of balance per original stop distance. The stop distance is |entry - (band - 0.9 x (mid-to-band width))|. No hard SL/TP is sent (IgnoreSL/IgnoreTP). Exits come from GerEA's machinery. A single leg gets a 50%-of-stop-distance trailing stop that rests at the venue as a reduce-only STOP_MARKET. The averaging grid adds 1.1x the largest leg every stop distance against the trade, up to 20 legs, as resting limits. Once two or more legs are open, the whole basket closes at a resting take-profit limit that recovers first_qty x stop_distance plus fees. At most one basket is open at a time. The grid-OFF pre-registered variant is parameters.grid=false; set ignore_sl=false to also send the hard stop.
Iteration History
sandbox_timeout: Verification failed (Layer 3 — sandbox backtest): smoke test exceeded the 300s wall-clock limit on a ~20000-bar window (69 days of XAUUSDT.BINANCE-5-MINUTE-LAST-EXTERNAL). This almost always means per-bar work that scales with history — e.g. rescanning the full funding/supplementary series, or rebuilding a list and calling min()/sorted() inside calculate_signal()/on_bar() on every bar. Precompute sorted timestamp arrays ONCE in __init__ and use bisect, or cache lookups keyed by timestamp, so per-bar cost is O(log n) not O(n).
Outcome Summary
A full port of an EA's order-handling layer (grid baskets, trailing stops, basket take-profits) can be too complex to code within the time limit, so a simpler first version, such as the pre-registered grid-OFF variant, has a better chance of reaching a backtest.
The run was abandoned at the coding stage with reason 'coding_stuck_3_timeouts' after 2 iterations. Verification, backtesting, optimization and analysis were never reached.
A faithful port of geraked's MIT-licensed MT5 'BBRSI' v1.6 EA to XAUUSDT.BINANCE 5m. It trades long and short on Bollinger(500,2) band re-entry reversals toward the mid, confirmed by RSI(7) crossing back over 30/70, and manages exits with a 50% trailing stop and a 1.1x averaging grid (up to 20 levels) that closes the whole basket at a common take-profit.
No performance data exists: the backtest report is empty, there is no optimization report, and no backtest-review, analyst or risk verdict was recorded.
Analysis
BBRSI
Backtest and paper results are hypothetical. Trading involves risk of loss.