Strategy Algorithms
Build advanced entry logic with visual condition blocks and branching flows.
Overview
The Algorithm editor mode lets you express more nuanced entry logic than the flat filter list. Instead of all conditions ANDed together, you build a tree of condition blocks with THEN and ELSE branches. Each leaf decides whether to take the position or skip the token.
How It Works
- Condition blocks group filter conditions joined by AND or OR
- THEN branch runs when the block evaluates to TRUE
- ELSE branch runs when the block evaluates to FALSE
- Actions at the leaves: Take Position (buy) or Do Nothing (skip)
You can use the same 200+ filter configurations as in the filters mode (12 categories, timeframes, organic variants — see Entry Strategies).
Operators Inside a Block
| Operator | Logic |
|---|---|
| AND | All conditions in the block must be true |
| OR | At least one condition must be true |
Each block uses one combinator at a time; nest blocks to mix logic.
Actions at Leaves
| Action | Effect |
|---|---|
| Take Position | Bot opens a buy on this token |
| Do Nothing | Bot skips this token |
Example Flows
Single Block
┌─────────────────────────┐
│ Liquidity > $50K AND │
│ Top 10 Holders < 50% │
└───────────┬─────────────┘
│
┌──────┴──────┐
│ │
✅ TRUE ❌ FALSE
│ │
Take Position SKIPChained Blocks
┌─────────────────────────┐
│ Block 1: Safety Check │
│ Mint Authority Revoked │
│ Buy/Sell Tax = 0 │
└───────────┬─────────────┘
│
┌──────┴──────┐
│ │
✅ TRUE ❌ FALSE
│ │
▼ SKIP
┌─────────────────────────┐
│ Block 2: Momentum │
│ Price Change 1h > 5% │
│ Volume 1h > $10K │
└───────────┬─────────────┘
│
┌──────┴──────┐
│ │
✅ TRUE ❌ FALSE
│ │
Take Position SKIPMultiple Paths
┌─────────────────────────┐
│ Block 1: Initial Screen │
└───────────┬─────────────┘
│
┌──────┴──────┐
│ │
✅ TRUE ❌ FALSE
│ │
▼ ▼
┌─────────┐ ┌─────────┐
│ Block 2 │ │ Block 3 │
│ Aggressive │ Conservative
└────┬────┘ └────┬────┘
│ │
Take Position Take Position / SKIPBuilding Your Algorithm
- Start with one block — your first set of conditions
- Pick AND or OR inside the block
- Set actions for TRUE and FALSE branches
- Add more blocks when you need different logic on each side
- Test in Shadow Mode before going live
Best Practices
- Safety first: put security checks (taxes, mint authority, holder concentration) in early blocks — short-circuit dangerous tokens
- Keep paths clear: every branch should end at Take Position or Do Nothing
- Start small: one block first, add complexity only when needed
- Test thoroughly: complex flows have more edge cases — Shadow Mode is your friend
Related
- Strategy Filters — flat filter list mode
- Entry Strategies — full filter reference
- Create Strategy — strategy overview
Last updated on