What's the proper way to use import based on different conditions in Tradingview Pine Script?
I tried:
if (condition)
import name/library/version as alias
But it generated a compilation error. It seems like the import
statement can't be nested.