2.13.5Framework.Translation.TranslateTimeframe()

The TranslateTimeframe() function takes an integer chart timeframe, such as 3600, and generates the corresponding text such as "H1". For example:

var txt = Framework.Translation.TranslateTimeframe(86400); // = "D1"