Add score

This commit is contained in:
2025-03-01 17:24:16 +07:00
parent e16f0a2e5d
commit bcf9d21b0a
7 changed files with 212 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ public class LaggingSTC : Strategy
* - Ends at previous candle to avoid inclusion of current break
* - Dynamic sizing for early dataset cases */
// Calculate the lookback window ending at previousCandle (excludes currentCandle)
int windowSize = 32;
int windowSize = 40;
int windowStart = Math.Max(0, i - windowSize); // Ensure no negative indices
var lookbackWindow = stcCandles
.Skip(windowStart)