TakVWAP
- Indicatori
- Oscar Alejandro Palacios Aranguiz
- Versione: 1.0
- Attivazioni: 5
tak.VWAP – Volume Weighted Average Price
A reliable and lightweight VWAP indicator designed for traders who require flexibility and visual clarity.
✅ Key Features:
-
Two calculation modes:
-
Rolling VWAP: Based on a configurable number of candles.
-
Daily VWAP: Automatically resets at the start of each trading day.
-
-
Fully customizable line style: color, width, visibility, and line type.
-
Clean input structure with grouped sections for ease of use.
-
EA-friendly: exposes buffer for use in Expert Advisors via iCustom() .
🎯 Ideal for:
-
Day traders, scalpers, and institutional-style analysis.
-
Building confluence with support/resistance or volume-based strategies.
🚀 Ready to use in any symbol and timeframe.
No extra libraries required.
---
How to use TakVWAP from an EA 🛠
If you want to read TakVWAP values inside your Expert Advisor, follow these steps:
1️⃣ Know the input order
When calling iCustom() , parameters must be in this order:
-
int vwap_period – VWAP period (candles)
-
bool vwap_resetDaily – Reset VWAP every day (true/false)
-
bool vwap_showLine – Show the VWAP line on chart (visual only)
-
color vwap_color – Line color
-
ENUM_LINE_STYLE vwap_lineStyle – Line style
-
int vwap_lineWidth – Line width
If you only want to change the first parameters, you can skip the rest and defaults will be used.
2️⃣ Create the handle in your EA
Example using defaults for visuals:
Example passing all inputs:
int vwapHandle = iCustom(_Symbol, PERIOD_H1, "Market\\TakVWAP", 40, // vwap_period false, // vwap_resetDaily true, // vwap_showLine clrBlueViolet, // vwap_color STYLE_SOLID, // vwap_lineStyle 1 // vwap_lineWidth );
3️⃣ Read the VWAP value
TakVWAP has 1 buffer, index = 0 .
Use shift=1 for the last closed candle (safer for signals).
4️⃣ Optional: show the line on your chart
iCustom() loads the indicator but doesn’t display it.
If you also want to see it:
ChartIndicatorAdd(0, 0, vwapHandle);
5️⃣ Pro tips
✔ Always check BarsCalculated() before CopyBuffer()
✔ Use exact product name/path ( "Market\\TakVWAP" )
✔ For signals, avoid shift=0 (bar still forming)

I purchased this indicator because the description clearly provides the information required to integrate it into an EA and it returned results nearly identical to an indicator I was using on TradingView. It works as expected and I am very satisfied so far.