Discuss the Timed Order expert advisor here. This free MT4/MT5/cTrader EA provides a way to schedule a pending or market order to be sent to the trading server at a specific time. You can ask any questions about this MetaTrader/cTrader robot here.
What exactly does it say in the Experts tab or in the respective log file after the order fails?I always get Execution failed. Don't know what I am doing wrong? (first time I am using an expert advisor)
Auto trading is enabled for the account
Live Trading is allowed for the EA
Any idea what I am missing? Or what info do you need to troubleshoot this?
This is the Inputs I am using
Date/time: When I am testing I use 1-2 minutes in the future from current time
Order type: Buy
Entry price: 0.0
SL type: Distance from Entry in points
TP type: Distance from Entry in points
Expires on: 1970.01.01 00:00
How many times to try sending order? 10
Max difference between given price and market price: 0
Maximum spread: 3
Maximum slippage: 30
ATR Timeframe: current
ATR Period: 14
Thank you, this question solved it . the log file only showed "uninit reason 1", but the experts Tab also showed the exact reason which wasWhat exactly does it say in the Experts tab or in the respective log file after the order fails?
By the log file, I didn't mean the MetaTrader's Journal. The Timed Order expert advisor creates its own log file in the Files folder called "TO-Log-<Symbol name>.log" - it contains the same info as the Experts tab. I'm glad that you were able to resolve the issue!Thank you, this question solved it . the log file only showed "uninit reason 1", but the experts Tab also showed the exact reason which was
"Current spread 6 > maximum spread 3. Not opening the trade"
No, it cannot do that. Perhaps, this will be added in the future.Is it possible to set entry price a set number of pips above/below the market price? ie set buy stop for a certain time to enter 10 pips above current price instead of having to specify an entry price ahead of time?