Dear Sir, is it possible inside the code to have a function that understands if the indicator is based on a daily chart or a 1-hour chart ?