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

명시

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

응답함

1
개발자 1
등급
(9)
프로젝트
12
8%
중재
3
33% / 67%
기한 초과
1
8%
무료
2
개발자 2
등급
(4)
프로젝트
7
0%
중재
3
33% / 33%
기한 초과
3
43%
작업중
3
개발자 3
등급
(4)
프로젝트
5
20%
중재
1
100% / 0%
기한 초과
0
무료
4
개발자 4
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
5
개발자 5
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
6
개발자 6
등급
(3)
프로젝트
1
0%
중재
5
0% / 100%
기한 초과
0
무료
7
개발자 7
등급
(127)
프로젝트
135
38%
중재
3
33% / 33%
기한 초과
1
1%
로드됨
8
개발자 8
등급
(2)
프로젝트
2
50%
중재
0
기한 초과
0
작업중
게재됨: 2 기고글
9
개발자 9
등급
(295)
프로젝트
472
40%
중재
102
40% / 24%
기한 초과
78
17%
바쁜
게재됨: 2 코드
10
개발자 10
등급
(159)
프로젝트
284
35%
중재
18
22% / 61%
기한 초과
42
15%
로드됨
11
개발자 11
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
12
개발자 12
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
13
개발자 13
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
​ Description: I am looking for a professional MQL4 developer/quant trader with a proven track record in EA optimization. This project involves optimizing a third-party EA that currently has a 2-year live track record. ​ The Task: ​ In-Sample Optimization: Optimize the EA parameters using historical data prior to January 1, 2024. ​ Out-of-Sample (Walk-Forward): Validate the optimized settings against the period of
Hi , I have some indicators that I want set up on my TV chart and want to create one chart for some and another chart for some others. Plus I want to set up the brackets orders so I can trade from the chart. I have these set up somewhat but need it cleaned up and the way I want them. how much would something like this cost to do? I'm in California and would like you to show me so I can learn to do this when I want to
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
Vell 35+ USD
Advanced trading robot built on ICT concepts and structured Price Action methodology. Designed to identify liquidity zones, market structure shifts, and high-probability entries while maintaining disciplined risk management and optimized trade execution for consistent, rule-based performance
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
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
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
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and

프로젝트 정보

예산
30+ USD