From a56b85e29faf8fb98950abdf3c9e4a6f799dcb99 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Mon, 16 Dec 2024 13:10:38 -0800 Subject: [PATCH] Remove unnecessary conditional from OnStateChange() in Bearish Engulfing strategy --- strategies/bearish-engulfing/BearishEngulfingBot.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/strategies/bearish-engulfing/BearishEngulfingBot.cs b/strategies/bearish-engulfing/BearishEngulfingBot.cs index ecd819a..23dee41 100644 --- a/strategies/bearish-engulfing/BearishEngulfingBot.cs +++ b/strategies/bearish-engulfing/BearishEngulfingBot.cs @@ -15,9 +15,6 @@ namespace NinjaTrader.NinjaScript.Strategies Calculate = Calculate.OnBarClose; EntriesPerDirection = 1; } - else if (State == State.Configure) - { - } } protected override void OnBarUpdate()