Simple grid bot improve manual trading with this need to work for c trader: cTrader Algo

Specification

Grid Trading Bot - Corrected Summary with Price Movement %

Basic Bot Logic

The bot creates a grid of limit orders within a specified price range with equal lot sizes and progressively increasing upward price movement requirements for profit.

Initial Setup
Parameters you set:

  • Stop Loss price (e.g., 1900) - where the loss will occur
  • Maximum loss (e.g., €1000) - how much money you're willing to lose
  • Price range for positions (e.g., 1950-1999) - where limit orders are placed
  • Number of positions (e.g., 50 positions)
  • Initial Price Movement % (e.g., 0.01%) - by what % the price must rise for the first TP

How the Bot Calculates and Places Orders

Step 1: Price Distribution

  • Bot divides the range 1950-1999 into 50 equal parts
  • First position at 1950, last at 1999
  • Each position is spaced approximately 1% price difference apart

Step 2: Lot Size Calculation (Equal for All)
Bot calculates:

  • Maximum loss per position: €1000 ÷ 50 positions = €20 per position
  • Worst case scenario: Position closest to SL (at 1950 = 50 points to SL 1900)
  • Lot size: Based on €20 loss over 50 points, determines lot size
  • Result: All positions have equal lot size

Step 3: Progressively Increasing Price Movement % for Take Profit
Bot calculates the increase:

  • IMPORTANT: Lower positions need HIGHER % movement for TP
  • Price Movement increase: For each lower position, required price movement increases by 0.01%

Take Profit distribution:

  • Position 1 (entry 1950): TP when price rises by +0.50% = 1959.75 (highest)
  • Position 25 (entry 1975): TP when price rises by +0.25% = 1979.938
  • Position 50 (entry 1999): TP when price rises by +0.01% = 1999.1999 (lowest)

Operation During Trading

When price moves down (1950-1999):

  • Price hits position at 1999 → limit order executed (needs only +0.01% movement for TP)
  • If price goes lower → hits position at 1975 (needs +0.25% movement for TP)
  • If goes even lower → hits position at 1950 (needs +0.50% movement for TP)

Scenario 1: Price reverses upward

  • Position at 1999 reaches TP with small movement (+0.01% = 1999.1999)
  • Position at 1975 needs larger movement (+0.25% = 1979.938)
  • Position at 1950 needs largest movement (+0.50% = 1959.75)
  • Result: Higher positions close faster with profit

Scenario 2: Price goes to Stop Loss (1900)

  • All open positions close with loss
  • Total loss = maximum €1000
  • Each position loses maximum €20

Practical Operation Example

Your settings:

  • 50 positions between 1950-1999 (Gold)
  • Stop loss at 1900
  • Maximum loss €1000
  • Initial price movement 0.01%

Bot places:

  • Position 1: Limit at 1950, lot 0.X, TP at 1959.75 (+0.50%), SL at 1900
  • Position 25: Limit at 1975, lot 0.X, TP at 1979.938 (+0.25%), SL at 1900
  • Position 50: Limit at 1999, lot 0.X, TP at 1999.1999 (+0.01%), SL at 1900

System Logic:

  • Lower positions (bought cheap) need higher % movement for profit
  • Higher positions (bought expensive) need smaller % movement for profit
  • This creates a system where positions bought closer to current price close faster

Important Addition: Order Management
The bot calculates all positions but doesn't open all limit orders simultaneously. Instead, it opens only 10 limit orders at a time and monitors price movement to avoid having too many orders in the market. As orders get filled or price moves, the bot dynamically places additional orders according to the predetermined grid strategy.

12:10 AM

Responded

1
Developer 1
Rating
(9)
Projects
12
8%
Arbitration
3
33% / 67%
Overdue
1
8%
Free
2
Developer 2
Rating
(4)
Projects
7
0%
Arbitration
3
33% / 33%
Overdue
3
43%
Working
3
Developer 3
Rating
(4)
Projects
5
20%
Arbitration
1
100% / 0%
Overdue
0
Free
4
Developer 4
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(3)
Projects
1
0%
Arbitration
5
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(127)
Projects
135
38%
Arbitration
3
33% / 33%
Overdue
1
1%
Loaded
8
Developer 8
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Working
Published: 2 articles
9
Developer 9
Rating
(295)
Projects
472
40%
Arbitration
102
40% / 24%
Overdue
78
17%
Busy
Published: 2 codes
10
Developer 10
Rating
(159)
Projects
284
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Loaded
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Apply with a keen sense of responsibility . Copy the code . Both of my expert has sufficient materials . Its a simple winning strategy , therefore please be ahead of time . Code BLUE . Changing The Strategy According to what i think is correct
I would love to see most of my trades going well being in profits! & keep consistent trading without having to blow any accounts be able to identify right trades and have good trading strategy
Yash Agrawal 30+ USD
// Simple EMA Bot input int FastEMA = 9; input int SlowEMA = 21; void OnTick() { double fast = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,0); double slow = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,0); if(fast > slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_BUY,0.01,Ask,10,0,0); } if(fast < slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_SELL,0.01,Bid,10,0,0); } }
Gold robot Ga1 30 - 200 USD
mport pandas as pd import numpy as np def detecter_tendance(data): # Code pour détecter la tendance pass def identifier_niveaux(data): # Code pour identifier les niveaux de support et de résistance pass def calculer_stop_loss(tendance, support, resistance): # Code pour calculer les stop loss pass def calculer_profils(tendance, support, resistance): # Code pour calculer les profils mport pandas as pd
Martingale Strategy 50 - 70 USD
I need a gambling bot that implements the Martingale Strategy for betting on roulette. It will be used on platforms like Betcity and Unibet to manage bets effectively. Scope of work - Develop a bot that implements the Martingale Strategy for roulette. - Ensure compatibility with Betcity and Unibet platforms. - Include functionalities for adjusting bet size and managing losses. - Integrate platform-specific features
Dear Developers, I am seeking a professional developer to build an institutional-grade automated trading system that operates exclusively using pending orders, with advanced and fully customizable trade management logic. This is not a basic Expert Advisor. The goal is to create a structured, intelligent, and long-term trading system with clean architecture and professional execution standards. Project Requirements
Hello there Hpe you are doing good I am in search of a pine script expert developer who can build strategy in apudFlow in pinescript. Kinldy bid on this project if you can do this
I need a scalping-specific logic MT5 trading bot with a Donchian-channel–based dynamic stop-loss and take-profit system, applies RSI volatility filtering to avoid low-quality setups, and allows asset-specific adjustable parameters for fine-tuning performance Trading details: - Symbol: Any Forex EUR/USD - Platform: MT5 - Strategy type: Scalping (fast trades) - Timeframes: 5sec/ M1 / M5 - Fixed Stop Loss and Take
Looking for an experienced MQL5 developer to analyze and reverse-engineer the trading logic of an existing scalping Zone Recovery EA using Moving Averages and Bollinger Bands, and then rebuild it
EA Expert MTA 4 30+ USD
I have my own indicator and needs to create EA expert working smoothly with it to hit the targets as defined in indicator: Technical approach: - The EA will read the indicator signals using Copy Buffer on the selected timeframe - The EA should hit indicator variable targets factor -​Auto-Entry: Instant execution when the signal appears. ​-Alerts: Mobile Push Notifications + Pop-up alerts. -​Money Management Auto-lot

Project information

Budget
30+ USD