Avals писал(а)>> Проверка должна быть типа: если не сработал тейк-профит, то проверяем сработал ли стоп-лосс. Или наоборот. Такое условие вносит зависимость о которой я писал
Yes. This is exactly what happens in the algorithm: if a take is not triggered (it is always further than the loss), then we check the condition for the loss triggering on the same price series and so on each timeout.
True, I open a position in the same TP column that generates the "open" signal... But, it does not seem to contradict anything.
Neutron писал(а)>> Yes, that's exactly what happens in the algorithm: if a take has not triggered (it is always further than the loss), we check the condition for the loss triggering on the same price series reading and it happens on every read.
This is the condition that introduces tails behind the stop in the above scheme. If you check the opposite, first stop and then profit, then the tails will follow the takeaway as the stop decreases.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Avals писал(а) >> Проверка должна быть типа: если не сработал тейк-профит, то проверяем сработал ли стоп-лосс. Или наоборот. Такое условие вносит зависимость о которой я писал
Yes. This is exactly what happens in the algorithm: if a take is not triggered (it is always further than the loss), then we check the condition for the loss triggering on the same price series and so on each timeout.
True, I open a position in the same TP column that generates the "open" signal... But, it does not seem to contradict anything.
Yes, that's exactly what happens in the algorithm: if a take has not triggered (it is always further than the loss), we check the condition for the loss triggering on the same price series reading and it happens on every read.
This is the condition that introduces tails behind the stop in the above scheme. If you check the opposite, first stop and then profit, then the tails will follow the takeaway as the stop decreases.