In the realm of technical analysis, a "flag" is a chart pattern that illustrates a temporary pause or compression in directional price action. A flag is classified as being a…