iCustom function problem MQL5

 

I'm not able to get the values ​​of the vwap indicator, does anyone know why?

h_vwap = iCustom(Symbol(), Period(), "VWAP_Simple 2.00","Close price", "Daily", "Tick volume");

params indicator = 

Files:
mql5.png  9 kb
 
Gabriel Oliveira: I'm not able to get the values ​​of the vwap indicator, does anyone know why?

Your image show the indicator contains three (3) numeric parameters (enumerations). You are passing three (3) bogus strings.

The easiest way to get the numbers, is to save a template and then look inside (notepad) to get them.

 
William Roeder:

Your image show the indicator contains three (3) numeric parameters (enumerations). You are passing three (3) bogus strings.

how to know what value each parameter of this corresponds?
 
Gabriel Oliveira :

I'm not able to get the values ​​of the vwap indicator, does anyone know why?

params indicator = ***

Please use or to insert an image Imageor Attach file

 
Gabriel Oliveira: how to know what value each parameter of this corresponds?

Answered in #1