Comex gold has been slumping since Donald Trump was elected president on Nov. 9. Today, the weekly chart for gold is negative but oversold, but still has a solid gain since the end of 2015 and since bottoming on Dec. 3.

Investments in gold equities have been more volatile, but have outperformed the precious metal since setting multiyear intraday lows between August 2015 and January 2016.

The VanEck Vectors Gold Miners ETF (GDX) - Get Report , Barrick Gold (ABX) , Yamana Gold (AUY) - Get Report , Goldcorp (GG) and Newmont Mining (NEM) - Get Report  may be deep in bear market territory from their 2016 highs, but they are also in bull market territory since their lows and have outperformed since the end of 2015. This outperformance makes investments in gold stocks important components in investor portfolios in 2017.

Here's a scorecard for Comex gold, the gold exchange-traded fund and the four gold-mining stocks.

Image placeholder title

The weekly chart shows a red line through the price bars, which is the key weekly moving average (a five-week modified moving average). The green line is the 200-week simple moving average considered the "reversion to the mean."

The study in red along the bottom of the chart is weekly momentum (a 12x3x3 weekly slow stochastic), which scales between 00.00 and 100.00, where readings above 80.00 indicates overbought and readings below 20.00 indicates oversold.

A negative weekly chart shows the stock below its key weekly moving average with weekly momentum declining below 80.00 in a trend towards 20.00. A positive weekly chart shows the stock above its key weekly moving average with weekly momentum rising from above 20.00 in a trend towards 80.00.

Here's the weekly chart for Comex gold.

Image placeholder title

Courtesy of MetaStock Xenith

Comex gold closed Wednesday at $1,164.60, up 9.8% since the end of 2015 and up 11.4% since trading as low as $1,045.4 on Dec. 3, 2015. Gold is in correction territory 15.5% below its July 6 high of $1,377.5.

The weekly chart is negative but oversold with gold below its key weekly moving average of $1,180.1 and below its 200-week simple moving average at $1,251.8. The weekly momentum reading is projected to rise to 9.46 this week up from 7.47 on Dec. 30, with both readings well below the oversold threshold of 20.00.

Investors looking to buy gold futures should do so on weakness to $1,060.90, which is a key level on technical charts until the end of next week. Investors looking to reduce holdings should sell strength to $1,196 and $1,212.40, which are key levels on technical charts until the end of March and until the end of January, respectively.

Additional volatility is feasible in either or both directions in 2017 as semiannual value levels are $918.70 and $727.50 with annual risky levels of $1,660.10 and $1,674.10.

Here's the weekly chart for the VanEck Vectors Gold Miners ETF.

Image placeholder title

Courtesy of MetaStock Xenith

The VanEck Vectors Gold Miners ETF trades at close to $22, up 59.8% since the end of 2015. The ETF is in bear market territory 31% below its Aug. 12 high of $31.79 and in bull market territory 76.8% above its Jan. 19 low of $12.40.

The weekly chart will shift to positive next week given a close this week above its key weekly moving average of $21.36 and above its 200-week simple moving average at $22.43. The weekly momentum reading is projected to rise to 17.47 this week up from 11.03 on Dec. 30, so its highly likely that the reading for the following week will be above the oversold threshold of 20.00.

Investors looking to buy the gold ETF should do so on weakness to $21.49, which is a key level on technical charts until the end of March. Investors looking to reduce holdings should sell strength to $23.06, which is a key level on technical charts until the end of January. The upside potential for 2017 is to $32.91.

Here's the weekly chart for Barrick Gold.

TST Recommends

Image placeholder title

Courtesy of MetaStock Xenith

Barrick Gold trades at $16, up 122.2% since the end of 2015. The stock is in bear market territory 30.1% below its July 6 high of $23.47, and in bull market territory 177.5% above its Sept. 23, 2015 low of $5.91.

The weekly chart is positive with the stock above its key weekly moving average of $15.72 and above its 200-week simple moving average of $15.31. The weekly momentum reading is projected to rise to 26.23 this week up from 21.48 on Dec. 30, trending above the oversold threshold of 20.00.

Investors looking to buy Barrick on weakness should do so at $16.03 and $15.91, which are key levels on technical charts until the end of January and until the end of March, respectively. Investors looking to reduce holdings should sell strength to $17.72, which is the 200-day simple moving average. I show an annual pivot of $16.68.

Here's the weekly chart for Yamana Gold.

Image placeholder title

Courtesy of MetaStock Xenith

Yamana Gold trades at $3, up 62.4% since the end of 2015. The stock is in bear market territory 49.6% below its July 13 high of $5.99, and is in bull market territory 118.8% above its Jan. 19 low of $1.38. The stock was an "option on survival" when it traded as low as $1.38 on Jan. 19. Remember that any stock trading between $1 and $3 a share is considered at "option on survival".

The weekly chart is neutral with the stock above its key weekly moving average of $3 and well below its 200-week simple moving average of $6. The weekly momentum reading is projected to rise to 11.92 this week up from 7.01 on Dec. 30, as the stock becomes less oversold below the oversold threshold of 20.00.

Investors looking to buy Yamana on weakness should do so at $2.96 and $2.27, which are key levels on technical charts until the end of January and until the end of March, respectively. Investors looking to reduce holdings should sell strength to $6.00, which is the 200-week simple moving average. My annual risky level is $9.21.

Here's the weekly chart for Goldcorp.

Image placeholder title

Courtesy of MetaStock Xenith

Goldcorp trades around $14, up 23.4% from the end of 2015. The stock is in bear market territory 30% below its July 6 high of $20.38 and in bull market territory 50.7% above its Jan. 21 low of $9.46.

The weekly chart is positive with the stock above its key weekly moving average of $13.66 and well below its 200-week simple moving average of $20.55. The weekly momentum reading is projected to rise to 23.23 this week up from 16.50 on Dec. 30, as the reading rises above the oversold threshold of 20.00.

Investors looking to buy Goldcorp on weakness should do so at $12.03 and $11.22, which are key levels on technical charts until the end of March and until the end of January, respectively. Investors looking to reduce holdings should sell strength to $20.55, which is the 200-week simple moving average. My annual risky level is $22.96.

Here's the weekly chart for Newmont Mining.

Image placeholder title

Courtesy of MetaStock Xenith

Newmont Mining trades at $35, up 94.3% since the end of 2015. The stock is in bear market territory 24.1% below its Aug. 12 high of $46.07 and in bull market territory 127.2% above its Aug. 26, 2015 low of $15.39.

The weekly chart is positive with the stock above its key weekly moving average of $33.84. The stock is well above its 200-week simple moving average of $26.86. The weekly momentum reading is projected to rise to 29.16 this week up from 22.99 on Dec. 30, trending above the oversold threshold of 20.00.

Investors looking to buy Newmont on weakness should do so at $28.92, which are key level on technical charts until the end of 2017. Investors looking to reduce holdings should sell strength to $37.16 and $38.51, which are key levels on technical charts until the end of March and until the end of January, respectively. My annual pivot is $35.58.

This article is commentary by an independent contributor. At the time of publication, the author held no positions in the stocks mentioned.