Download MetaTrader 5

How to get the values from DEMA_RSI ?

To add comments, please log in or register
Elo
91
Elo  

Hi All,

I have issue when try to get the values from DEMA_RSI indicator. Iknow Tha I have to use iCustor() function but I actually miss something. I use this code:

DEMA_RSI[1] = iCustom(NULL,PERIOD_H1,"DEMA_RSI",30,30,4,0,70,30,false,4000,0,1);

DEMA_RSI[2] = iCustom(NULL,PERIOD_H1,"DEMA_RSI",30,30,4,0,70,30,false,4000,1,1);

and receive only 0 for DEMA_RSI[1] and DEMA_RSI[2] .

In the attached screenshot the values for DEMA_RSI and Value 2 are 39.79106 . I need to get that values.

Could you please help .

Thank you.

Files:
DEMA_RSI.jpg 99 kb
DEMA_RSI.mq4 5 kb
To add comments, please log in or register