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

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(9)
Projetos
13
8%
Arbitragem
3
33% / 67%
Expirado
1
8%
Trabalhando
2
Desenvolvedor 2
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
3
Desenvolvedor 3
Classificação
(4)
Projetos
5
20%
Arbitragem
1
100% / 0%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(3)
Projetos
1
0%
Arbitragem
5
0% / 100%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(141)
Projetos
150
41%
Arbitragem
3
33% / 33%
Expirado
1
1%
Trabalhando
8
Desenvolvedor 8
Classificação
(3)
Projetos
3
33%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 artigos
9
Desenvolvedor 9
Classificação
(296)
Projetos
475
40%
Arbitragem
105
40% / 24%
Expirado
80
17%
Ocupado
Publicou: 2 códigos
10
Desenvolvedor 10
Classificação
(162)
Projetos
287
34%
Arbitragem
18
22% / 61%
Expirado
42
15%
Trabalhando
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Macd 300+ USD
//+------------------------------------------------------------------+ //| Breakout EA | //+------------------------------------------------------------------+ input double RiskRewardRatio = 2.0; input int StopLossBufferPips = 10; input int MagicNumber = 12345; input int LookbackBars = 20; double support, resistance; void OnTick() { support = GetSupport(); resistance = GetResistance();
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
I am looking for a reliable and well-performing Expert Advisor (EA) that is proven to work effectively on a real trading account. The EA should demonstrate consistent profitability, controlled drawdown, and a strong return on investment (ROI). If you already have a ready-made EA that meets these criteria, I would be interested in reviewing its performance. Please provide access to a demo account, backtest results, or
Hi, I am looking for an Quant/MQL5 developer to build a pure mathematical, Delta-Neutral Statistical Arbitrage (spot vs future ) Expert Advisor. ​ No retail indicator logic (No RSI, MACD, etc.). This is a high-speed, spread-based execution model trading the pricing inefficiency between two correlated assets (e.g., Gold Spot XAUUSD vs Gold Futures). ​ Core Requirements at a Glance: ​Real-time Spread & Z-Score
I need a professional MetaTrader 5 Expert Advisor based on a pullback trading strategy. Indicators: - Moving Averages: 5, 8, 13, 144 (custom, smooth like TradingView) - RSI (14) - ADX (14) with DI+ and DI- - OsMA (8, 21, 5) Strategy: Trend: - Use MA 144 to define the main trend Entry: - Trade only in trend direction - Wait for price to touch MA 8 - Confirm with: - RSI (above 50 for buy / below 50 for sell) - ADX >
The Advisor should stop trading if the spread exceeds a selected value. Source code is unavailable. Decompilation may be necessary or any other suggested working solution may be acceptable. Testing should be thorough with proven demonstrable results
EA for existing MT5 that generates a minimum of 30-40% or higher a month consistently Looking for a highly profitable EA Please send demo version directly , past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it. Any pair and Time frame. NOTE Ea need for Cent account Exness or other broker
I am looking for developer who can create custom price alert indicator for MT5. The function of alerts in MT5 is fine but it does not allow setting custom sounds for specific charts with ease. For example, one can attach custom sound to new price alert, but if you use a lot of alerts daily (which i do) and want to have each ticker/pair to have its own sound alerts it gets too time consuming. I am looking for

Informações sobre o projeto

Orçamento
30+ USD