Harmonic pattern indicator

 
Hello, I'm trying the harmonic pattern indicator that I am attaching: I would like to ask you a question gently: when the last leg of the pattern is being formed, draw a D; for example for the short, if the following candle makes a new minimum, the indicator updates the D: when is the last D definitive?
Reason: