This script predicts the Gartley pattern.
What does it mean "predicts"? It checks the recent high/low points and tries to fit them into the X, A, B, and C points of the Gartley formation (both bearish and bullish). If there is a match, it draws the possible location for point D.
Does it mean that if there is a Gartley prediction, the price will surely go in that direction? Absolutely not! It means that if the price starts going in the direction of point D, it can change direction again around point D (it's called Potential Reversal Zone). In the above chart, it's more likely that the price will keep going up instead of turning direction and going down towards point D. You can read more about "good" and "bad" predictions on our blog.
"Gartley Predictor" a lightweight version of our Harmonic Predictor script that predicts all the common harmonic patterns (Gartley, Butterfly, Bat, Alternate Bat, Crab, Deep Crab, and Cypher).