Deriv Bot — Automated Trading Without Code

Deriv Bot is a visual, drag-and-drop algorithmic trading platform that allows you to create automated trading strategies for synthetic indices without any programming knowledge. It uses a block-based system similar to Scratch, making automation accessible to everyone.
What Is Deriv Bot?
Deriv Bot is a browser-based platform where you build trading strategies by connecting visual blocks. Each block represents a trading action (buy, sell), a condition (price above/below), or a logic element (if/then, loop). When you connect blocks together, they form a complete trading algorithm.
Key Features:
- No coding required — Drag-and-drop interface
- Free to use — Available to all Deriv account holders
- Pre-built strategies — Start with templates and modify them
- Real-time testing — Test strategies on live market data
- 24/7 operation — Bots can trade while you sleep (on synthetics)
Getting Started with Deriv Bot
Step 1: Access Deriv Bot
- Log in to your Deriv account
- Navigate to Deriv Bot (bot.deriv.com)
- You will see the workspace with block categories on the left
Step 2: Understand the Block Categories
- Trade Parameters: Set instrument, trade type, stake, duration
- Purchase Conditions: Define when to buy Rise or Fall
- Sell Conditions: Define when to exit the trade
- Indicators: Add technical indicators (RSI, Bollinger, MA)
- Logic: If/then/else, comparisons, math operations
- Utility: Notifications, logging, candle data
Step 3: Build Your First Bot
A simple Rise/Fall bot:
- Drag "Trade Parameters" block — set Volatility 75, Rise/Fall, $1 stake, 5 ticks
- Drag "Purchase" block — set to buy "Rise"
- Connect blocks together
- Click "Run" to start the bot
Pre-Built Strategy: Martingale
What It Does:
- Starts with a base stake (e.g., $1)
- If a trade wins, returns to base stake
- If a trade loses, doubles the stake
- Theory: The next win recovers all previous losses
Blocks Required:
- Trade Parameters: Symbol, trade type, initial stake
- After Purchase logic: Check if last trade won or lost
- If Won: Reset stake to base amount
- If Lost: Multiply stake by 2
- Repeat: Continue buying
Critical Warning:
Martingale is extremely dangerous. After 7 consecutive losses:
- Start: $1 → $2 → $4 → $8 → $16 → $32 → $64 → $128
- Total lost: $255 for a potential $1 recovery
- Account can be wiped in minutes
- Only use with very small base stakes and large accounts
Pre-Built Strategy: D'Alembert
What It Does:
- Starts with a base stake
- If a trade loses, increase stake by one unit
- If a trade wins, decrease stake by one unit
- More conservative than Martingale
Example:
Base unit = $1
- Trade 1: $1 (loss) → Stake becomes $2
- Trade 2: $2 (loss) → Stake becomes $3
- Trade 3: $3 (win) → Stake becomes $2
- Trade 4: $2 (win) → Stake becomes $1
Building a Custom Strategy
Example: RSI-Based Bot for V50
Logic:
- Get the RSI(14) value
- If RSI is below 30 (oversold): Buy Rise
- If RSI is above 70 (overbought): Buy Fall
- If RSI is between 30-70: Do nothing (wait)
- Set stake to $1 with 5-minute contract duration
Implementation:
- Add "Before Purchase" block
- Add RSI indicator block (period: 14, symbol: V50)
- Add If/Else logic block
- Condition: RSI < 30 → Purchase "Rise"
- Condition: RSI > 70 → Purchase "Fall"
- Else: Skip (do not purchase)
- Set After Purchase: Always restart (loop)
Risk Controls for Bots
Built-in Protections:
- Maximum Loss Limit: Set the total amount the bot can lose before stopping
- Maximum Trades: Set maximum number of trades before the bot stops
- Profit Target: Stop the bot after reaching a profit target
- Trading Hours: Some users run bots only during specific hours
Essential Bot Rules:
- Always test on a demo account first — run for at least 48 hours
- Set a maximum loss that you are comfortable losing entirely
- Start with the smallest possible stake
- Monitor the bot periodically — do not set and forget forever
- Keep a log of bot performance and adjust parameters based on results
Common Mistakes with Deriv Bot
- Using Martingale with large stakes — Account wipeout risk
- Not setting a maximum loss — Bot runs until account is empty
- Over-optimizing — A strategy that works perfectly in the past may not work in the future
- Running on live immediately — Always test on demo first
- Multiple bots simultaneously — Can multiply losses if market conditions change
Key Takeaways
- Deriv Bot allows anyone to create automated trading strategies without coding
- Start with pre-built strategies and modify them to understand how blocks work
- Martingale strategies are dangerous — use them only with extreme caution and tiny stakes
- Always set maximum loss limits and test on demo accounts first
- A profitable bot still needs monitoring and periodic adjustment
- Automation does not eliminate risk — it just executes your strategy faster