Playbooks

Google Trend Gate: GOOGL Long Above Its 50-Day Average

Published

This strategy uses one stock, one moving average and one weekly habit. It goes long Google when the trend is up and holds cash when it is not. It never puts more than half the account at risk. In the backtest it made 34.6% with a 1.55 Sharpe ratio. On average it had only about a third of its capital in the market.

How it works

The strategy trades the xyz:GOOGL-USDC-PERP perpetual on daily bars. It tracks one number, the trend. The trend is how far today's close sits above or below its 50-day simple moving average:

trendt=Pt150∑i=049Pt−i−1\text{trend}_t = \frac{P_t}{\tfrac{1}{50}\sum_{i=0}^{49} P_{t-i}} - 1

If the trend is positive, the strategy holds GOOGL at 50% of equity. If not, it holds nothing:

wt={0.5if trendt>00otherwisew_t = \begin{cases} 0.5 & \text{if } \text{trend}_t > 0 \\ 0 & \text{otherwise} \end{cases}

The rule is not checked the same way every day:

  • When flat, it checks every day. A new uptrend gets bought on the first bar that closes above the average.
  • When holding, it checks only on Mondays. A one-day dip below the average does not force an exit. Each Monday it either trims or tops up the position back to 50%, or it closes the position.
New daily bar Holding GOOGL and it is not Monday? yes Hold, do nothing no Close above its 50-day average? yes no Rebalance to 50% long Close position (hold cash) Flat: entry checked daily · Held: exit checked Mondays
The rule runs on every daily bar. Once a position is open, only Mondays can change it.
Long 50% Flat Long 50% crosses below Monday exit same-day entry Price 50-day average illustration, not real data
Entries are quick and exits are patient. A drop below the average closes the position only at the next Monday check.

Backtest results

Daily bars from 1 April 2025 to 20 November 2026, starting with $10,000.

+34.62%

Annual return

+19.86%

1.55

Max drawdown

12.14%

+10% +5% 0% −5% +10.3% AMJJASOND JFMAMJJASON 2025 2026
Monthly returns. Dots mark months with no return: the April 2025 start, March and July 2026, when the filter kept the account in cash, and November 2026, which ends on the 20th.
GOOGL buy-and-hold over the same period+68.9%
Strategy total return+34.6%
Average capital exposed34%
Trades62
Fees paid (share of capital)0.24%
Funding paid0.00%

Buying and holding GOOGL made more money: 68.9% against 34.6%. That compares a fully invested position with one that averaged 34% of capital. The strategy earned about half of buy-and-hold's return with about a third of the money at work. Its worst drawdown was 12.1%. Fees cost 0.24% of capital over 62 trades.

Why it works

Trends in large stocks tend to persist. A big company's stock often moves in long swings, as earnings revisions and investor flows build over weeks. When the price is above its 50-day average, the recent trend is up. The filter keeps the strategy in during those stretches. From July to November 2025 it gained between 4.4% and 7.7% every month.

The 50-day average takes you out when the trend breaks. When GOOGL fell below its average, the strategy moved to cash. In March and July 2026 it held no position at all. Its losses were small too. No month lost more than 4.8%, even with the position open.

Monday-only exits cut whipsaw. Price often slips just below a moving average for a day or two and then recovers. A daily exit rule would sell on those dips and buy back higher. Checking exits once a week ignores most of that noise, which keeps trading costs low. The cost is that a real breakdown can run up to four extra days before the exit.

Half size limits the damage. At 50% weight, a 10% drop in GOOGL costs the account only about 5%. That cap is a big part of why the Sharpe ratio is 1.55 and the drawdown stayed near 12%.

Where it struggled. From May to September 2026 the price kept crossing its average. The strategy lost about 4% in June and again in August, while it was buying breakouts that failed. No trend filter can avoid this in a choppy market. It can only keep the losses small.

Ideas to improve it

1. Require a rising average

The mid-2026 losses came from buying when price crossed above a flat or falling average. Add a second condition: the 50-day average must also be higher than it was 10 days ago. This should skip many false breakouts in sideways markets. It will also enter real uptrends a little later.

2. Size by volatility instead of a fixed 50%

The account averaged only 34% exposure, so it missed much of GOOGL's rally. Instead of a fixed 50%, size the position to a volatility target. It then holds more in calm uptrends and less in turbulent ones. The drawdown should stay controlled while more of the trend is captured.

Make it yours

The core of this strategy fits in a few lines: a trend filter, a position size and a rule for when to check. Try it on another stock. Change the 50-day window, or check exits daily instead of weekly. Each change is one backtest away.

Built by an AlphaPilot user. Historical backtest results do not predict future returns. Not investment advice.