Exper advisor that takes profit on next bar open, when previus bar close is more than X pip in profit

MQL4 Experts

Job finished

Execution time 5 hours
Feedback from customer
Wow - EA made very fast! Great communication. Very satisfied. Will definitively ask him for next job.
Feedback from employee
Very thanks for order! Please let me know if you need programmer!

Specification

Hello,


GENERAL INFO

The ea will almost always be in a trade. Because profitable trade is closed on a bar open, and at the same time - on the same bar open, a new trade will open.

But if a trade is stopped out, it will be stopped out at a predefined level, and (probably)not on a bar open. On the next bar open, after stop loss, a new trade should be opened.

The EA will only work on the chart it is placed on.

The EA must have Magic number - which can manually be changed.

It is referred to  “X pip” some times. It means that the user can write the amount himself. If he writes “10” it means 1 pip.

 

RULES FOR BUY


Always enter market at a Bar open.


BUY at market when:


1.    If last trade was a loss (ended in stop loss), and was a BUY trade. 


The buy trade should open on the NEXT Bar Open, after the Bar that the previous BUY trade was stopped out.


2.    2. If the last trade was a profitable trade, and was a SELL trade.

The buy trade should open on the SAME Bar Open as the previous profitable SELL trade was closed.

 

RULES FOR EXIT A BUY TRADE


PROFIT: If the buy trade has a Bar close (in the same timeframe) that is bigger than X pip in profit, then exit on the NEXT Bar Open.

STOP LOSS: Stop loss is X pip. Stop loss should be visible in the chart.

 


RULES FOR EXIT A SELL TRADE


Rules for sell are opposite of rules for buy:


Always enter market at a Bar open.


SELL at market when:


1.     1. If last trade was a loss (ended in stop loss), and was a SELL trade.

     The sell trade should open on the NEXT bar open, after the Bar that the previous SELL trade was stopped out.

 

2.     2. If the last trade was a profitable trade and was a BUY trade.

The sell trade should open on the SAME Bar Open as the previous profitable BUY trade was closed.

 


RULES FOR EXIT A SELL TRADE


PROFIT: If the sell trade has a Bar close (in the same timeframe) that is bigger than X pip in profit, then exit on the NEXT Bar Open.

STOP LOSS: Stop loss is X pip. Stop loss should be visible in the chart.


 

LOTS


To alternatives for choosing how many lots for each trade:

1: Choose a standard lot: X lots

2: X % of the the balance. (So when the balance increases - the lots also increase. And if the balance decreases - the lots also decrease. If deposit is $ 100.000, then 10% equals 1 lot.

 

ADDITIONAL OPTIONS

An alternative to choose if trading should be stopped Fridays at a chosen time and resumed on Monday at a chosen time.

An alternative to choose that the EA only will operate within a specific periode of time during the day: Example: between 07:00 and 16:00. If a trade is not closed at 16:00, it will close according to rules for exit, and not be forced closed at 16:00.

 

COMMENTS

The timeframe the trade is taken on should be written in the comments of the trades. Example: If a trade is taken on the 1-minute timeframe, the comment should be: “1 MIN”



Files:

Responded

1
Developer 1
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
2
Developer 2
Rating
(627)
Projects
989
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Working
Published: 6 codes
3
Developer 3
Rating
(23)
Projects
45
20%
Arbitration
25
28% / 48%
Overdue
12
27%
Free
4
Developer 4
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
5
Developer 5
Rating
(1)
Projects
1
0%
Arbitration
2
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
(6)
Projects
8
13%
Arbitration
1
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Free
8
Developer 8
Rating
(22)
Projects
18
6%
Arbitration
31
3% / 65%
Overdue
5
28%
Free
9
Developer 9
Rating
(2652)
Projects
3369
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
10
Developer 10
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
11
Developer 11
Rating
(564)
Projects
844
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Free
12
Developer 12
Rating
(73)
Projects
132
52%
Arbitration
9
44% / 33%
Overdue
63
48%
Free
13
Developer 13
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
14
Developer 14
Rating
(1930)
Projects
3551
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
15
Developer 15
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
16
Developer 16
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
17
Developer 17
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Published: 1 code
18
Developer 18
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
19
Developer 19
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
22
Developer 22
Rating
(19)
Projects
35
26%
Arbitration
10
30% / 70%
Overdue
5
14%
Free
23
Developer 23
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
24
Developer 24
Rating
(3)
Projects
2
0%
Arbitration
7
0% / 86%
Overdue
0
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 - 150 USD