The v3 version does not do what I proposed to you.
For example :
If BUY signal was detected in D1, the new open position in H1 should only close when we have reached a new higher price in D1.
Vice versa with a SELL position.
The latest version is v4 and it works like that