Auftrag beendet
Spezifikation
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.