Double Ilan EA (combines Ilan 1.5 and Ilan 1.6) aims to benefit from short-term trends in the market, and once it detects them, it opens a trade in the direction of the trend. If it’s winning, it’s all nice and fine. If it starts making heavy losses (there is an option in the settings to determine a stop-loss level), then another trade is opened (also in the direction of the trend), with an increased trade contract size, and then the robot awaits for the tide to turn and to reap profits. The strategy based on cumulative positions implies a special algorithm for calculating the open prices of every next trade in a group of trades. Each group of trades is treated as a separate entity, with its own stop-loss and take-profit levels: the trades within it are closed simultaneously.