From ba9c12fe0bd7e2bd231a7662db0b8262dabbb26b Mon Sep 17 00:00:00 2001 From: moshferatu Date: Thu, 14 Nov 2024 05:56:44 -0800 Subject: [PATCH] Override DisplayName in Turnaround strategy --- strategies/turnaround/TurnaroundBot.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/strategies/turnaround/TurnaroundBot.cs b/strategies/turnaround/TurnaroundBot.cs index 2e33956..1912fbc 100644 --- a/strategies/turnaround/TurnaroundBot.cs +++ b/strategies/turnaround/TurnaroundBot.cs @@ -29,5 +29,10 @@ namespace NinjaTrader.NinjaScript.Strategies if (Position.MarketPosition == MarketPosition.Long && Close[0] > High[1]) ExitLong(); } + + public override string DisplayName + { + get { return Name; } + } } }