Overview
The Strategy Builder Tool in MagicTradeBot allows traders to design, configure, and simulate algorithmic trading strategies using historical market data. The tool supports advanced position sizing, risk management, and dynamic entry/exit logic — empowering users to backtest strategies before risking real capital.
Access it at: https://magictradebot.com/en/strategy-builder-tool
Step-by-Step Usage
Step 1: Select Crypto Symbol
Choose a cryptocurrency from the supported list. These symbols must have sufficient historical Kline data available to perform simulations.
Step 2: Strategy Configuration Panel
After symbol selection, you are directed to the configuration panel where you input the strategy parameters:
1. Initial Virtual Balance
Sets the starting balance for simulation. Required for risk-based strategies. Leave empty to use default or disable account-level simulation.
2. Initial Order Size (USDT)
Base trade size before leverage. Example: 2 USDT with 10x leverage → 20 USDT position.
3. Trading Leverage (Multiplier)
Defines leverage. Input numeric value only (e.g., 10 = 10x). Increases risk and potential reward.
4. Estimated Position Size
Computed as: Order Size × Leverage (Read-only).
5. Initial Take-Profit (%)
Static profit target. Use 0 to disable and rely on Smart Take-Profit.
6. Smart Take-Profit Settings
- Breakeven Trigger %: When dynamic TP activates.
- Disable Trailing After Breakeven: Optional lock behavior.
7. Initial Stop-Loss (%)
Static loss limit. Use 0 to disable and rely on Smart Stop-Loss.
8. Smart Stop-Loss Settings
- Trail %: Distance behind price.
- Breakeven Trigger %: Move SL to entry price.
- Disable Trailing After Breakeven: Optional lock.
9. Trade Execution Conditions
Trigger trades based on interval price movement. Example: Long if 15m price rises by 1.5% from low.
10. Time-Based Trade Trigger
- Win Only
- Loss Only
- Both
Prevents overtrading and aligns with intervals.
11. Position Sizing Strategy
- Flat
- Martingale / Reverse
- Fibonacci / Reverse
- D'Alembert / Reverse
- Fixed Fractional
- Kelly Criterion / Half-Kelly
Adjusts trade size based on streaks and balance.
12. Max Strategy Step Count
Cap the number of progression steps. Prevents excessive risk escalation.
13. Risk Percentage per Trade
Applicable to: Flat, Fixed Fractional, Kelly, Half-Kelly. Allocates % of balance per trade. Set 0 to disable.
Step 3: Simulation Output (Click "Generate")
After configuration, click Generate to simulate using historical data for the selected symbol.
Summary Statistics
- Total Trades: 52
- Wins: 44
- Losses: 8
- Win Rate: 84%
- Total Returned: 585.80 USDT
- PnL: 65.80 USDT
- Avg Return: 1.27%
- Avg Entry Price: 90434.13
- Avg Quantity: 0.00
- StopLoss Breakevens: 0
- Trailing SL Triggered: 0
- Smart TP Used: 0
- Long Wins: 44 | Short Wins: 0
- Long Losses: 8 | Short Losses: 0
- Max Consecutive Wins: 25
- Max Consecutive Losses: 2
- Profit Factor: 1.67
- Max Drawdown %: 26.04%
- Avg Trade Duration: 1111 min
- First Trade At: 4/6/2025, 10:57:21 PM
- Last Trade At: 7/2/2025, 10:32:05 PM
Visualization Charts
- Price Entries & Exits
- Profit / Loss Over Time
- Win / Loss Summary
- Account Balance Timeline
- Drawdown Over Time
- Trade Duration Distribution
- Entry Direction vs Entry Price
Transaction Log (Sample)
Direction | Status | Entry | Exit | Return (%) | Leverage | Time |
---|---|---|---|---|---|---|
Long | Loss | 80782.6 | 81428.8608 | -2.03 | 40x | 4/6/25, 10:57 PM |
Long | Win | 78131.02 | 78756.0681 | +13.52 | 40x | 4/7/25, 3:49 AM |
Long | Loss | 77646.03 | 78267.1982 | -2.57 | 40x | 4/7/25, 8:38 AM |
Long | Win | 75754 | 76360.032 | +13.58 | 40x | 4/7/25, 1:05 PM |
Notes
- Strategy Builder requires no real capital.
- All logic is backtested using internal Kline data.
- Configurations can be exported to live trading templates.
Best Practices
- Start with conservative risk settings.
- Test strategies across different market conditions.
- Use visual feedback to fine-tune logic.
Support
For help, visit our contact page.