Timeframe: are correct only timeframes in the table?

 

Hi.


I want to know a thing about timeframe.


As you can see on the table https://docs.mql4.com/constants/timeframes


PERIOD_M111 minute.
PERIOD_M555 minutes.
PERIOD_M151515 minutes.
PERIOD_M303030 minutes.
PERIOD_H1601 hour.
PERIOD_H42404 hour.
PERIOD_D11440Daily.
PERIOD_W110080Weekly.
PERIOD_MN143200Monthly.
0 (zero)0

Timeframe used on the chart.


Those are the timeframes.


But it is possible, in example, to use a different timeframe, a customized timeframe?


In example 120, or 4320, or 2160?


Are those (120, 4320 or 2160) timeframes correct? Or timeframes 

can only be 1,5,15,30 ecc.. ?


In example, can i do:

iRSI(NULL,4320,14,PRICE_CLOSE,0);


or i can only do:

iRSI(NULL,1,14,PRICE_CLOSE,0);

iRSI(NULL,5,14,PRICE_CLOSE,0);

iRSI(NULL,60,14,PRICE_CLOSE,0);

ecc... 

?


Thanks for help

 
traderkmi:

Hi.


I want to know a thing about timeframe.


As you can see on the table https://docs.mql4.com/constants/timeframes


PERIOD_M111 minute.
PERIOD_M555 minutes.
PERIOD_M151515 minutes.
PERIOD_M303030 minutes.
PERIOD_H1601 hour.
PERIOD_H42404 hour.
PERIOD_D11440Daily.
PERIOD_W110080Weekly.
PERIOD_MN143200Monthly.
0 (zero)0

Timeframe used on the chart.


Those are the timeframes.


But it is possible, in example, to use a different timeframe, a customized timeframe?


In example 120, or 4320, or 2160?


Are those (120, 4320 or 2160) timeframes correct? Or timeframes 

can only be 1,5,15,30 ecc.. ?


In example, can i do:

iRSI(NULL,4320,14,PRICE_CLOSE,0);


or i can only do:

iRSI(NULL,1,14,PRICE_CLOSE,0);

iRSI(NULL,5,14,PRICE_CLOSE,0);

iRSI(NULL,60,14,PRICE_CLOSE,0);

ecc... 

?


Thanks for help












No


using non documented TF retrurs 0