cTrader cBot that places a symmetric grid of buy limit and sell limit orders around the current price and automatically replaces orders after they close.
- Symmetric Grid - Places buy limits below and sell limits above the starting price
- Auto-Replacement - Closed positions are automatically replaced with new limit orders at the same price
- Configurable Spacing - Grid spacing in pips with adjustable number of levels
- Optional Stop Loss - Enable per-order stop loss with configurable distance
- Live Dashboard - Shows open positions (buy/sell count), pending orders and running P/L
- Clean Shutdown - Cancels all pending grid orders when stopped
| Parameter | Default | Description |
|---|---|---|
| Grid Spacing (Pips) | 20 | Distance between grid levels |
| Grid Levels (each side) | 5 | Number of levels above and below center |
| Volume (Lots) | 0.01 | Order size per grid level |
| Take Profit (Pips) | 20 | Take profit distance |
| Use Stop Loss | false | Enable stop loss |
| Stop Loss (Pips) | 40 | Stop loss distance |
| Label | GridBot | Order label for identification |
- Open cTrader
- Go to Automate > cBots
- Create a new cBot and paste the contents of
GridBot.cs - Build the project
- Attach to a chart and configure parameters
MIT License - Free to use, modify and distribute.