iCustom function problem MQL5

Gabriel Oliveira
15
Gabriel Oliveira  

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
William Roeder
23782
William Roeder  
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.

Gabriel Oliveira
15
Gabriel Oliveira  
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?
Vladimir Karputov
Moderator
225590
Vladimir Karputov  
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

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

Answered in #1