function bug — Strategy by ogmi0s

By ogmi0s

Performance Metrics

Description

Functions 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).

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView