disable advanced_stats shortcuts
This commit is contained in:
parent
f09ae2fba7
commit
e5015cadbb
|
@ -227,6 +227,13 @@ namespace Core.ProfitTrailer
|
||||||
string strategyLetter = "";
|
string strategyLetter = "";
|
||||||
string strategyNameOnly = strategyName;
|
string strategyNameOnly = strategyName;
|
||||||
|
|
||||||
|
// PT allows for "advanced_stats" to be turned on in the application settings, to show details of the trailing logic.
|
||||||
|
// This code ensures PTM doesn't generate an unnecessary shortcut for this information
|
||||||
|
if (result.Contains("STATS"))
|
||||||
|
{
|
||||||
|
result = "";
|
||||||
|
}
|
||||||
|
|
||||||
// strategy labels that are variable, so can't be caught by the switch statement
|
// strategy labels that are variable, so can't be caught by the switch statement
|
||||||
if (result.Contains("REBUY"))
|
if (result.Contains("REBUY"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue