Thanks for the explanation,
Here is a first EA.
Enter long when a long gartley signal appears,
Enter short when a short gartley signal appears.
I have edited the indicator, it took me a while.
I have still to study momo counts to add this filter.
Do you use also a confirmation with the size of the rectangle compared to the distance A-D (minimum 1/3 of this distance, something like that) ?