Long upper shadow
An upper shadow large relative to the body records retreat from the bar’s high.
Purpose and construction
An upper shadow large relative to the body records retreat from the bar’s high.
Long upper shadow is applied to the chart series using the local definition below. Each period counts one bar on the active chart. The same period therefore covers a different amount of time on daily and intraday charts.
How to read it
Read the preceding trend and later confirmation. Exact body, shadow and gap thresholds follow the local calculation below.
A highlight or true output records a match to the local pattern conditions. Platforms can use different body ratios, gap rules and trend filters, so compare definitions before comparing markers.
Parameters
This definition exposes no configurable parameters.
Parameter names match the variables in the calculation. After changing a lookback or smoothing period, recalculate on the same data to compare response speed. Defaults from another platform may not match this definition.
Original illustrated case
This original daily-bar case moves through an advance, a pullback and a wider-range recovery. It does not represent a real security. Where available, outputs are calculated by the project’s formula engine using the defaults above.

From bar 165 to bar 167, the close fell from 111.825 to 110.9586. Compare each output below, then use the reading rules above to distinguish direction, momentum, participation or a pattern condition.
The displayed sample contains 3 matched bars. With backfilling definitions, several true values can belong to one pattern rather than independent signals.
| Point | Bar | Close | Volume | Calculated outputs |
|---|---|---|---|---|
| A | 165 | 111.825 | 20572 | VAR2: 0 |
| B | 166 | 111.3706 | 20640 | VAR2: 1 |
| C | 167 | 110.9586 | 20588 | VAR2: 0 |
To reproduce: retain the same OHLCV series and default settings, then compare outputs bar by bar. Warm-up bars can have no value. The case-generation script and local definition are stored with the project, so plotted curves are calculated rather than hand-drawn.
Local calculation
The local definition is shown below. Display labels can be translated; the case calculation uses original source identifiers. A shared indicator name does not guarantee identical calculations across platforms.
VAR2:(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,COLORBLUE;Limitations
- Read the preceding trend and later confirmation. Exact body, shadow and gap thresholds follow the local calculation below.
- Timeframe, adjustments, warm-up length and data units affect results. Align these before comparing charts.
Questions
Why can Long upper shadow differ across platforms?
Compare inputs, default periods, smoothing, offsets and data units before comparing the final value. This guide uses the local source definition rather than assuming that an external example has the same settings.
Does the example show a real trade?
No. The figure and table use simulated data to explain calculations and chart reading. They contain no real orders and make no return or win-rate claim.
References
The calculation comes from the project’s indicator registry. Primary references below provide related conceptual reading. Figures and numerical cases are independently produced for this project.