Algorithm for trading on MetaTrader5 platform.