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
(636)
Projects
1008
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
3
Developer 3
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
4
Developer 4
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
5
Developer 5
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
7
Developer 7
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
8
Developer 8
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
9
Developer 9
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
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
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
217
15%
Free
Published: 1 code
14
Developer 14
Rating
(14)
Projects
23
17%
Arbitration
3
0% / 100%
Overdue
5
22%
Free
15
Developer 15
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
16
Developer 16
Rating
(5)
Projects
14
86%
Arbitration
2
0% / 100%
Overdue
1
7%
Free
17
Developer 17
Rating
(2676)
Projects
3418
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
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
Published: 1 code
Similar orders
Platform: MT5 / MQL5 Buy khi RSI < 30 Sell khi RSI > 70 RSI period configurable, default 14 Fixed lot configurable SL/TP configurable Max 1 position per symbol Completed candles only Configurable Magic Number Deliver .mq5 source Compile without errors/warnings No martingale/grid No profitability guarantee
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help

Project information

Budget
30 - 300 USD