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
13
8%
Arbitration
3
33% / 67%
Overdue
1
8%
Working
2
Developer 2
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
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
(141)
Projects
150
41%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
8
Developer 8
Rating
(3)
Projects
3
33%
Arbitration
0
Overdue
0
Free
Published: 2 articles
9
Developer 9
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
10
Developer 10
Rating
(162)
Projects
287
34%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
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
Looking for a Proven Non-Repainting Gold Indicator (XAUUSD) – High Accuracy & Ready-Made Solutions Only 📌 Project Description: I am looking for a high-quality, non-repainting indicator specifically for XAUUSD (Gold) that is already developed and tested. ⚠️ Important: I am NOT looking for a new indicator to be built from scratch. I want an existing, proven system that you have already created and are confident in. 🎯
Project Description I am looking for a highly experienced MQL5 developer to build a professional-grade Expert Advisor for MetaTrader 5, focused on XAUUSD (Gold). This project is not a simple EA, but the foundation of a scalable multi-strategy trading system, designed for long-term development and future upgrades. Core Concept The EA must support a maximum of 5 internal strategies, each working independently but
Hi, Before ordering, I want to verify the quality of your ICT/SMC logic. Do you have an existing indicator or strategy (your own work) that I can test on TradingView? If yes, please provide: 1. A demo (invite-only script or video) 2. Proof it is NON-repainting (explained clearly) 3. Live or replay demonstration (not static screenshots) Specifically I want to see: * Clean swing structure (no consecutive highs/lows) *
Project Overview ​I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. ​The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
I’m looking to purchase a profitable automated trading system for NinjaTrader that can trade NQ/MNQ or ES/MES futures . My goal is to find a strategy with strong profit potential , even if it comes with a higher drawdown. Please send any algos you have that trade NQ/MNQ or ES/MES with at least a 1-year backtest , preferably a system that is not based on ultra-fast scalping . Scope of work Provide a NinjaTrader
Good morning, I have a Gap Fill strategy and a 10 min opening range break strategy that trade on RTH ES Futures data I have been working on that seem to have some bugs while live trading. They have both been coded by ChatGPT so I would like someone that know how to properly code a strategy to go over each to proof and debug them. Would you be able to do this and could you possibly add some context or features that
hello, please take a moment to review my project. It is for Quanttower. it is very detailed in the instructions. Thank you, Just let me know if you can do it and the whats the cost and timeframe
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. ​The core logic is based on institutional Order Flow convergence: ​Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. ​Delta/Price Divergence: Filtering for market exhaustion (New Highs
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar

Project information

Budget
30+ USD