Is a High-Volume Long Upper Shadow a Reversal or a Bullish Shakeout? A 3-Year Backtest

TL;DR: A 3-year backtest at 15-minute frequency of high-volume long upper shadows found wins and losses split evenly with no directional edge, and adding the condition that the next day closes above half of the upper shadow still gave an even split, so a single candlestick cannot predict direction.

Key ideas

  • The debate started with a long upper shadow left by Hong Su: one side sees a reversal, the other sees a bullish shakeout (仙人指路) with the rally continuing, and the speaker argues for replacing gut judgment with a backtest.
  • The long-upper-shadow black candle is defined as an upper shadow greater than 3%, a body less than half the upper shadow, the highest high in the last 10 days, the largest volume in the last 5 days, and a close at least 30% above the 20-day moving average; parameters are adjustable, 30% rarely finds any stocks, and lowering it to 20% or 15% gives more candidates.
  • The backtest mimics real order placement: a fixed amount per trade, entry at the next day's open once the conditions are met, and a trailing exit when price falls 10% from its high after making a new high, rather than spreading capital evenly across each day's signals.
  • The first backtest had about 127 × 10,000 in trading costs and about 132 × 10,000 in losses, so losses nearly equaled costs and wins and losses split evenly; after adding the condition that the next day closes above half of the upper shadow, trades dropped sharply but the result was still an even split, so judging direction requires other conditions.
量化交易科學園區 - 江加宏Length 14:09Quant Trading Science Park
Episodes
  1. Mon, Nov 28Custom SwingHighBar: Finding Perfect Peaks with Rising Left Side and Falling Right Side
  2. Sat, Dec 31Automatically Detecting an M-Top with XScript: Swing Highs, Neckline and Multiple Filter Conditions
  3. Thu, Mar 16Detecting Volume-Price Divergence with Code: Comparing Price and Volume at Two Swing Highs
  4. Wed, Mar 29Recreating the Day-Trading Three Lines and a Short Alert for Breakouts That Fall Back, Using XS
  5. Tue, Apr 11RSI Bearish Divergence Algorithm and Tolerant Sampling: Syncing Price Highs with Indicator Highs
  6. Thu, Apr 20Measuring Bullish Strength from a Single Candlestick
  7. Fri, Apr 28Manual Entry, Automatic Exit: Using XQ Semi-Automated Trading to Free Up Office Workers
  8. Sun, May 14Automated Trading Without Coding Skills: Split a Strategy into Four Building Blocks of Stock Selection, Entry, Exit and Position Control
  9. Mon, Jun 5Is a High-Volume Long Upper Shadow a Reversal or a Bullish Shakeout? A 3-Year Backtest
  10. Sat, Jun 17Picking Stocks at the Second-Wave Breakout: Big Prior Rally, Low-Volume Consolidation, Then a High-Volume Long Red Candle
  11. Wed, Sep 23Disposition stocks no longer pull back under the new rules: buy those that close strong on day 1 and sell on day 5
  12. Wed, Oct 7A Live Trading Strategy Under the New Disposition Stock Rules: Buy on Day 1, Sell on the Last Day, and Use Stop-Losses
  13. Wed, Oct 21Foreign Capital Rotates Into Defensive Stocks, and a Review of Live Disposition Stock Trades
  14. Wed, Oct 28SDT Shared Variables: Fixed Memory That Saves Resources and Lets Instruments in the Same Strategy Pass Data to Each Other
  15. Wed, Nov 4Disposition Stock Strategy Flips From Bull to Bear: Why It Is Paused When the Market Weakens
  16. Wed, Nov 18Auditing Online Course Strategies with AI: Out-of-Sample Backtesting and Building Your Own XQ Minute-Bar Database
  17. Wed, Nov 25Options Long Straddle Backtest: Trading It Every Day Loses Over the Long Run, With Chances to Profit Only in High-Volatility Periods
▶ Watch the original on YouTube
Ask AI about this episode

Copy the prompt, paste it into an AI service, and add the question. The AI reads the notes on this site and links to the page and the video timestamps.

Or open directly:ChatGPTClaudeGrokPerplexity

Section summaries

  1. 0:05The Upper Shadow Debate and Why Backtest

    The speaker and a friend discussed a long upper shadow left by Hong Su: the speaker saw it as a reversal signal, while the friend saw a bullish shakeout (仙人指路) and expected the rally to continue. The speaker argued for using a scientific method to verify who is right, and decided to write a stock-screening program first and then test it with a backtest.

    ▶ Watch from here
    Slide: The Upper Shadow Debate and Why Backtest
  2. 1:05Defining the Upper-Shadow Black Candle Screen and Exit

    The screening conditions are an upper shadow greater than 3%, a body less than half the upper shadow, the highest high in the last 10 days, the largest volume in the last 5 days, and a close at least 30% above the 20-day moving average, which signals a sharp rally; the parameter can be lowered to 20% or 15% to get more stocks. A typical screening backtest spreads capital evenly across that day's signals, which does not match real order placement, so the speaker rewrote it as a fixed-amount long program, with a trailing exit when price falls 10% from its high after a new high.

    ▶ Watch from here
    Slide: Defining the Upper-Shadow Black Candle Screen and Exit
  3. 10:0515-Minute Frequency, 3-Year Backtest Setup

    The backtest ran at 15-minute frequency over the most recent 3 years, using the upper-shadow screening results as the universe, entering at the next day's open once the conditions are met and exiting when the trailing stop is hit. Over the 3 years there were a great many trades, and trading costs were about 127 × 10,000.

    ▶ Watch from here
    Slide: 15-Minute Frequency, 3-Year Backtest Setup
  4. 10:55Backtest Result: One Candlestick Cannot Predict

    The first backtest lost about 132 × 10,000, nearly equal to the 127 × 10,000 in trading costs, with wins and losses split evenly and no directional edge. The friend argued the shakeout only counts if the next day closes above half of the long upper shadow; after adding that condition, trades dropped sharply but the result was still an even split. The conclusion is that a single candlestick cannot predict direction and other conditions are needed.

    ▶ Watch from here
    Slide: Backtest Result: One Candlestick Cannot Predict

This page summarizes the video; it is not an official transcript. Original video: Is a High-Volume Long Upper Shadow a Reversal or a Bullish Shakeout? A 3-Year Backtest (量化交易科學園區 - 江加宏), copyright belongs to the original creator.