new_data = get_bar_data(searched_string, chart.topbar['timeframe'].value) ...