Grid-martingale ea modifications: +hedge function

MQL4 Experts

Specification

I have a grid ea, 

and I would like to modify it with just a simple plus function:

I want to use it buy and sell directions at once, at the same time on one symbol!

(buy and sell positions are independently each other) 

I can test it in that way: I  attached the ea on 2 instances of eurusd:

at one I set the expert properties /Common settings "Only Long"

and at the other I set it "Only Short" 

but this is just a forward test with slowly live datas... 

I would like to run it with backtest, and live demo, too, on one chart..

 

the main working method:

if the price goes down 20pip (=gap) then buy 1lot, and if the price 

goes ,more 20 pip  deeper then buy again 1x2=2lot, and so on..

but if at the start the price goes again us, now for example goes up 

40pip (=opposite-gap), then buy 1 lot, and if it goes up towards 20 

pip again, then sell 1x2=2, and if it up again 20pip, then sell again 

2x2=4 and so on..

there isnot stops. nor takeprofits.

if the prices goes the good direction, and it start to make profit:

for example we have a long, and the price goes up any pip, then we 

trail the profitable side with an atr base indicator, but only if the position(s) is in positive 

profit! ..it trails only the positive side.

 

 

Responded

1
Developer 1
Rating
(90)
Projects
159
61%
Arbitration
40
18% / 63%
Overdue
70
44%
Free
2
Developer 2
Rating
(267)
Projects
542
50%
Arbitration
55
40% / 36%
Overdue
225
42%
Loaded
3
Developer 3
Rating
(7)
Projects
15
47%
Arbitration
6
33% / 17%
Overdue
4
27%
Free
4
Developer 4
Rating
(3)
Projects
5
20%
Arbitration
1
100% / 0%
Overdue
3
60%
Free
5
Developer 5
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
6
Developer 6
Rating
(47)
Projects
140
49%
Arbitration
9
56% / 0%
Overdue
27
19%
Free
7
Developer 7
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(11)
Projects
13
15%
Arbitration
0
Overdue
1
8%
Free
Similar orders
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
I need someone who can make an expert advisor for me using the high and low of certain sessions or time frames. All orders should be market orders It's based on high and lows (LONGS) When a session low is created I wait until the 14 ema crosses above the 20 ema for comfirmation of going long, and I enter when price touches on the 14 ema. My SL automatically is placed on the session low. (SHORTS) When a session high
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month
Hello my developer colleagues, am also a developer like you but i just hear about this mql site and i will like to sell, develop and build bots for buyer. But i don't know how to become a seller here please i need help in helping me to create a seller account on mql and i will be very glad if you can help me out and i will appreciate you
Preciso de um EA que abra ordens a mercado a partir de um indicador, Ele precisa obter take e stop loss fixos, spread máximo, horários de início e final das operações, meta e stop diário, martingale, painel e a função no script para que eu possa ceder o EA apartir do id do mt4 de terceiros
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards

Project information

Budget
40- USD
Deadline
from 1 to 2 day(s)