Bearish flags occur in a downtrend and are masterful in their ability to give false hope to longs and to shake shorts out of their positions 😉

GDX

Note how the broken channel has morphed into resistance.

GDX