From 393d922e5022bb68063e5b718c4ac5003846a53c Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Thu, 5 Aug 2021 13:45:24 +0900 Subject: [PATCH] Conditional Formulas --- Core/ProfitTrailer/StrategyHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/ProfitTrailer/StrategyHelper.cs b/Core/ProfitTrailer/StrategyHelper.cs index b211fe0..cdd873b 100644 --- a/Core/ProfitTrailer/StrategyHelper.cs +++ b/Core/ProfitTrailer/StrategyHelper.cs @@ -272,7 +272,7 @@ namespace Core.ProfitTrailer if (!string.IsNullOrEmpty(strategyName)) { // buy/sell strategies beginning with PT 2.3.3 contain the letter followed by a colon and space. - if (strategyName.Contains(":")) + if (strategyName.Contains(":") && !strategyName.Contains("FORMULA")) { result = true; }