Very simple EA required... to place a BuyStop and SellStop order at a chosen time, each with SL and TP. Then execute accordingly.

MQL4 Experts

Job finished

Execution time 1 day
Feedback from customer
Absolutely fantastic job. A pleasure to work with Lakshan - I recommend him absolutely 100% Thanks!
Feedback from employee
GREAT Customer, Very understanding . I would LOVE to work with you again Matt. Thanks for the Job .

Specification

So, initially I am looking for the script/EA to backtest the simple notion as follows:

Starting from a certain TIME, if price moves X pips in one direction, it can continue to do so for another X pips.

However I would ideally like it to run as an EA which would place the orders, execute the trades and close on SL or TP. SO for the purpose of this request I have assumed the latter. If it is too difficult or expensive etc then I might rather have a simple script/EA for backtesting only.

(Possible later additions may include eg a trailing stop, or and OCO for the orders).


I'd like it to work on any major/minor currency pair at least, but preferably anything for which standard charts are available in MT4.

I am specifically looking at the DAILY timeframe at the moment but would prefer it to also work on any LOWER timeframe.


Here are the input parameters, and examples in quotations;

Timezone: "GMT+2"

Start time: "00:01"


BUYSTOP order place above initial price (pips): "20"

BUYSTOP order expires: "23:30"

SELLSTOP order place below initial price (pips): "20"

SELLSTOP order expires: "23:30"

BUY trade TP (pips): "25"

BUY trade SL (pips): "20"

[if left blank = no TP]

SELL trade TP (pips): "25"

SELL trade SL (pips): "20"

[if left blank = no SL]


LOT size: "0.1"

(Account currency "GBP")

(Account size "1000")


So, from the parameters above here is what would happen;

At 1 minute after midnight (i.e. just after a new daily candle has started) the EA would place a BUYSTOP order 20 pips above the current price and a SELLSTOP order 20 pips below the current price.

The STOPLOSS for both trades in this example would be at the opening price at 00:01.

The TAKEPROFIT for each trade is 25 pips beyond the order.


I would like it to draw a short horizontal line on the chart for the entry point, each order, each SL, each TP, and preferably be able to choose colours as input parameters. AND for these to remain on the chart.


A nice but not important extra would be a box on the chart summarising the the CURRENT orders in both pips and prices, and a risk level in both currency and % (hence the parameters above which are in brackets) e.g:


START TIME: 00:01

START PRICE: 1.20201

LOTS: 0.1

EXPIRES: 23:30


BUYSTOP:

ORDER: 1.20401 (20 pips away)

TP: 1.20651 (25 pips)

SL: 1.20201 (20 pips)

RISK: 20GBP, 2%


SELLSTOP:

ORDER: 1.20001 (20 pips away)

TP: 1.19751 (25 pips)

SL: 1.20201 (20 pips)

RISK: 20GBP, 2%



Responded

1
Developer 1
Rating
(586)
Projects
918
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
3
Developer 3
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
4
Developer 4
Rating
(196)
Projects
200
28%
Arbitration
0
Overdue
3
2%
Working
5
Developer 5
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
7
Developer 7
Rating
(362)
Projects
496
39%
Arbitration
27
56% / 4%
Overdue
53
11%
Free
8
Developer 8
Rating
(196)
Projects
318
35%
Arbitration
64
13% / 56%
Overdue
82
26%
Free
9
Developer 9
Rating
(563)
Projects
932
47%
Arbitration
301
59% / 25%
Overdue
124
13%
Working
10
Developer 10
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
11
Developer 11
Rating
(48)
Projects
73
37%
Arbitration
22
9% / 41%
Overdue
14
19%
Working
12
Developer 12
Rating
(879)
Projects
1392
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Free
14
Developer 14
Rating
(14)
Projects
23
17%
Arbitration
3
0% / 100%
Overdue
5
22%
Free
15
Developer 15
Rating
(1853)
Projects
3455
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
16
Developer 16
Rating
(5)
Projects
14
86%
Arbitration
2
0% / 100%
Overdue
1
7%
Free
17
Developer 17
Rating
(2422)
Projects
3042
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
18
Developer 18
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
19
Developer 19
Rating
(188)
Projects
212
58%
Arbitration
9
11% / 89%
Overdue
8
4%
Free
20
Developer 20
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Similar orders
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange. I had one created in python, but I would like it to work in MT5 with various regular rules that make it profitable
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated

Project information

Budget
30 - 300 USD
For the developer
27 - 270 USD