Scheduled Pending Orders

2018.07.26 Experts Scripts

Job finished

Execution time 3 days
Feedback from employee
Nice customer... thanks very much...
Feedback from customer
Great work

Specification

This could be done for either MT5 or MT4, i don't mind.


What I am looking for is an Expert Advisor that will allow me to place, at the same time, both a BUY STOP and a SELL stop an X amount of pips away from the current price at the time the orders will be placed.


On  more specific details

  • I would like to have the option of setting the amount of pips away from the current price at the time scheduled I want the pending orders to be placed. If not possible to be adjustable, 120 points is good.
  • I need the scheduling time to be set with the precision of Hour, Minutes and SECONDS. (Very important to have seconds)
  • I want to be able to set the expiry time of the pending orders (for example: to expire 3 seconds after they were placed if not triggered) 
  • If the the spread is higher than 70 points, do not trigger the pending orders. (I would like to be able change the amount of points in the settings instead of having a fixed number at 70 points... but it's ok if that's not possible)
  • Instead of having a set SL and TP, I prefer a Trailing Stop for risk management (Again, it'd be great if the amount of points could be customized in the settings. If not, 50 points is ok). (It'd be nice though if I could have the option of switching to using SL and/or TP instead of Trailing Stop when I want to)
  • Also, of course, to be able to set whatever lot size I want when I schedule pending orders. 

I'd really like to have the information of the scheduled event showing on my chart... something like this:

https://c8ebb236-a-62cb3a1a-s-sites.googlegroups.com/site/dmweadev/file-cabinet/home/pending-time-ea/pending%20time%20screen%20shot.jpg?attachauth=ANoY7cp1oMTk4WbODJAgQiEOK0UVh7bigLaRsp813qB-TcwOioxyepktNugripTLOKgnG-e9pMXYjHiUWOezrru4h-sKjFJHSU4rFn4UP7YdTAumI3tG3gdVG_dTSP3HFlGDRiyTUaEaqftDaOo_93C0Pa-BI8yAhAbWS4bNbspV0LW41fb20mES7LFZRdw15c47wIiggjaDC7C8-Vg6xfEdU8U82A1NnBJziy_VOA6g2yfPAvZNvOcsE9YIi_v-uqWtZKAJhMPguwIkeeysALVut9_Pm3vHiw%3D%3D&attredirects=0


Adjusting to what I'm thinking... maybe something like this:


Current Date: 09/08/2018 | Current Time: 09:45:09

________________________________________

Next Scheduled Orders:

Date: 10/08/2018 | Time: 01:55:01

Description: Canadian GDP Final

Expiry Time: 01:55:03

Trailing stop: 50 points

Lot size: 1.00

________________________________________

Commentary:

Orders will be placed 120 points from the bid price

at the scheduled time.


Orders will not be triggered if spread is higher than

70 points




If it's possible, I would prefer to have the EA received in the mq5/4 instead of ex5/4 in case I have any ideas to add in the future.

Responded

1
Developer 1
2018.07.26
Rating
4.86
(399)
Projects
650
33%
Arbitration
56
16% / 30%
Overdue
146
22%
Free
2
Developer 2
2018.07.26
Rating
5
(144)
Projects
181
54%
Arbitration
10
20% / 50%
Overdue
45
25%
Working
3
Developer 3
2018.07.26
Rating
5
(50)
Projects
80
39%
Arbitration
4
50% / 25%
Overdue
0
Free
4
Developer 4
2018.07.27
Rating
4.96
(1594)
Projects
2018
61%
Arbitration
68
46% / 16%
Overdue
416
21%
Working
5
Developer 5
2018.07.27
Rating
4.83
(376)
Projects
673
49%
Arbitration
219
55% / 27%
Overdue
139
21%
Loaded
6
Developer 6
2018.07.27
Rating
4.98
(457)
Projects
902
77%
Arbitration
25
16% / 68%
Overdue
139
15%
Free
7
Developer 7
2018.07.27
Rating
4.7
(191)
Projects
387
28%
Arbitration
148
20% / 51%
Overdue
141
36%
Working

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD