Работа завершена
Техническое задание
I need an EA that monitors pending/open trades and closes them after a set time
When a pending order is entered into the platform the EA starts to count down , and cancels the pending order if time expires before the order is executed, or if the order is executed the EA closes the trade when time Expires.
EA monitors each trade (order) individually
pending orders can cancel them selves
for that i don't need any EA
what i need is EA to monitor the pending orders and if they get executed it closes them Xhrs from when they entered into the platform
as pending orders
when the signal provider sends the orders . they have already an End till where they would cancel automatically
so EA starts to count down when a trade is sent in platform as pending order. if the order is canceled before its executed then EA does nothing
if trade is executed then EA would close it Xhrs counting from when it first entered the platform as a pending order