diff --git a/indicators/News.cs b/indicators/News.cs index 173c7be..3d3d486 100644 --- a/indicators/News.cs +++ b/indicators/News.cs @@ -234,7 +234,7 @@ namespace NinjaTrader.NinjaScript.Indicators // Draw news events. using (TextFormat eventTextFormat = EventFont.ToDirectWriteTextFormat()) { - foreach (var newsEvent in newsEvents) + foreach (var newsEvent in new List(newsEvents)) { var timeSize = MeasureString(newsEvent.Time, eventTextFormat); var currencySize = MeasureString(newsEvent.Currency, eventTextFormat);