The function closes all locked orders. This really saves money on the spread.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14278
Implementation of a trading system based on divergence detection.iPulsar - indicator of critical price levels
The indicator registers the price level breakout moments and the significance of these levels.