Set SL/TP of open orders - EASY!

MQL4 Experts

Job finished

Execution time 1 day
Feedback from employee
Good customer with good communication skill. Thanks for your Job.
Feedback from customer
Great Work! everything fine!

Specification

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;
}

Responded

1
Developer 1
Rating
(15)
Projects
24
21%
Arbitration
1
0% / 100%
Overdue
7
29%
Free
2
Developer 2
Rating
(114)
Projects
154
47%
Arbitration
2
0% / 50%
Overdue
4
3%
Free
3
Developer 3
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
4
Developer 4
Rating
(34)
Projects
35
20%
Arbitration
2
0% / 100%
Overdue
1
3%
Free
5
Developer 5
Rating
(2)
Projects
5
0%
Arbitration
2
0% / 50%
Overdue
1
20%
Free
6
Developer 6
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
7
Developer 7
Rating
(41)
Projects
72
8%
Arbitration
18
11% / 56%
Overdue
18
25%
Free
8
Developer 8
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
9
Developer 9
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
10
Developer 10
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free
11
Developer 11
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
12
Developer 12
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
13
Developer 13
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
14
Developer 14
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
15
Developer 15
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
16
Developer 16
Rating
(24)
Projects
27
33%
Arbitration
2
100% / 0%
Overdue
1
4%
Free
Similar orders
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Nyasco 90+ USD
Fast trading bot for starters less losses which leads to bigger profits made for thousands of people making billions of dollars .be the best trader for your self all the way
Nyasco 30+ USD
Faster robot with less losses which can be used for a long term earning money every day creating a bot for more than thousands of people to earn billions of money
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
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
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), 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
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to

Project information

Budget
30+ USD
Deadline
to 5 day(s)