The London session VWAP (Volume Weighted Average Price) is popular among traders because London represents the largest forex trading session, accounting for about 43% of global forex volume. Traders use it to identify fair value during the most liquid trading hours and as a reference point for institutional order flow.
Key reasons traders use London session VWAP:
Market Structure: London session often sets the tone for the trading day, with major banks and institutions most active during these hours. The VWAP during this period reflects where the "smart money" is transacting.
Mean Reversion: Price tends to gravitate toward VWAP, making it useful for identifying potential support/resistance levels and entry/exit points.
Trend Confirmation: When price is above London VWAP with increasing volume, it suggests bullish sentiment during the most important session.
Here's a Pine Script v6 implementation:
pinescript
//@version=6
indicator("London Session VWAP", overlay=true)
// London session time settings
london_start = input.time(timestamp("GMT:03:00"), "London Start")
london_end = input.time(timestamp("GMT:11:00"), "London End")
// Check if current bar is within London session
is_london_session() =>
current_time = time("GMT")
london_start_today = timestamp("GMT", year(current_time), month(current_time), dayofmonth(current_time), hour(london_start), minute(london_start))
london_end_today = timestamp("GMT", year(current_time), month(current_time), dayofmonth(current_time), hour(london_end), minute(london_end))
current_time >= london_start_today and current_time <= london_end_today
// VWAP calculation variables
var float sum_pv = 0.0
var float sum_v = 0.0
var bool new_session = false
// Detect new London session
if is_london_session() and not is_london_session()[1]
new_session := true
sum_pv := 0.0
sum_v := 0.0
else
new_session := false
// Calculate VWAP during London session
if is_london_session()
typical_price = hlc3
sum_pv += typical_price * volume
sum_v += volume
london_vwap = is_london_session() and sum_v > 0 ? sum_pv / sum_v : na
// Plot VWAP
plot(london_vwap, color=color.blue, linewidth=2, title="London VWAP")
// Optional: Add session background
bgcolor(is_london_session() ? color.new(color.yellow, 95) : na, title="London Session")
Implementation Details:
The script uses timestamp("GMT") to ensure consistent London time regardless of your chart's timezone. The VWAP resets at the start of each London session (3 AM GMT) and calculates throughout the session using the cumulative price-volume relationship.
The hlc3 (typical price) is used as the price component, though you could modify this to use ohlc4 or just closing prices. Volume is accumulated alongside the price-volume product to maintain the weighted average.
The background highlighting helps visualize when the London session is active, and the VWAP line persists throughout the session, giving you a dynamic reference level that updates with each new bar during London hours.