Hi Roberto
Hypothetical use is good as it may help someone else in future.
I only added momentum as an example.
The logic is this:
1) Look for condition A to be met (e.g. A = 7)
2) Set a variable (e.g. B = Close) with Close as the value where condition A is met
3) From this point forward, ensure Close is always less than value of B until condition C is met (e.g. A = 6) within x bars forward of Step 1
4) Finally test if the High of the bar after where condition C is met, is higher than B.
Thanks
Rob