I'm trying to port a TradingView script to ThinkScript and really struggling. In Thinkscript you can't update a variable once you set the value. This can be quite a challenge to deal with for complex scripts. Or maybe I'm just missing something. Does anyone have any tips or tricks or patterns to workaround this?