Support Board
Date/Time: Fri, 31 Oct 2025 21:42:49 +0000
Post From: sc.IsSwingLow not working in Replay Backtest
| [2024-07-25 19:39:13] | 
| User725043 - Posts: 43 | 
| Hi, sc.AutoLoop = 1; sc.IsSwingHigh detects fine in both Bar and Replay backtest. sc.IsSwingLow detects in Bar but not in Replay backtest. Once the Replay backtest is stopped, it does then send a flurry of detect messages, but not during "real-time". Have tried: int SwingHigh = sc.IsSwingHigh(sc.BaseData[SC_HIGH], Input_Length.GetInt());and int SwingLow = sc.IsSwingLow(sc.BaseData[SC_LOW], Input_Length.GetInt()); int SwingHigh = sc.IsSwingHigh(sc.High, Input_Length.GetInt()); int SwingLow = sc.IsSwingLow(sc.Low, Input_Length.GetInt()); Neither works for sc.IsSwingLow. Other than high/low is there any difference between them for a Replay backtest or anything else needs to be set? | 
