diff --git a/indicators/ThreeCandleReversal.cs b/indicators/ThreeCandleReversal.cs index beb1c99..c18112e 100644 --- a/indicators/ThreeCandleReversal.cs +++ b/indicators/ThreeCandleReversal.cs @@ -45,6 +45,8 @@ namespace NinjaTrader.NinjaScript.Indicators BarLookback = 5; BullishLevelStroke = new Stroke(Brushes.LimeGreen, DashStyleHelper.Solid, 2); BearishLevelStroke = new Stroke(Brushes.Red, DashStyleHelper.Solid, 2); + + // For use when backtesting in order to limit the number of patterns processed. MaxPatterns = 0; } if (State == State.DataLoaded)