Ignore the detected pattern series when serializing in order to prevent errors as data series are not serializable

This commit is contained in:
moshferatu 2024-07-01 16:13:26 -07:00
parent 2721851e4f
commit 5a8c6341af

View File

@ -36,6 +36,7 @@ namespace NinjaTrader.NinjaScript.Indicators
public bool IsSwingLow { get; set; }
}
[XmlIgnore]
public Series<Pattern> DetectedPatterns;
private List<Pattern> detectedPatterns = new List<Pattern>();