βοΈ Algorithm
Every gate, score weight, and blocking indicator the application uses.
The system is defense-first: a coin (or a range) must pass every gate in its flow before any position opens. Scores rank candidates; gates are hard rules with no compensation. All weights below are learned from real trading outcomes via the feedback loop and update automatically.
1. Scan Gates β Conservative & Risk-Taker
All four must pass simultaneously. A coin that fails any gate is listed in the scan message with the exact blocking indicator (π΄).
| Gate | Conservative | Risk-Taker | Blocking indicator (π΄ shown when) |
|---|---|---|---|
| Z-score (dip depth) | must be < β1.0 | must be < β1.5 | Z-score β₯ threshold |
| Momentum | must be > 5.0 | must be > 10.0 | momentum β€ threshold |
| Volatility | must be < 8.0 | must be < 25.0 | volatility β₯ threshold |
| RSI | must be < 70 | must be < 60 | RSI β₯ threshold |
Indicators are computed over a 20-day lookback. The score ranks how strongly a coin embodies "oversold but rebounding"; the gates are pass/fail.
2. Score Weights (Feedback-Learned)
Each factor starts at an equal weight of 0.25 and is updated after every closed position: factors that predicted successful trades gain weight, factors that misled lose weight (multiplicative exponential update, normalized).
| Flow | Factors | Current weights |
|---|---|---|
| Futures (upward / conservative / risk scans) | RSI · Momentum · Z-score · Volatility | loading⦠|
| Grids (sideways regime) | Oscillations · ADX · Drift · 24h width | loading⦠|
Futures weights refresh with every closed position; grid weights with every closed grid. History is snapshotted daily.
3. Grid-Opportunity Gates (Sideways Regime)
| Gate | Rule |
|---|---|
| Market cap | Top 100 coins only |
| 7-day range width | between 3% and 25% |
| Oscillations (bounces) | β₯ 4 crossings of the range midpoint over 7 days; Β±3% band touches over 24h |
| Low drift | net 7-day drift must be < 60% of range width |
| Composite score | β₯ the score threshold in settings (auto-open at 15) |
| No duplicates | coins with a grid bot already running are excluded |
| Regime pause | no new grids (auto) while BTC 7-day drift β€ β5% (configurable; manual opens stay free) |
| Daily cap | max $ invested in new grids per day (settings) |
4. Futures Gates (Upward & Rising-Coin Flows)
| Gate | Rule |
|---|---|
| Score threshold | score β₯ the auto-open value in futures settings |
| Regime gate (upward) | ETH must be < 0.5% below its 24h high |
| Market gate (rising coins) | only fires when BTC + ETH are both declining (downward regime); rise β₯ 2% on $5M+ volume with relative strength β₯ 2.0Γ |
| Funding gate | coin's funding rate β€ Max Funding Rate (default 0% β longs get paid); skips like skip BTCUSDT β funding 0.006% exceeds 0% (longs would pay) |
| Stablecoin exclusion | USDC, DAI, TUSD, FDUSD and other pegged pairs never open futures |
| Position limit | max 3 concurrent positions (shared across flows) |
| Per-run cap | 1 new position per scan run |
| Daily cap | max $ invested per day (settings) |
5. Exit Gates (Every Position)
| Gate | Rule |
|---|---|
| Take profit | TP % of invested margin (default 4%); triggers arm a trailing TP |
| Trailing retrenchment | once TP is armed, closes when profit retraces by the retrenchment setting (default 1%) from its peak β worst case is the TP level minus the retrenchment |
| Stop loss | hard close at SL % of invested margin (default 4%) β no trailing |
| Compounding | next order grows 25% after a TP, shrinks 25% after an SL ($10 floor, daily-cap ceiling); resets only when the Amount setting changes |
6. Telegram Channel Indicators
| Channel | Events | Markers & blocking indicators |
|---|---|---|
| Blind Monkey (Scanner) | Scan results | π΄ in front of every blocking criterion: Z-score β0.59 (must be below β1.5), momentum 6.16 (must be above 10.0), volatility, RSI |
| Futures New | Positions opened | π’ OPENED; skips show the gate that blocked (funding, already holding, daily cap, stablecoin) |
| Futures Close | Positions closed | π’ profit / π΄ loss on the P&L line |
| Futures Funding | Funding events | β |
| Grid New | Grid bots opened | π’ OPENED |
| Grid Profit | Grid profit events | π° π’ |
| Grid Closures | Grids closed | reason (take profit / stop loss / manual) |
| Ka-ching | Profit-only events | π° π’ β plays the ka-ching sound |
| Loss Events | Loss-only events | π’ with π΄ link to /performance β plays the boohoo sound |