Trabajo finalizado
Tarea técnica
Let's assume that I have 20 accounts from different brokers loaded up in my one MT4 instance and I want to be able to automatically cycle through them all at a timed intervals.
I want an external (and/or internal) program (utility) developed that has the
ability to conduct timed open and close of multiple MT4 accounts (from
different brokers) within the same MT4 terminal, cycling through them every X minutes, in
order to do two tasks:
Task1: activate each newly cycled account with
AutoTrading enabled to run any private EAs for the cycle duration; and
Task2:
save terminal history to the directory folder, perhaps with a custom
EA.
Variables for Task1:
Variable: cycle-time = 5 minutes; // option to change to
any amount of seconds, minutes or days
Variable: accounts = 1234, 12345, etc //
different account numbers in which I want to cycle through, separated by commas
Variable (bool): SaveAccountHistory = true; // if set to true, then save Account History
report in default folder
Variable (string): Report_(accountnumber).htm //
custom title of terminal history report to save
The cycle process:
1) login and run (with green AutoTrading enabled) the first MT4 account listed (ex: 1234) for cycle-time (in order to run any privat EA for whatever purpose)
2) during cycle time, run a custom EA (you develop) that saves Account History report (terminal > Account History > Save as Report)
3) at the end of cycle-time, close account (1234) and open next account in sequence,
repeating steps 1-3
I'm not sure if this task would need the development of an external program outside of MT4 to handle the closing
and reopening of accounts; I'll let you figure out the solution.