The markets would probably be much more bullish if not for the debt-ceiling debate in Washington, and in fact last week's rally will need to last into an early-week debt deal or we could see a correction ahead, writes MoneyShow.com senior editor Tom Aspray.

The dual Euro and US debt crises have been dominating the market action for at least the past several weeks, but now the Eurozone countries appear to have taken definitive action.

With the agreement to work out Greece’s debt problem, it seems clear that the Eurozone leaders are committed to taking whatever steps are necessary to keep the contagion from spreading.

Most technical analysts, but few fundamental analysts, realize the important role that psychology plays in the stock market. I think it is one of the more important factors in determining the market’s direction on a week-to-week or month-to-month basis. Fundamentals, I feel, are the key factor in the major trends.

The global debt fears have kept many out of the stock market since the May highs, and a failure to act on the debt ceiling could further depress the market. Conversely, I think raising the debt ceiling before the deadline would give the US and global stock markets quite a boost. (The European markets closed with nice gains Friday.)

The earnings reports by technology giants Google (GOOG) and Apple (AAPL) clearly have raised the hopes for a further economic recovery. Without the debt crisis deadline looming over the market, stocks would be much higher.

Technically, last week’s action suggests that the uptrend from the June lows has resumed, but further strength is needed this week. It will be important for the other major averages, including the S&P 500, Dow Industrials, and Nasdaq-100 to join the Dow Transports in making new highs.

As I discussed earlier in the week, it is the airline sector that has kept the Transports from going even higher. A rally failure at the May highs by the S&P 500 would certainly weaken the technical outlook.

The most encouraging development in this quarter’s earnings was from the banks, as several—including Wells Fargo (WFC) and JPMorgan Chase (JPM)— reported earnings that were much better than expected. WFC is up over 10% from last Monday’s low, while JPM is up over 8%.

chart
Click to Enlarge

However, the financial sector is still badly lagging the S&P 500,and while my RS analysis of the sector has improved, it shows no confirmation of a bottom. The chart above tracks the percentage performance of the Select Sector SPDR Health Care (XLV), the Spyder Trust (SPY) and the Select Sector SPDR Financial (XLF) since the start of the year.

The XLV is up 11.9% so far this year, about double the 5.9% gain in the SPY. The XLF is now down 5.9% for the year, but just a week ago was down closer to 10%.

Looking at this in a different way, if you bought XLV at the start of the year instead of XLF, there would have been a 17% difference in performance.

This week we get the double whammy: more earnings reports, combined with a basket full of economic data. On Tuesday, we get the new-home sales figures, the S&P Case-Shiller Housing Price Index, and the latest readings on consumer confidence.

Wednesday will bring durable-goods orders, and later in the day, the Beige Book will be released. On Thursday, jobless claims and pending-home sales data follows, while Friday we get the initial advance readings on the second-quarter GDP.

|pagebreak|

WHAT TO WATCH

The stock market, after declining seven days from the highs (similar to April’s correction), rebounded impressively last week. The market internals were very impressive last Thursday. The A/D lines are all rising, but most are still significantly below the early-July highs.

Therefore, we need to see further strength this week to indicate that the major averages can move past the highs. If this occurs, it will of course be important that the A/D lines also make new highs.

chart
Click to Enlarge

S&P 500
The key support level for the Spyder Trust (SPY) at $129.80 was broken intraday last Monday, but the SPY closed the day at $130.61.

The sharp rallies last Tuesday and Thursday were impressive, with the next resistance at $135.36 to $135.70. Major resistance follows at $137.18 and the May highs.

The S&P 500 A/D line has turned up after holding its uptrend (line a) from the June lows. A break of this uptrend will indicate a drop back to the June lows. There is important A/D support at last Monday’s lows.

A daily close in the SPY below $132.42 would weaken the short-term uptrend.

Dow Industrials
The Diamonds Trust (DIA) did briefly drop below the 50% retracement support at $122.83 last Monday, before rallying sharply. It's already close to the July highs at $127.37. It was hurt Friday by Caterpillar's (CAT) weak earnings.

There is further strong resistance at $127.67 to $128.63 (the May highs).

The Dow Industrials’ A/D line slightly violated its short-term trend (line b) last week, but is still holding well above the longer-term support (line c).

|pagebreak|

chart
Click to Enlarge

Nasdaq-100
The PowerShares QQQ Trust (QQQ) was very strong last week, gaining more than 3%, and was able to surpass the May highs at $59.34 (line a). There is weekly chart resistance in the $62 to $63 area, with upside targets from the trading range at $65.

The A/D line has turned up sharply, but has not yet made new highs, so it needs to be watched more closely. If it turns down without making a new high, that would be negative.

The weekly OBV is above its WMA but still below its downtrend. The first good support for QQQ now sits at $58.04 to $58.34.

Since the June 16 lows, the QQQ—which follows the Nasdaq-100—has clearly been stronger, up 10.3%, versus just a 5.7% gain in the SPY.

Russell 2000
The iShares Russell 2000 Trust (IWM) is still stalled below its key short-term resistance at $84.47, with stronger resistance ahead at $85.50 to $86.

The Russell 2000 A/D line is still rising, but is well below its prior peak, and even further below the yearly highs formed in April.

IWM has also done significantly better than the SPY since the June lows, as it is up 7.6% versus the 5.7% gain for the SPY.

Sector Focus
The Dow Jones Transportation Average rebounded last week, but is still well below the previous peak. The short-term momentum is positive, but a close above 5,500 and then 5,550 is needed to signal upward acceleration.

The Transports did hold above the important 61.8% support at 5,265 on a closing basis. As I discussed in more detail on Thursday, the airline sector has been hurting the Transportation average, and the volume this week will be important.

In Wednesday’s “3 Sizzling Summer Sectors," I recommended buying the Select Sector SPDR Technology (XLK), Select Sector SPDR Consumer Discretionary (XLY), and Select Sector SPDR Consumer Staples (XLP). I still think these three will continue to be the best performing sectors.

Oil
Crude oil has continued to edge higher, and closed Friday above the daily downtrend. There is still more important resistance at $101.73 to $103.40 (for the September contract).

The weekly on-balance-volume has turned positive, but has still not broken through major resistance.
There is initial support for the September crude oil contract at $96.25 to $95.

US Dollar
The PowerShares DB US Dollar Index Bullish Fund (UUP) completed its continuation pattern (lines c and d) last week, as UUP gapped through support on Thursday. Volume was heavy on the break.

The triangle has downside targets ranging from $20.75 to $20.30. There is first strong resistance in the $21.25 to $21.40 area, and then above $21.60.

Gold & Silver
The SPDR Gold Trust (GLD) traded in a range between $154 and $156.58 as it consolidated the gains from the prior week. Technically, a further correction into the middle of next week should set up a good entry in GLD.

For a in-depth discussion, please read my column from earlier today, “GLD and SLV: When and Where to Buy.”

The iShares Silver Trust (SLV) also looks positive, based on the daily analysis, but the weekly technical indicators are still negative.

The Week Ahead
The action last week has kept the stock-market rally from the June lows alive. There are still some divergences between prices and the market internals which will have to be monitored closely in the week ahead.

If we don’t get even a temporary solution to the debt ceiling by mid-week, there is likely to be an increase in selling pressure. Unless the stock or ETF is a long-term holding, don't use stops any wider than below last Monday’s lows.

For new positions, risk will be the most important factor until the A/D lines get back in sync with the market. On any new positions, I would not risk more than 5% from your entry point. If is wider, look to buy lower or find something else to buy.