Library "Stringify" Cast variable types and enumerations to human-readable Strings
timeframe(string) Cast a timeframe enumeration to readable string. Parameters: string: `T` is a timeframe enumeration ('3D', '120', '15', '5s' ...) Returns: A string representation of the timeframe or 'NA' if `x` is `na`
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.
Algo Trading Simplified 👉 PaxProfits.com Discover the easy way to manage Forex trading accounts. Trusted by traders globally.
Forex Trading Coaching 👉 primetimefox.com Learn consistent currency pair trading from a professional.
Also on:
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.