From 44404e2f301e78500750937c786bb989390c74dc Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Fri, 12 Feb 2021 13:38:36 +0900 Subject: [PATCH 1/2] wording changes for clarity --- Monitor/Pages/MarketAnalyzer.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Monitor/Pages/MarketAnalyzer.cshtml b/Monitor/Pages/MarketAnalyzer.cshtml index 691e585..37a7ff2 100644 --- a/Monitor/Pages/MarketAnalyzer.cshtml +++ b/Monitor/Pages/MarketAnalyzer.cshtml @@ -155,7 +155,7 @@ else
-

Market Trends at @Model.PTMagicConfiguration.GeneralSettings.Application.Exchange

+

Market Trend Averages at @Model.PTMagicConfiguration.GeneralSettings.Application.Exchange

@@ -280,7 +280,7 @@ else string trendChangeOutput = mps.MarketTrendChanges[marketTrend.Name].ToString("#,#0.00", new System.Globalization.CultureInfo("en-US")); if ((mps.MarketTrendChanges[marketTrend.Name] > marketTrend.TrendThreshold) || (mps.MarketTrendChanges[marketTrend.Name] > marketTrend.TrendThreshold) ) { - + } else { From b5b0fc95a3f20d134b1dc637134f51988117c31c Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Thu, 18 Feb 2021 00:24:47 +0900 Subject: [PATCH 2/2] added icon for TSL --- Core/ProfitTrailer/StrategyHelper.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Core/ProfitTrailer/StrategyHelper.cs b/Core/ProfitTrailer/StrategyHelper.cs index db866e7..b211fe0 100644 --- a/Core/ProfitTrailer/StrategyHelper.cs +++ b/Core/ProfitTrailer/StrategyHelper.cs @@ -22,7 +22,14 @@ namespace Core.ProfitTrailer // PT allows for "advanced_stats" to show details of the trailing logic and dynamic formulas. if (result.Contains("STATS") || result.Contains("DYN")) { - result = ""; + if (result.Contains("STATS-TSL") && (!result.Contains("TSL-STRAT"))) + { + result = "TSL"; + } + else + { + result = ""; + } } // strategy labels with variable values if (result.Contains("BUY TIMEOUT AS")) @@ -411,7 +418,14 @@ namespace Core.ProfitTrailer else if (strategy.Name.Contains("STATS")) // Avoid displaying advanced buy stats and completed level formulas { - strategy.Name = ""; + if (strategy.Name.Contains("STATS-TSL") && (!strategy.Name.Contains("TSL-STRAT"))) + { + strategyText += "" + StrategyHelper.GetStrategyShortcut(strategy.Name, false) + " "; + } + else + { + strategy.Name = ""; + } } else if (strategy.Name.Contains("FORMULA")) // Avoid displaying formula details
  @trendChangeOutput%  @trendChangeOutput%