APPLIED STUDY · ORIGINAL LESSON
Learning plan and prerequisites
Before you begin: Complete VWAP and understand that a confirmed local extreme may require later observations.
- Compute weighted averages from different fixed anchors
- Distinguish event time from recognition time
- Prevent retrospective anchor selection from becoming an earlier trading signal
Mechanism and interpretation
Anchored VWAP uses only eligible transactions from a selected starting event through the current evaluation time. The formula is unchanged: sum price times quantity divided by sum quantity. The anchor changes the membership of those sums. A scheduled event, a documented announcement timestamp and a retrospectively confirmed low can all define anchors, but they have different information-availability properties. The exact inclusion rule for a transaction at the anchor must also be stated.
Separate the event timestamp from the time a selection rule recognizes it. An algorithm that identifies a low only after a later candle closes may begin its displayed historical average at that earlier low, but it cannot claim that the selection was known then. Retrospective plotting can be legitimate descriptive analysis when labeled honestly. A causal signal must wait for recognition and use only data available at that time. Comparing many anchors and keeping the one that best fits later price responses introduces another selection step.
Worked case — synthetic data
Four synthetic completed groups have representative prices [100,102,98,104] and quantities [100,200,100,100]. For this calculation, each group's representative price is assumed to be its exact transaction-weighted price. An anchor at group 1 includes traded value 50,600 and quantity 500, giving anchored VWAP 101.2. An anchor at group 3 includes values 9,800 and 10,400 over 200 shares, giving 101.0.
At the end of group 2, the group-1 average was 30,400/300, approximately 101.3333. Group 3 had not occurred. If group 3 is selected as a local low only after group 4 completes, a group-3 anchor is unavailable as a selected trading reference before that recognition. If instead a previously scheduled event specifies the start of group 3 in advance, the anchor's availability is different. Identical plotted sums can therefore arise from different selection histories.
Context and failure modes
An anchor chosen by the largest volume event in a completed month is a retrospective monthly selection unless the rule defines how candidates are updated during that month. Re-anchoring changes the reference window and should create a versioned record. Zero cumulative eligible quantity makes the average undefined. Bar-price approximations, excluded sessions and split adjustments can all change the calculation even when the same visible starting point is selected.
Practice task
Synthetic groups have exact representative prices [50,54,52] and quantities [100,100,200]. Compute the average anchored at group 1 and the average anchored at group 2, both evaluated after group 3. Compare the last representative price 52 with each reference. State why the anchor should not be selected only after noticing which line looks more useful.
Worked practice answer
From group 1, value is 5,000+5,400+10,400 = 20,800 over 400 shares, giving 52. From group 2, value is 15,800 over 300 shares, approximately 52.6667. The last price equals the first reference and lies about 0.6667 below the second. Selecting whichever produces a preferred signal after seeing the outcome would change the research question and bias evaluation. A declared event-selection rule makes the comparison reproducible.