Since there’s no source code for the MT4 version, it’s already quite a feat for you to develop such excellent MT5 code—you truly are a genius! I’d like to express my respect to you once again.
Below is an explanation of what I mean by the "handshake" in the MT4 version, as illustrated in the chart: between the two bold line bands, there is an intersecting movement between the bullish (long) and bearish (short) sides. This serves as a warning for me, indicating that I may need to prepare to close my current position and take a reverse position soon.