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
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
2
Developer 2
Rating
(599)
Projects
932
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Free
3
Developer 3
Rating
(23)
Projects
45
20%
Arbitration
24
29% / 46%
Overdue
12
27%
Free
4
Developer 4
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
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
395
28%
Arbitration
69
19% / 49%
Overdue
120
30%
Free
8
Developer 8
Rating
(22)
Projects
18
6%
Arbitration
31
3% / 65%
Overdue
5
28%
Free
9
Developer 9
Rating
(2441)
Projects
3076
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
10
Developer 10
Rating
(1134)
Projects
1436
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
11
Developer 11
Rating
(550)
Projects
827
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
12
Developer 12
Rating
(73)
Projects
132
52%
Arbitration
9
44% / 33%
Overdue
64
48%
Free
13
Developer 13
Rating
(261)
Projects
425
38%
Arbitration
86
44% / 19%
Overdue
71
17%
Loaded
14
Developer 14
Rating
(1859)
Projects
3463
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
15
Developer 15
Rating
(564)
Projects
933
47%
Arbitration
302
59% / 25%
Overdue
125
13%
Loaded
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
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
(266)
Projects
540
50%
Arbitration
55
40% / 36%
Overdue
224
41%
Working
22
Developer 22
Rating
(19)
Projects
35
26%
Arbitration
10
30% / 70%
Overdue
5
14%
Free
23
Developer 23
Rating
(481)
Projects
510
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
24
Developer 24
Rating
(3)
Projects
2
0%
Arbitration
7
0% / 86%
Overdue
0
Free
Similar orders
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Dr Pattern 30+ USD
good day i need the service of the seaso coder to help me fix my ea The Job required 1 knowledge of Mt4 and Mt5 indicator coding 2. Telegram code 3. ability to code indicator to work on multiple Time frame combine to trade 4 Ability to Join two or three indicator on same ir different time frame if you have these skill please let chart i will discuss the details of the Job inside to you The required day including
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later

Project information

Budget
30 - 150 USD
For the developer
27 - 135 USD