Skip to content

Timonkru/grid-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Grid Bot (cTrader)

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.

Features

  • 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

Parameters

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

Installation

  1. Open cTrader
  2. Go to Automate > cBots
  3. Create a new cBot and paste the contents of GridBot.cs
  4. Build the project
  5. Attach to a chart and configure parameters

License

MIT License - Free to use, modify and distribute.

Author

KruegerAlgorithms

About

cTrader cBot - Grid Trading Bot with configurable spacing, levels and auto-replacement

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages