function bugFunctions with parameters do not work correctly: the returned value is sometimes different from the expected one. The example script works correctly only when idx = 1 (instead of the current line 6). Pine Script®策略由ogmi0s提供12