OPEN-SOURCE SCRIPT
تم تحديثه Multi Anchored VWAP - Automatic Session and Custom Anchors

This indicator was built to remove the daily manual work involved in resetting multiple anchored VWAPs.
It automatically maintains a set of recurring VWAPs based on key market/session events, while also providing discretionary anchor slots for events or levels you want to track manually.
Default automatic VWAPs
Asia — 01:00 Europe/London
Frankfurt Open (FFO) — 07:00 Europe/London
London Open (LDO) — 08:00 Europe/London
New York Open — 09:30 America/New_York
Weekly — Friday 21:00 Europe/London
Gold Auction — 15:00 Europe/London, disabled by default
Each automatic VWAP continues running until its next scheduled anchor. For example, the New York VWAP remains active overnight and through the following European session, only resetting when the next New York cash open occurs.
Timezone-aware anchors
Each VWAP uses an explicit market/event timezone rather than the trader's local timezone. This means traders in different countries can use the same settings and see the same anchored VWAPs.
The timezone and anchor time for every automatic VWAP can also be changed from the settings menu.
IANA timezones such as Europe/London and America/New_York are used so daylight-saving changes are handled automatically.
Discretionary anchored VWAPs
Three additional custom VWAP slots are included and disabled by default.
Each custom VWAP allows you to specify:
Enable/disable
Custom name
Exact anchor date/time
Colour
Line thickness
These can be useful for anchoring from events such as CPI, FOMC, major highs/lows, news events, breakout points, or any other discretionary reference.
Unlike the automatic session VWAPs, custom VWAPs do not reset automatically and remain anchored until changed or disabled.
Visual settings
Each VWAP can be individually enabled or disabled and has configurable colour and line thickness.
Right-edge labels can also be customised for size, transparency and offset, making it easy to identify each VWAP directly on the chart.
Intended use
I mainly use this on NQ, ES and Gold for intraday context, mean-reversion/reference areas, confluence and tracking how price interacts with session and event-based value.
This indicator is intended as a charting/context tool rather than a standalone entry or trade signal.
It automatically maintains a set of recurring VWAPs based on key market/session events, while also providing discretionary anchor slots for events or levels you want to track manually.
Default automatic VWAPs
Asia — 01:00 Europe/London
Frankfurt Open (FFO) — 07:00 Europe/London
London Open (LDO) — 08:00 Europe/London
New York Open — 09:30 America/New_York
Weekly — Friday 21:00 Europe/London
Gold Auction — 15:00 Europe/London, disabled by default
Each automatic VWAP continues running until its next scheduled anchor. For example, the New York VWAP remains active overnight and through the following European session, only resetting when the next New York cash open occurs.
Timezone-aware anchors
Each VWAP uses an explicit market/event timezone rather than the trader's local timezone. This means traders in different countries can use the same settings and see the same anchored VWAPs.
The timezone and anchor time for every automatic VWAP can also be changed from the settings menu.
IANA timezones such as Europe/London and America/New_York are used so daylight-saving changes are handled automatically.
Discretionary anchored VWAPs
Three additional custom VWAP slots are included and disabled by default.
Each custom VWAP allows you to specify:
Enable/disable
Custom name
Exact anchor date/time
Colour
Line thickness
These can be useful for anchoring from events such as CPI, FOMC, major highs/lows, news events, breakout points, or any other discretionary reference.
Unlike the automatic session VWAPs, custom VWAPs do not reset automatically and remain anchored until changed or disabled.
Visual settings
Each VWAP can be individually enabled or disabled and has configurable colour and line thickness.
Right-edge labels can also be customised for size, transparency and offset, making it easy to identify each VWAP directly on the chart.
Intended use
I mainly use this on NQ, ES and Gold for intraday context, mean-reversion/reference areas, confluence and tracking how price interacts with session and event-based value.
This indicator is intended as a charting/context tool rather than a standalone entry or trade signal.
ملاحظات الأخبار
v1.1 — Chart scaling improvementUpdated the indicator so anchored VWAPs no longer force the chart scale to include distant VWAP levels. This prevents price action from being compressed when, for example, the Weekly VWAP is far from current price.
Important: After updating, remove and re-add the indicator to your chart for the new scaling behaviour to take effect.
ملاحظات الأخبار
v1.2 — Price scale alignment & visual updateRestored VWAPs to the instrument price scale so all VWAP levels remain correctly aligned with price when zooming or scrolling.
Changed the default Weekly VWAP colour from white to black for improved visibility on light chart themes.
Recommended setting: To prevent distant VWAPs from compressing visible price action, right-click the chart price scale and enable Scale Price Chart Only.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.