I got it so far that I can select a ticker and a timeframe into the UI of TradingView.(input.symbol, input.timeframe). But this doesn't change the chart I am in in TradingView.
For example if I am at the ticker SPY and I select BTC/USDT, the chart doesn't go to BTC/USDT. Same goes for the timeframe. Is this possible within Pine Script?