Fix positions for backtests
This commit is contained in:
@@ -68,7 +68,6 @@ public class EmaCrossIndicator : EmaBaseIndicatorBase
|
||||
// Filter pre-calculated EMA values to match the candles we're processing
|
||||
ema = preCalculatedValues.Ema
|
||||
.Where(e => candles.Any(c => c.Date == e.Date))
|
||||
.OrderBy(e => e.Date)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user