Skip to content


Manlio Morini edited this page Oct 14, 2017 · 1 revision


The general idea follows:

  • forex manages the evolutionary process and maintains a population of EAs;
  • fitness evaluation is left to metatrader;
  • does the dirty job of coordinating forex and metatrader.

Both the forex executable and the script keep polling the shared folder till specific files arrive (and remove them as soon as possible).

The sequence and activity diagram of the forex-engine / / Metatrader system follows:

Sequence diagram for Vita/

Activity diagram for Vita and

Polling isn't the most efficient approach but it doesn't require OS-specific libraries and, considering backtesting times, it isn't as bad as it seems.

The state diagram of the subsystem has some more details:

State diagram for the subsystem

You can’t perform that action at this time.