Flags consist of transient reactions within a trend that continues rapidly. As the parity moves along the path, the parity abruptly moves in the other direction. And it goes in the opposite direction between the two parallel lines for a while. After the flag formation is complete, the parity remains true to its previous trend and continues its way.
Below, you can see the various flag formations.