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 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
@trendChangeOutput% | +@trendChangeOutput% | } else { diff --git a/PTMagic/Program.cs b/PTMagic/Program.cs index dd9d492..ff6fbbd 100644 --- a/PTMagic/Program.cs +++ b/PTMagic/Program.cs @@ -6,7 +6,7 @@ using Core.Helper; using Microsoft.Extensions.DependencyInjection; -[assembly: AssemblyVersion("2.5.3")] +[assembly: AssemblyVersion("2.5.4")] [assembly: AssemblyProduct("PT Magic")] namespace PTMagic