Modification to existing EA to add position modification functions

Работа завершена

Время выполнения 7 дней

Техническое задание

The goal of this modification to this EA is to ultimately reduce the size of the losses while increasing the size of the wins. The stop loss is currently set as a function of the ATR, and all position modifications will also be based on the value of the ATR at the moment the initial order is placed. All modifications will go based off this initial ATR value and it will be fixed for the life of the trade. This modification will involve a good amount of position modification during a trade. 

-        When an order is placed the stop loss is automatically calculated and placed at the value of the ATR * 3

-        For losses, once the price has reached 20% of the ATR *3, or is 20% into the loss zone, I want it to take out 20% of the position size.

o    For Example, if the ATR is 10 then when the order is placed the stop loss will automatically be set at 30 pips below the entry price. Say that the initial lot size is 1.0. If after the order is placed it is not winning but is instead loosing, once it reaches a level of 6 pips (20%) below the entry price, I would like it to reduce the position size by 20% as well, so the lot size would now be 0.8. Similarly, once it reaches a level of 12 pips (40%) below the entry price, I would like it to again reduce the size of the position by 20% of the original position size, so now the lot size would be 0.6. I would like this to continue so that if I am stopped out on the trade, by the time it reaches the stop loss it will only be 20% of the original lot size. 

-        If the trade is initially making a loss and the position size is reduced, but then changes direction and reaches the open price of the trade, at break even I want it to add back in everything that it took out so that once it reached the initial entry price the position size is the original size it was when the order was first placed. 

-        I don’t want it to add back in every time a 20% level is reached going up towards the breakeven, that will complicate it, only add back in to make the original lot size one the current price is equal to the entry price. 

o    For Example, if the trade reaches a point where it is 40% of the way to the Stop Loss and has taken out 40% of the position size so the lot size is 0.6 and then returns to the initial entry price of the trade, only once it reaches that initial entry price will the full value of the initial lot size be restored. So once the price reaches the entry price it will then again have a lot size of 1.0. I don’t want it to average down into a loosing trade. 

-        When the trade is in profit I also want it to add into the lot size to increase it as the trade is winning. I want it to add in 20% of the initial lot size up to a maximum of three times. I want the EA to increase the lot size by 20% once a value of the initial ATR*3 is reached, and then another 20% once the value of the ATR*6 is reached, and a final 20% once the value of the ATR*9 is reached.       

o    For Example, when the order is initially placed the ATR is 10 and the lot size is calculated to be 1.0, once the position is 30 pips into the profit zone (ATR*3), then 20% will be added to the lot size, so the new lot size will be 1.2. Then if it keeps going up and reaches 60 pips above the initial entry level (ATR*6) it will again increase the lot size by 20% of the initial lot size, making the lot size now 1.4. Finally, if the trade reaches a point where it is 90 pips above the initial entry price (ATR*9), it would add another 20% of the initial lot size to the current lot size for a final lot side of 1.6. I only want it to add in a maximum of 3 times, not unlimited. 

-        The levels at which the EA will take out or add in money should be automatically set when the trade is first entered based on the ATR and then not change for the life of the trade. For example, if the ATR is 10 when the trade is entered, it should decrease the lot size by 20% at 6 (1/5 of the distance to the stop loss), 12 (2/5 of the distance to the stop loss), 18 (3/5 of the distance to the stop loss),  and 24 (4/5 of the distance to the stop loss), pips into the loss zone and finally be stopped out at 30 pips below the entry price. Also, the EA should increase the lot size by 20% every time it is 30, 60, and 90 pips into the profit, a maximum of 3 times. 

o    If the ATR is 15 when the trade is entered, it should decrease the lot size by 20% at 9, 18, 27, and 36 pips into the loss zone and be stopped out at 45 below the entry price. Also, it should increase the position size by 20% when the levels of the ATR*3 (45), ATR*6, (90), and ATR*9 (135) are reached. 

-        The 20% values should be calculated from the initial lot size when the trade is first entered and not change. If the initial lot size is 1.0 then the 20% will be 0.2 and not change for the life of the trade. If the initial lot size is 5.0 the 20% will be 1.0 and not change for the life of the trade. 

