Understanding the Flag Pattern in Technical Analysis