How to detect the chart period?

 

I cannot find anything in the documentations for detecting the chart period an EX ia attached to. I'd like to get values from other timeframes based on the current chart's period. TIA

 

Period()

 
brewmanz:

Period()


Thanks a bunch!!!