I don't think anybody will be able to readily code this. I have ZUPv76 and the Gartley patterns are plotted as lines, therefore it is impossible to reference ZUP utilizing iCustom(). The comments in the code are in Russian I cannot browse them. That means that the only way to approach this (besides scanning the objects table) would be to compose the Gartley code from scratch, which would require a decent understanding of straight line equations and some trigonometry.
I'm too busy to undertake any more work, and even if which weren't so, I anticipate it would take me a few hours to research and implement the Gartley formula, let alone add each of the other asked conditions, add the trading purposes, and test the EA comprehensively. Hence the development cost (my rate is USD 70.00 per hour) would be prohibitive.
The Russian programmer who wrote ZUP is a genius. It must have taken him many, many hours.
If you are willing to pay, then you may try calling sangmane or. Fantastic luck.