From 5a8c6341af4c9dda85e9017facc71f2cb8bf14fc Mon Sep 17 00:00:00 2001 From: moshferatu Date: Mon, 1 Jul 2024 16:13:26 -0700 Subject: [PATCH] Ignore the detected pattern series when serializing in order to prevent errors as data series are not serializable --- indicators/ThreeCandleReversal.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/indicators/ThreeCandleReversal.cs b/indicators/ThreeCandleReversal.cs index 5ba1a2f..7d131ef 100644 --- a/indicators/ThreeCandleReversal.cs +++ b/indicators/ThreeCandleReversal.cs @@ -36,6 +36,7 @@ namespace NinjaTrader.NinjaScript.Indicators public bool IsSwingLow { get; set; } } + [XmlIgnore] public Series DetectedPatterns; private List detectedPatterns = new List();