Bull flags and bear flags
A flag is a brief, tight drift that follows a steep run. The steep run is the pole. The drift is the flag. In a bull flag the pole rises and the flag leans down or sideways. In a bear flag the pole falls and the flag leans up or sideways.
What people measure
Readers often measure a target from the length of the pole, starting where price leaves the flag. That is a ruler on the chart. It does not say the move must finish, and it does not say when.
On Gua
Pick 多頭旗形 or 空頭旗形. Gua looks only at the candles on the screen. If the pole and the pause are not both there, it does not fill in a target to make the picture look complete.