Quote:
|
...monitor open trades, keep track of their identifier and close them after a certain length of time.
|
It should be EA. Scripts are not doing this kind of job.
There are many EAs which can monitor the trades. But to know which one can close all the trades - it is necessary to go through every single EAs (there are many of them) just to understand which one is closing all open trades on certain time. It is basicly half a day for this it.
Because of that no one replied: it is necessary to spend at least half a day for reply ...
As I see there are the following EAs:
- TimeBreakExpert EA: open and close the orders at established time (Trailing Stop and BreakEven). There are 2 threads in elite section with 2 versions. Coded by Igorad.
- ScheduleTrader EA: open/close the trades (any kind of) in established time. It is the public development. The thread is here:
Indicators/EAs for news and trading signals
- WNV EA: this EA buys and/or sells at a certain time of day. One thread is on elite section. Idea is by WNV, coded by Igorad.
- TimeBasedEA: buy and sell specific currency pair at specific time is (many versions). Public EA. The thread is here
Help: How to write simple EA to buy and sell at a specific time?
Thre are many other EAs in public threads and in elite threads (MultiPositionExpert EA; BreakEvenExpert EAs; EMATrailing Stop EA; CloseAll-PL EA; CloseTrades_After_Account_Profit_Reached EA; Trail Strength_Trend Stop; EquityMangager V2; EquityWatch; Close All Trades When Once Profit Taken EA; Swiss Army EA (Automatic order management) and so on).
But as I said - to reply to your questions - it is necessary to spend may be 1 full day ... and in the end you may say that you do not need it ... and it will be the other day ... and so on

That is why no one replied.