Posted: 03 March, 2026
We're excited to announce the release of MagicTradeBot v5.2, one of our most significant updates yet. This release brings three major new features, deeper integration across the bot's core systems, and a cleaner, more informative dashboard — all designed to help you trade with more confidence and less guesswork.
Here's everything that's new.
1. Top Gainer Cooldown Signal — Enter After the Dust Settles
One of the most common mistakes in crypto trading is chasing pumps. Prices spike, FOMO kicks in, and entries happen at exactly the wrong moment — right at peak risk.
The new Top Gainer Cooldown Signal is built to solve that problem.
Instead of rushing in during a pump, the system:
- Scans the entire exchange to find the strongest movers
- Filters for symbols that have gained above a configurable threshold (e.g., 70%+)
- Places those symbols under observation, monitoring for volatility to cool down
- Fires the trade signal only once price action settles
- Hands off seamlessly to your existing DCA, Volatility Gate, and Grid DCA logic
The result is a more controlled, less emotional entry — catching the second leg of a move rather than the most dangerous part of the first.
Key configuration highlights:
top_n— how many top gainers to track at oncelookback_candles+kline_interval— define your gain measurement window (e.g., 24 × 1h = 24-hour lookback)min_gain_pct— the minimum gain required to qualify a symbol for observationvolatility_gate— a full suite of smoothed-movement controls including explosive threshold, neutral streak requirement, and maximum observation timesignal_direction— trade long (continuation) or short (exhaustion fade)min_confidence— filter signals by quality score based on gain size, cooldown depth, and streak strength
👉 Full Top Gainer Signal User Guide
2. Position Sizing Engine — One Place for All Risk Logic
Prior to v5.2, capital allocation was scattered across multiple configuration files. In v5.2, we've redesigned this from the ground up.
All position sizing now lives in a single dedicated file: position_sizing.yaml
What changed?
The old settings CalculateAmountDynamically and TradeAmountPer have been removed and replaced by a cleaner, more powerful system. initial_trade_amount has also been moved out of trading.yaml and into position_sizing.yaml, ensuring all capital logic is in one place.
Sizing modes available
| Mode | How It Works |
|---|---|
| Fixed | Uses initial_trade_amount directly — simple and predictable |
| Percent | Calculates trade size as a % of your balance, capped by total exposure limit |
| Kelly Criterion | Sizes based on historical win rate and average PnL, with configurable Kelly fraction |
| Risk-of-Ruin | Limits position size to maintain a safe probability of account survival |
Exposure calculation
The engine calculates your total exposure per trade — including your initial entry, all DCA orders, and all Grid DCA orders — and ensures it never exceeds your configured total_percent_investment_per_trade limit.
For example:
- Balance: 5,000 USDT
total_percent_investment_per_trade: 2%- Maximum allowed exposure: 100 USDT — across every order in the trade
Balance behavior
Set balance: 0 to use your live exchange balance. Set a fixed value (e.g., balance: 5000) for demo/simulation mode, where the bot uses balance ± total PnL to accurately simulate compounding.
Why this architecture is better
- No capital logic inside the DCA module — cleaner separation of concerns
- Deterministic risk control — no surprises from overlapping settings
- Simulation matches live behavior — what you test is what you trade
- Future-proof — ready for AI-driven optimization and more advanced sizing models
👉 Full Position Sizing Engine User Guide
3. Trade Chart Viewer — Visualize Every Completed Trade
Understanding why a trade played out the way it did is as important as the result itself. The new Trade Chart Viewer gives you a professional, interactive candlestick chart for every completed trade.
What's displayed on each chart
- Candlestick price data at your chosen timeframe
- Entry price (including average entry across DCA orders)
- Stop loss and take profit levels
- Liquidation price
- Each individual DCA entry, labeled and color-coded
- Smart Take Profit targets and profit lock levels
- Final close price
How to open a chart
Charts load from local historical data files. Simply:
# Step 1: Navigate to your completed_trades folder
# Step 2: Start a local server
python -m http.server 8080
# Step 3: Open in browser
# http://localhost:8080/ALICEUSDT_3.html
Key features
- Timeframe selector — switch between 5m, 15m, 30m, 1h, 4h, and 1d on the fly
- Interactive line tooltips — click any level line to see its type, price, and target percentage
- Clean dark theme — minimal grid, bold lines, focused on what matters
- DCA visualization — see exactly how your position was built over time
- Smart TP analysis — review staged exits and locked-in profit behavior
This tool is designed for post-trade review, strategy validation, and iterative improvement — not just knowing what happened, but understanding it.
👉 Full Trade Chart Viewer User Guide
4. Unified Initial Trade Calculation
AutoTrade's initial trade calculation is now fully integrated with the Position Sizing Engine, meaning the same algorithm is used consistently across the entire bot. No more discrepancies between AutoTrade sizing and manual configuration — one engine, one result.
5. Cleaner Reporting
Unnecessary analytic log noise has been removed, and the daily, weekly, monthly, and yearly performance reports have been improved for better clarity and readability. Less clutter, more signal.
6. Top 3 Gainers on the Dashboard
Your dashboard now surfaces the top 3 gainers in real time, giving you an at-a-glance view of where the market momentum is building — right where you need it.
7. Numerous Other Improvements
As always, v5.2 includes a range of smaller fixes, stability improvements, and performance optimizations under the hood.
Upgrade to v5.2
MagicTradeBot v5.2 is available now. If you're upgrading from a previous version, pay particular attention to the new position_sizing.yaml file — the old CalculateAmountDynamically and TradeAmountPer settings have been removed, and initial_trade_amount has moved from trading.yaml.
As always, test in demo mode before going live.
Questions? Drop into the community or reach out via support. Happy trading. 🚀