-        Also, in the original version of this EA there is a break even function so that once it reaches a certain level of pips into the profit zone it can no longer lose money. For this, whenever the position size is increased the entry price will also move up a small amount because it is averaging the old entry price with the new one. Please make it so that every time the position is increased the break even line is moved up to 0 with the averaged entry price. 

Откликнулись

1
Разработчик 1
Оценка
(390)
Проекты
416
30%
Арбитраж
74
19% / 69%
Просрочено
52
13%
Загружен
2
Разработчик 2
Оценка
(332)
Проекты
485
40%
Арбитраж
82
11% / 63%
Просрочено
77
16%
Свободен
Опубликовал: 1 пример
3
Разработчик 3
Оценка
(115)
Проекты
129
18%
Арбитраж
11
27% / 55%
Просрочено
4
3%
Свободен
4
Разработчик 4
Оценка
(21)
Проекты
23
52%
Арбитраж
0
Просрочено
2
9%
Свободен
5
Разработчик 5
Оценка
(16)
Проекты
17
29%
Арбитраж
1
0% / 100%
Просрочено
2
12%
Свободен
6
Разработчик 6
Оценка
(171)
Проекты
195
42%
Арбитраж
12
8% / 50%
Просрочено
9
5%
Работает
Опубликовал: 3 примера
7
Разработчик 7
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
8
Разработчик 8
Оценка
(294)
Проекты
469
39%
Арбитраж
101
41% / 24%
Просрочено
77
16%
Загружен
Опубликовал: 2 примера
Похожие заказы
Olá, preciso de um programador para montar um indicador com base na sobrevenda do estocastico, volume macd, para uma estrategia de reversão e falso rompimento com regioes de OB validos minimas e maximas de H1, H4, D1 e canais para confluencias, quero que seja didatico visualmente e com cores, sons de alertas e algum sinal de call ou put como setas indicando reversões e falsos rompimentos e continuidade
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
want a highly profitable EA; price is not an issue, as long as you can prove it and send me a demo for me to test. You need to prove yourself first. The EA needs a year of stable backtesting
I’m looking for an experienced MQL5 developer to build TWO MT5 custom indicators that detect multi-condition M30 trade setups and send Telegram alerts before trade execution . This project requires strict close-based logic , multi-indicator buffer processing , and non-repainting behavior . HIGH-LEVEL REQUIREMENTS Indicators must evaluate signals from M30 only All conditions are checked only after candle close Logic
Ea make based on smc 40 - 50 USD
I want ea based on SMC concept,, i have good knowledge in smc,, if you have good knowledge then only message me we will discuss,, bos,, imbalance then take trade ,, with fixed sl and rr
hey developers its a fix 30$ job because it takes less than 5 minutes, i only need a source code for a progress bar and gauge bar, i want to impellent in my code. i have a for loop that i want to keep update it with these 2 objects. i mentioned the requirement in each photo please check it. its super easy and fast for someone who already done it, if you didn't do it before don't bother to request . job will be
1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
I’m looking for a highly profitable, robust EA for MT5. Targets 3% profit/month with max 1% drawdown Trades 1 signal pair 1+ year stable backtesting "Retard proof" execution Price isn't an issue. Must provide demo for testing + proof of performance Requirements: Demo version for evaluation Source code (.mq5) Serious developers only Only serious developer
Tôi muốn EA siêu lợi nhuận, giá cả không thành vấn đề, chỉ cần bạn có thể chứng minh được, và gửi tôi bản demo để tôi kiểm tra bạn hãy chứng minh bản thân mình trước. EA cần backtest 1 năm hoạt động ổn định
Tôi cần một EA giao dịch theo suppertrend MT5 bao gồm các tính năng sau: 1. THÔNG SỐ NHẬN DIỆN (IDENT) MagicNumber: Lấy 6 số cuối cùng của số giao dịch tài khoản. Comment: Ghi tùy chỉnh hoặc cố định nội dung (Ví dụ: GTS_PRO_V1). 2. CHIẾN THUẬT VÀO LỆNH (LOGIC STOP ẢO) Không vào trực tiếp, mà đặt Limit/stop. EA sử dụng lệnh Virtualout (Pending Hide): Điều kiện 1 (Lọc xu hướng): SuperTrend HTF (H1/H4) phải đồng nhất

Информация о проекте

Бюджет
30 - 80 USD
Сроки выполнения
до 3 дн.