Fully Customizable 6 Band VWAP
- Indicadores
- Eduardo Fernando Teixeira
- Versión: 1.2
- Activaciones: 5
6-BAND VWAP (Volume Weighted Average Price)
Fully customized and EA-friendly VWAP Bands Indicator.
Main Features:
Choose the period of VWAP calculation reset (Daily, Weekly or Monthly): For day trading use the Daily VWAP, and for longer term analysis use the Weekly or Monthly calculations.
Choose how many bands (deviations) you want to show, up to 6. Choose zero to display only the main VWAP line.
Fine adjustment of the deviation of the bands: Find the best band’s deviation for the instruments you trade and adjust accordingly.
Customize line colors, style and width according to your chart preferences.
Easy integration with Expert Advisors (EA)
Easy access of the indicator’s data using the iCustom() and CopyBuffer() functions.
PARAMETER’S GUIDE
Time Period Type (Timeframe in which the calculations are reset)
0 = Daily
1 = Weekly
2 = Monthly
Indicator’s Buffer Map (Choose the line you want to access)
0 = Main VWAP line
1 = First upper band
2 = First lower band
3 = Second upper band
4 = Second lower band
5 = Third upper band
6 = Third lower band
7 = Fourth upper band
8 = Fourth lower band
9 = Fifth upper band
10 = Fifth lower band
11 = Sixth upper band
12 = Sixth lower band
Examples:
// Get the current value of the main (central) line from the Daily VWAP double array[]; int handle = iCustom(Symbol(),Period(),"YourIndicatorFolder\\KCIA VWAP6.ex5",0); CopyBuffer(handle,0,0,1,array); // Get the last 20 values of the 3rd upper band of the Monthly VWAP: double array[]; int handle = iCustom(Symbol(),Period(),"YourIndicatorFolder\\KCIA VWAP6.ex5",2); CopyBuffer(handle,5,0,20,array);