Modification of grid EA

Specification

Hi to all,

I need a modification of an existing grid EA with the following instructions:

Add the following optional external inputs to the attached Expert Advisor:

                                                    input bool          TradeModeAgainstTrend (TMAT) = true;
input int           CounterTrendLotsToStartTMAT = 0.15;
input double        CoefficientForTrendLots = 0.30;
input double        MaxTrendLot = 0.08;
input bool          OneSideTMATOnly = true;
input double        CombinedClosureAmount = 10.0;

Explanation:

If TradeModeAgainstTrend (TMAT) is set to true, enable a mode where, for example:

  • Once the total volume of open Buy positions exceeds CounterTrendLotsToStartTMAT (e.g., 0.15 lots), the next Sell position is opened with a lot size equal to CoefficientForTrendLots (e.g., 30%) of the total lots of the currently open Buy positions, but not exceeding MaxTrendLot. If MaxTrendLot = 0, then no maximum lot size restriction should be applied.
  • After the Buy basket in our example is completely closed according to the original EA logic, TMAT should be reset, and the next Sell position should start again from 0.01 lots.
  • If OneSideTMATOnly is set to true:
    • If Buy lots ≥ the specified limit, only Sell positions should increase.
    • If Sell lots ≥ the specified limit, only Buy positions should increase.
    • Both sides must never increase simultaneously.
  • If CombinedClosureAmount is not equal to 0, all currently open Buy and Sell orders should be closed simultaneously once their combined profit reaches the specified dollar amount (CombinedClosureAmount), and TMAT should then be reset.


Files:

Responded

1
Developer 1
Rating
(107)
Projects
175
25%
Arbitration
23
13% / 78%
Overdue
16
9%
Free
2
Developer 2
Rating
(2)
Projects
4
50%
Arbitration
0
Overdue
0
Working
3
Developer 3
Rating
(217)
Projects
369
33%
Arbitration
34
41% / 29%
Overdue
108
29%
Free
Published: 1 code
4
Developer 4
Rating
(15)
Projects
19
16%
Arbitration
5
40% / 40%
Overdue
0
Free
5
Developer 5
Rating
(2667)
Projects
3398
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
6
Developer 6
Rating
(4)
Projects
5
0%
Arbitration
1
100% / 0%
Overdue
1
20%
Loaded
7
Developer 7
Rating
(583)
Projects
675
32%
Arbitration
42
45% / 45%
Overdue
12
2%
Busy
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
9
Developer 9
Rating
(41)
Projects
48
58%
Arbitration
4
50% / 25%
Overdue
0
Working
10
Developer 10
Rating
(5)
Projects
8
13%
Arbitration
4
50% / 0%
Overdue
0
Loaded
Published: 3 articles, 32 codes
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(163)
Projects
172
44%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
13
Developer 13
Rating
(21)
Projects
28
43%
Arbitration
4
50% / 50%
Overdue
1
4%
Working
14
Developer 14
Rating
(46)
Projects
59
53%
Arbitration
7
86% / 0%
Overdue
2
3%
Working
15
Developer 15
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
1
8%
Free
16
Developer 16
Rating
(169)
Projects
202
48%
Arbitration
5
20% / 60%
Overdue
2
1%
Free
17
Developer 17
Rating
(314)
Projects
561
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Working
18
Developer 18
Rating
(27)
Projects
29
38%
Arbitration
0
Overdue
3
10%
Free
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
20
Developer 20
Rating
(2)
Projects
6
33%
Arbitration
0
Overdue
4
67%
Free
21
Developer 21
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
22
Developer 22
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
23
Developer 23
Rating
(199)
Projects
255
21%
Arbitration
23
48% / 17%
Overdue
0
Busy
24
Developer 24
Rating
(13)
Projects
25
44%
Arbitration
2
0% / 100%
Overdue
5
20%
Working
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(3)
Projects
5
20%
Arbitration
1
100% / 0%
Overdue
2
40%
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
I need an ea copy the signal of the indicator log, i have the indicator, copy only the indicator, with the same tp and sl. I need asap, thank you
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram

Project information

Budget
30 - 80 USD
VAT (20%): 6 - 16 USD
Total: 36 - 96 USD
For the developer
27 - 72 USD
Deadline
to 10 day(s)

Customer

(1)
Placed orders3
Arbitrage count0