What Is This Bot?
This is a fully automated Grid Trading Bot. It works by dividing a price range into evenly spaced levels and automatically placing buy and sell orders at each level — profiting from the natural up-and-down movement of the market, without needing to predict direction.
⚙️ How It Works
⚠️ Note: IF CBOT STOP MANUALLY - Then open position and pending order should be close manually. ⚠️
1. Grid Setup You define a price range (Lower Price → Upper Price) and choose how many intervals (grid lines) to divide it into. The bot calculates equal spacing between each level and places orders automatically across the entire range when it starts.
2. Three Trading Modes
- 🟢 Long Mode — Only places buy limit orders. Best used when you expect the market to trend upward or consolidate above your lower price.
- 🔴 Short Mode — Only places sell limit orders. Designed for bearish or downward-ranging markets.
- 🔵 Neutral Mode — Places both buy and sell orders simultaneously. Ideal for sideways, ranging markets where price bounces back and forth.
3. Automatic Order Recycling Every time a position hits its take profit (TP), the bot immediately recycles that grid level — placing a fresh order right back at the same spot. This means the bot is continuously working, capturing profit on every swing without any manual input.
4. Trailing Grid (Advanced Feature) When enabled, the entire grid shifts dynamically as price moves. In Long mode, the grid follows the price upward; in Short mode, it follows it downward. This allows the bot to keep capturing profit even in a trending market — and optionally stops when a user-defined price limit is reached.
5. Real-Time P&L Tracking On every new candle, the bot logs a full P&L summary including total take-profit hits, realized profit, floating profit, and combined total — keeping you informed without lifting a finger.
🛡️ Built-In Risk Controls
- Stop If Range Is Broken — Automatically halts the bot if price moves outside the defined grid range.
- Cancel Pending Orders On Break — Cleans up all open limit orders when a range break is detected.
- Close Open Positions On Break — Optionally closes all active trades to prevent further exposure.
- Trailing Price Limit — A hard ceiling (Long) or floor (Short) that stops the bot once price reaches a pre-set level, locking in gains.
- Grid Count Cap — The total number of active orders + positions is always capped at your chosen grid count, preventing overexposure.
⚠️ Risks to Be Aware Of
Trading bots carry real financial risk. Before using this bot with live funds, please read and understand the following:
1. Trending Markets Grid bots thrive in ranging, sideways markets. If the market trends strongly in one direction and breaks out of the grid range, the bot will accumulate unrealized losses on open positions. In Long mode during a strong downtrend, or Short mode during a strong rally, losses can grow significantly.
2. Capital Requirement Each grid level holds an open position simultaneously. With many grid levels and larger lot sizes, the total margin and exposure can be substantial. Always calculate your full worst-case exposure before running the bot.
3. No Stop Loss on Individual Positions The bot does not use traditional stop losses per trade. Protection comes from the range-break mechanism — but if that is disabled, individual positions can stay open indefinitely with unrealized losses.
4. Trailing Grid Risk While the trailing grid feature is powerful, it can cause the grid to "chase" a fast-moving market, potentially overextending into an unfavorable zone before the stop is triggered.
5. Broker & Spread Dependency The profitability of each grid level depends heavily on broker spread and commissions. With tight grid spacing and wide spreads, individual trades may yield little or no net profit after costs.
6. No Guarantee of Profit Past performance in backtesting does not guarantee future results. Market conditions change, and no automated system eliminates trading risk entirely.
Recommended: Always test on a demo account first. Optimize grid range, step size, and lot size for your specific instrument and market conditions before going live. Use proper risk management and only trade with capital you can afford to lose.
5 | 0 % | |
4 | 100 % | |
3 | 0 % | |
2 | 0 % | |
1 | 0 % |