Set SL/TP of open orders - EASY!

MQL4 Experts

Tâche terminée

Temps d'exécution 1 jour
Commentaires de l'employé
Good customer with good communication skill. Thanks for your Job.
Commentaires du client
Great Work! everything fine!

Spécifications

I need an EA, which sets SL and Tp for each open order by given input SL/TP value, distributing/spreading the value by given step(in points).

takes 10 min work for an professional i guess ;-) thanks!

---


EXAMPLE: 

input start_TP = 1.20000
input start_SL = 1.10000
input point_steps = 10
input pair_name = "EURUSD"

open EURUSD orders = 3

result: 

order1 TP = 1.20000 SL = 1.10000
order2 TP = 1.20010 SL = 1.10010
order3 TP = 1.20020 SL = 1.10020

-----

PSEUDO CODE ( I worked as an programmer 10 years ago :P )

// variables

var input TP = f.e 1.20000;
var input SL = f.e 1.10000;
var input step_in_points = f.e 10; 
var input pair_name = f.e "EURUSD";

var current_tp = TP;

var current_SL = SL;

var step = step_in_points/100000; //correct?

var orders = open_orders.FindByName(pair_name);

foreach ( order in orders )
{
order.tp = current_tp;
order.sl = current_sl;
current_tp = current_tp + step;
current_sl = current_sl + step;
}

Répondu

1
Développeur 1
Évaluation
(15)
Projets
24
21%
Arbitrage
1
0% / 100%
En retard
7
29%
Gratuit
2
Développeur 2
Évaluation
(114)
Projets
154
47%
Arbitrage
2
0% / 50%
En retard
4
3%
Gratuit
3
Développeur 3
Évaluation
(769)
Projets
1033
44%
Arbitrage
50
8% / 50%
En retard
117
11%
Gratuit
4
Développeur 4
Évaluation
(10)
Projets
11
9%
Arbitrage
0
En retard
1
9%
Travail
5
Développeur 5
Évaluation
(2)
Projets
5
0%
Arbitrage
2
0% / 50%
En retard
1
20%
Gratuit
6
Développeur 6
Évaluation
(169)
Projets
204
30%
Arbitrage
25
40% / 44%
En retard
12
6%
Gratuit
7
Développeur 7
Évaluation
(39)
Projets
69
9%
Arbitrage
18
11% / 56%
En retard
18
26%
Gratuit
8
Développeur 8
Évaluation
(298)
Projets
427
26%
Arbitrage
18
61% / 33%
En retard
26
6%
Gratuit
9
Développeur 9
Évaluation
(196)
Projets
318
35%
Arbitrage
64
13% / 56%
En retard
82
26%
Gratuit
10
Développeur 10
Évaluation
(59)
Projets
182
55%
Arbitrage
31
45% / 16%
En retard
103
57%
Gratuit
11
Développeur 11
Évaluation
(478)
Projets
507
53%
Arbitrage
10
60% / 20%
En retard
3
1%
Gratuit
12
Développeur 12
Évaluation
(256)
Projets
415
38%
Arbitrage
86
44% / 19%
En retard
70
17%
Occupé
13
Développeur 13
Évaluation
(356)
Projets
632
26%
Arbitrage
89
73% / 13%
En retard
12
2%
Gratuit
14
Développeur 14
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
15
Développeur 15
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
16
Développeur 16
Évaluation
(24)
Projets
27
33%
Arbitrage
2
100% / 0%
En retard
1
4%
Gratuit
Commandes similaires
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Hi, I want to make an automated system to take my place in making trading positions and closing it. But I want to ask , can you program it to draw a trend line in a specific chart and several moving averages should be in specific order, and when the price is near the trend line by few pips, we shift to 15 minutes chart and noticing a resistance or support action , then we take the trade ? can we do that
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot
I would like to modify the RSI Epert Avisor with a developer. I would like to use the RSI Expert on the inverse mode and the base setting doesnt conatain this strategy mode
Profitable EA HFT 50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
I need help fixing my EA for MT5. It’s a very simple EA, and I currently cannot solve an issue where webrequest communicates with OpenAi API without error. Please only apply if you can help solve this issue
p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} li.li1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} ol.ol1 {list-style-type: decimal} I have an EA that open trades when my entry conditions are met. It usually executes one trade per day. I'd like to add an option
у нас есть стратегия, нам нужно написать mql5-код ​​для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена ​​после согласования цены
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also

Informations sur le projet

Budget
30+ USD
TVA (19%): 5.7 USD
Total: 35.7 USD
Pour le développeur
27 USD
Délais
à 5 jour(s)