I am trying to add a chart element that has a bit of logic and then outputs a particular string based on that logic. But despite the IF() function supporting string outputs according to the documentation. If you take that as the output for a script and use it with a watchlist column or chart element it returns to a boolean output.
Can you make the script return the string?
My apologies, I could have sworn I pulled that direct from documents, but poking around my history it turns out it was just the chatbot hallucinating.
The reason I am looking for string outputs is that the logic is actually about 3 nested if statements. I can deal with numeric outputs, if needed, but strings would have been better.