Apple Inc's (AAPL) fiscal second quarter earnings report on May 1 relieved anxious shareholders who were bombarded with bearish reports of slowing sales for two months leading into the release. The actual results triggered a combination buying spree and short squeeze, lifting shares of the Cupertino, California-based icon more than 20 points to an all-time high  above $190. It has gone to sleep since topping out on May 10, drifting sideways in a narrow range pattern that has failed to attract follow-through buying interest.

A three-week symmetrical triangle after a vertical trend impulse is perfectly normal, raising the odds for higher prices in coming weeks. This is especially true because the pattern has a strongly bullish reputation, sometimes called the pennant at the top of the flagpole. However, there are technical reasons to believe that Apple stock will turn lower here and fill the gap posted after the news, with the $169 to $174 price zone offering a lower-risk buying opportunity.

For starters, it has filled every gap since February 2017, when it broke out above 2015 resistance near $135. Breakaway gaps are harder to fill than common gaps deep within congestion patterns, and the May variety printed near the dead center of a seven-month trading range. The May rally also stalled at the top of a five-year rising high trendline and 11-month rising channel, while accumulation-distribution readings failed to hit new highs, generating a bearish divergence that is still in place. (For another recent take on the stock, see: Apple Poised for Another Bullish Breakout.)

AAPL Weekly Chart (2012 – 2018)

The stock ended a multi-year uptrend in 2012 and entered a steep correction that found support at the 200-week exponential moving average (EMA) in the second quarter of 2013. The subsequent recovery wave broke out above the prior high in October 2014, generating a strong advance that topped out near $135 in February 2015. A persistent decline into 2016 ended at the 200-week EMA once again, highlighting the importance of that price level, while a February 2017 breakaway gap signaled a fresh trend impulse that continued into 2018.

This arithmetic scale chart connects the 2012 and 2015 highs while cutting through a rising channel during the sequence of 2018 highs. However, switching to logarithmic scale centers the 2017 and early 2018 highs right on the rising trendline, signaling hidden long-term resistance. Meanwhile, the May rally wave mounted the trendline by a few points, but the consolidation pattern into June is stuck right at that level. (See also: Apple to Hit $214 on Services: Morgan Stanley.)

AAPL Daily Chart (2017 – 2018)

The 2017 uptrend eased into a shallow trajectory in November, while price action into March 2018 posted four nominally higher highs. A parallel line drawn under swing lows going back to July 2017 completes a rising channel pattern, with support now aligned at the 50-day EMA. It will take tremendous buying power to escape gravity from this price structure, especially with the multi-year trendline blocking the path to $200, which also marks a major resistance level.

On-balance volume (OBV) topped out in November 2017 after mounting the August high and entered a distribution phase that continued into late April, when speculators bought the stock ahead of the earnings report. Buying pressure after the news failed to lift the indicator above the prior high, setting off a bearish divergence that raises the odds for a pullback or extended trading range.

A decline to $185 would change the symmetrical triangle into a more bearish descending triangle, opening the door to a pullback that fills the May gap. The 200-day EMA is traversing that price zone right now, which also corresponds with the .618 Fibonacci rally retracement level. As a result, patient investors and traders looking to get on board the Apple train might get a low-risk buying opportunity in the coming weeks.

The Bottom Line

Apple shares rallied to a new high after a stronger-than-expected second quarter earnings report and eased into a sideways pattern that will soon enter its fourth week. Several layers of hidden resistance raise the odds for a pullback that offers a buying opportunity near $170. (For additional reading, see: Apple Reportedly Shifting to OLED, Suppliers Hit.)

<Disclosure: The author held no positions in the aforementioned securities at the time of publication.>