MT4 EA to open trade at specified point of time
The ea executes market orders with SL and TP just like pending Stop and Limit orders.
The expert can buy a Stop or can buy a Limit order as selected in OrderTypeToExecute.
At OrderEntryToExecute can be selected
1. Only Long trades
2. Only Short trades
3.Long and Short trades
It works like this.Every day at settled hour and minute the expert will memorize the Bid with the name of POC (point of control) and will launch trades Limit or Stop orders based on settings ,when the price go bellow/above the POC +- EntryDistance.All the orders have TP and SL settled in the Send order.
If at given time to memorize the POC exist orders who didn't hit TP SL from previous day the expert won't do nothing.
The EntryTolerance is used to not allow an order to be executed too far away from POC + EntryDistance.
PS.If a order is active and the expert will be reinitialized won't do nothing since it recognize the already existing order magic number.
Can exist ONLY 1 buy and 1 sell at the same time.I will add the option to check the spread before execution.
Attached File
TimedExecution_v1.ex4 18 KB | 277 downloads
Attached File
TimedExecution_v1.mq4 9 KB | 356 downloads

Reference
The ea executes market orders with SL and TP just like pending Stop and Limit orders.
The expert can buy a Stop or can buy a Limit order as selected in OrderTypeToExecute.
At OrderEntryToExecute can be selected
1. Only Long trades
2. Only Short trades
3.Long and Short trades
It works like this.Every day at settled hour and minute the expert will memorize the Bid with the name of POC (point of control) and will launch trades Limit or Stop orders based on settings ,when the price go bellow/above the POC +- EntryDistance.All the orders have TP and SL settled in the Send order.
If at given time to memorize the POC exist orders who didn't hit TP SL from previous day the expert won't do nothing.
The EntryTolerance is used to not allow an order to be executed too far away from POC + EntryDistance.
PS.If a order is active and the expert will be reinitialized won't do nothing since it recognize the already existing order magic number.
Can exist ONLY 1 buy and 1 sell at the same time.I will add the option to check the spread before execution.
Attached File
Attached File

Reference

