In simple terms
Ask three separate questions: did the completed close newly cross the band, did the candle's range merely reach its final band, and was ADX at least 25? These conditions can disagree. A final band calculated from the close was not necessarily known when the high occurred earlier within that candle.
On this page
Fix the settings before reading the bands
This guide uses SMA20 of observed Bid closes, no horizontal shift, and a 0.5% deviation on each side. ADX14 uses Wilder smoothing with the seed below. Different moving-average methods, applied prices, shifts or ADX initialization produce different readings.
Keep prices and time conventions explicit
GBP/USD prices are USD per GBP. HistData M1 Bid timestamps use fixed EST, UTC−05, without daylight-saving changes; we aggregate them into UTC H4 buckets. Ask quotes and executed transactions are not observed. A displayed bucket anchor need not be its first actual quote.
Convert the percentage before multiplying
0.5% equals 0.005, not 0.5 price units. Upper=SMA20×1.005 and Lower=SMA20×0.995. The half-width is 0.5% of the current average, and the entire band width is 1%. This is neither a standard-deviation band nor an ATR-width channel.
SMA20_t = SUM(C, 20) / 20; k = 0.5 / 100 = 0.005
Upper_t = SMA20_t × (1 + k); Lower_t = SMA20_t × (1 − k)
Check the width in price and pips
At a constructed SMA of 1.25000, the upper band is 1.25625 and the lower 1.24375. With a GBP/USD pip of 0.0001, each side is 62.5 pips from the center; the full width is 125 pips. These are teaching values, not a market candle.
Constructed SMA20 with ±0.5% bands
Define a new cross using two completed closes
An upward cross requires previous close≤previous upper band and current close>current upper band. Merely staying above the band is not a new cross. Equality at the current band is inside. Our cross flags require adjacent scheduled H4 anchors and defined bands on both candles.
C_prev ≤ Upper_prev; C_t > Upper_t
Distinguish a range touch from an intrabar trigger
High≥the final current upper band with close≤that band describes a range reach without an outside close. The final band includes that same close. This retrospective comparison cannot establish when an intrabar touch happened or whether the moving band was known then.
H_t ≥ Upper_t; C_t ≤ Upper_t
Count the initial observations
SMA20 and both bands first exist on observation 20; a new close cross can first be checked on 21. DI14 and DX first require 15 observed candles, and the first ADX14 requires 28 under our specified seed. Availability counts are not convergence guarantees.
| Indicator | Observed bars needed |
|---|---|
| SMA20 center | 20 |
| +DI14 / −DI14 / DX | 15 |
| Wilder ADX14 | 28 |
Build directional movement before ADX
True range includes the previous observed close. Positive DM keeps a positive high-to-high rise only when it exceeds the low-to-low fall; negative DM uses the opposite rule. Ties give both zero. We seed the first 14 transitions by their mean, then use Wilder's weight 1/14.
TR = max(H − L, |H − C_prev|, |L − C_prev|)
Up = H − H_prev; Down = L_prev − L
DM_plus = Up if Up > Down and Up > 0; else 0
DM_minus = Down if Down > Up and Down > 0; else 0
RMA14_t = (13 × RMA14_prev + current) / 14
Read ADX as strength, not direction
DI values normalize smoothed DM by smoothed true range; DX measures their absolute imbalance, and ADX smooths DX. Zero denominators give zero DI or DX here. ADX is on a 0–100 scale, without a bullish or bearish sign. ADX≥25 is our stated descriptive threshold, not a universal profitability test.
DI_plus = 100 × RMA14(DM_plus) / RMA14(TR)
DI_minus = 100 × RMA14(DM_minus) / RMA14(TR)
DX = 100 × |DI_plus − DI_minus| / (DI_plus + DI_minus)
ADX14 = RMA14(DX); ADX14 ≥ 25
A close cross can meet the ADX condition
The first qualifying case is available at 2024-03-07 16:00 UTC: close 1.27890 exceeds upper 1.27785, with ADX 31.04. The previous close was not above its own band. S marks the completed condition candle, not an order, entry price or return.
New upper-band close cross with ADX≥25
Choose a candle with the chart, slider or arrow keys. Prices and bands use five decimals, ADX/DI two. Four times distinguish bucket anchor, scheduled end and actual first/last minute; record count shows coverage.
- Interval anchor · UTC
- 2024-03-05 12:00 UTC
- Scheduled interval end · UTC
- 2024-03-05 16:00 UTC
- First observed minute · UTC
- 2024-03-05 12:00 UTC
- Last observed minute · UTC
- 2024-03-05 15:59 UTC
- Open
- 1.26778
- High
- 1.27347
- Low
- 1.26740
- Close
- 1.27322
- SMA20 center
- 1.26647
- Upper band
- 1.27281
- Lower band
- 1.26014
- Wilder ADX14
- 17.16
- +DI14
- 28.27
- −DI14
- 14.27
- Observed minute records
- 240
A high ADX can accompany only a range touch
At 2024-02-22 12:00 UTC, high 1.27093 reaches beyond the final upper 1.26844, but close 1.26798 does not. ADX is 25.50. The strength condition does not turn a wick reach into a close cross, nor prove an executable intrabar signal.
Range touch without an outside close, despite ADX≥25
Choose a candle with the chart, slider or arrow keys. Prices and bands use five decimals, ADX/DI two. Four times distinguish bucket anchor, scheduled end and actual first/last minute; record count shows coverage.
- Interval anchor · UTC
- 2024-02-20 08:00 UTC
- Scheduled interval end · UTC
- 2024-02-20 12:00 UTC
- First observed minute · UTC
- 2024-02-20 08:00 UTC
- Last observed minute · UTC
- 2024-02-20 11:59 UTC
- Open
- 1.25899
- High
- 1.26158
- Low
- 1.25810
- Close
- 1.25900
- SMA20 center
- 1.25936
- Upper band
- 1.26566
- Lower band
- 1.25307
- Wilder ADX14
- 9.67
- +DI14
- 22.12
- −DI14
- 18.54
- Observed minute records
- 240
A close cross can fail the ADX condition
At 2024-01-05 16:00 UTC, close 1.27515 crosses above upper 1.27275, while ADX is 16.49, below 25. The price crossing remains valid; the separate strength threshold fails. Neither this case nor the higher-ADX example is selected by subsequent return.
New upper-band close cross with ADX<25
Choose a candle with the chart, slider or arrow keys. Prices and bands use five decimals, ADX/DI two. Four times distinguish bucket anchor, scheduled end and actual first/last minute; record count shows coverage.
- Interval anchor · UTC
- 2024-01-03 12:00 UTC
- Scheduled interval end · UTC
- 2024-01-03 16:00 UTC
- First observed minute · UTC
- 2024-01-03 12:00 UTC
- Last observed minute · UTC
- 2024-01-03 15:59 UTC
- Open
- 1.26264
- High
- 1.26562
- Low
- 1.26156
- Close
- 1.26276
- SMA20 center
- 1.26963
- Upper band
- 1.27597
- Lower band
- 1.26328
- Wilder ADX14
- 23.18
- +DI14
- 15.46
- −DI14
- 24.64
- Observed minute records
- 240
Retain sparse observations and gaps
The history contains 2,553,590 minute records and 11,261 H4 buckets. Of these, 3,086 have fewer than 240 minutes and 624 lack the final minute. Only 420 byte-identical duplicate rows were removed. Indicator state continues over observed gaps and weekends; absent minutes and bars are not fabricated.
Separate scheduled availability from actual quotes
Final indicators belong to the completed interval at its scheduled end. The inspector also gives actual first/last minute and record count; an absent final minute makes the retained close an older-price proxy. Each selected condition candle and its predecessor have full coverage. Visible later candles are context, never selection inputs.
Match scales and initialization across platforms
Prices and bands display five decimals; ADX and DI display two. Comparisons use unrounded values. The ADX panel always shows 0–100. A fixed percentage width still changes in price units as SMA changes, but does not expand directly with measured volatility. Check full settings and retained history before comparing platforms.
Reproduce readings before testing a trading system
Examples are the first qualifying candles with H4 anchors on or after 2024-01-01 UTC, not chosen for later profit. Downloads include the frozen rules, full observations, CSV, standalone replay, independent checker and pinned source evidence. Optional original-ZIP verification needs numpy. Entries, exits, costs and position sizing need a separate strategy test.
python3 envelopes-guide-replay.py --protocol envelopes-guide-protocol.json --source-evidence gbpusd-elder-evidence.json --output replay.json python3 envelopes-guide-independent-check.py --protocol envelopes-guide-protocol.json --evidence replay.json --report check.json python3 envelopes-guide-independent-check.py --protocol envelopes-guide-protocol.json --evidence replay.json --raw-dir raw --report raw-check.json
Frequently asked questions
Does 0.5% mean a total width of 0.5%?
No. Here each side is 0.5% from SMA20, so the full distance between bands is 1% of the average. The multiplier is 0.005, and the horizontal shift is zero.
Are these Bollinger Bands or Keltner Channels?
No. These Envelopes use a percentage of SMA20. Their width does not use standard deviation or ATR. Changing the moving average or width rule defines a different configuration.
Does a high above the band prove a close breakout?
No. The close may remain inside. Comparing a high with a final close-derived band is retrospective and does not establish an executable intrabar touch at that same band value.
Does ADX above 25 mean the trend points upward?
No. ADX measures strength without a direction sign. The price-band comparison and DI components supply separate information. A threshold alone is not evidence of profitability.
Why can another platform show different ADX values?
Compare Wilder versus other smoothing, transition counts, initial means, zero-denominator rules, price source, time boundaries and retained history. Our first defined ADX14 is at observation 28; that does not guarantee convergence.
Do the three examples establish a profitable strategy?
No. They separate completed-data conditions without simulated trades. Profitability requires frozen entry/exit rules, execution assumptions, costs, sizing and account evaluation. The history and examples are retrospective.
Primary sources
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.