Hi.
I want to know a thing about timeframe.
As you can see on the table https://docs.mql4.com/constants/timeframes
Timeframe used on the chart. PERIOD_M1 1 1 minute. PERIOD_M5 5 5 minutes. PERIOD_M15 15 15 minutes. PERIOD_M30 30 30 minutes. PERIOD_H1 60 1 hour. PERIOD_H4 240 4 hour. PERIOD_D1 1440 Daily. PERIOD_W1 10080 Weekly. PERIOD_MN1 43200 Monthly. 0 (zero) 0
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
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi.
I want to know a thing about timeframe.
As you can see on the table https://docs.mql4.com/constants/timeframes
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