The experience of real trading revealed the following: sometimes the take-profit value turned out to be less than the spread size. This led to losses. Now the comparison of the spread with the target values of the opened position has been introduced. If the spread exceeds the target size, the robot will wait for the spread to drop to an acceptable value, after which it will check all the criteria again. This completely excludes the opening of the transaction if the spread is greater than the gap. This reduces the losses from high spread entries.