I solved the problem by myself, so I don't need help.
First of all I want to say thank You to Daniel (Keydcuk) and Guilherme for this helpful thread! Then, I have a question for You: how can I open a new order immediately after that last order hit his stop loss? For example You can suppose ...