Version 1.1 2018.09.30
1. Completely redesigned algorithm for the work of both the master and slave. Basically, optimization of the priorities of operations, code optimization.
From noticeable to the user:
- partial closing of positions is correctly handled;
- If the position does not pass through slippage, it is put on hold, and will be opened as soon as the price satisfies the slippage parameter. Slippage can be set negative.
2. The timer control is displayed. The lower the value - the higher the speed and the greater the load on the processor, the greater the value - the lower the performance and the less the load on the processor. Set the value less than the default, there is no special meaning.

The code is completely new. Please test on a demo account, before using on a real one.