Strategy Builder
Current baseline strategy trend-pullback-1.0.0. Parameter changes create a new strategy version and require re-validation (backtest + walk-forward + ≥30 days paper).
Rules
| Regime | ADX(14) ≥ 25 ⇒ trending; EMA20 vs EMA50 sets direction. High-vol (RV20 > 2× 100-bar median), low-liquidity and news-dislocated regimes are excluded. |
|---|---|
| Trend filter | Close on trend side of EMA200 (weakened when < 200 bars of history — flagged as missing). |
| Pullback | RSI(14) between 40 and 60. |
| Momentum | MACD(12,26,9) histogram agrees with direction. |
| Entry | At the touch (ask for longs, bid for shorts); zone ± 0.25 × ATR(14). |
| Stop / target | Stop 1.5 × ATR; target hypothesis 3 × ATR. Must be ≥ 1.5 reward:risk AFTER spread, fees and slippage. |
| Gates | Technical ≥ 70% of its subscore, total score ≥ 60, then the deterministic risk engine (absolute). |
| Spot rule | Spot crypto never shorts: downtrends ⇒ NO_TRADE, or EXIT_REVIEW if holding. |
| Cooldown | 4 h per instrument after any exit (no revenge trading). Signals expire after 60 min. |
Score weights (hypotheses)
| technical | 25 |
|---|---|
| macro | 20 |
| news | 20 |
| liquidity | 15 |
| sentiment | 10 |
| execution | 10 |
Not calibrated probabilities. Online self-modification and unreviewed optimisation are disabled by design; ML models require logged datasets, walk-forward validation and explicit approval.