Threshold on GUI
This commit is contained in:
parent
9a38b7a194
commit
78457fe7be
|
@ -19,8 +19,8 @@ namespace Core.ProfitTrailer
|
||||||
string strategyLetter = "";
|
string strategyLetter = "";
|
||||||
string strategyNameOnly = strategyName;
|
string strategyNameOnly = strategyName;
|
||||||
|
|
||||||
// PT allows for "advanced_stats" to show details of the trailing logic.
|
// PT allows for "advanced_stats" to show details of the trailing logic and dynamic formulas.
|
||||||
if (result.Contains("STATS"))
|
if (result.Contains("STATS") || result.Contains("DYN"))
|
||||||
{
|
{
|
||||||
result = "";
|
result = "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,6 +162,7 @@ else
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th class="text-right">Markets</th>
|
<th class="text-right">Markets</th>
|
||||||
<th class="text-right">Timeframe</th>
|
<th class="text-right">Timeframe</th>
|
||||||
|
<th class="text-right">Threshold %</th>
|
||||||
<th class="text-right">Change</th>
|
<th class="text-right">Change</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -182,7 +183,14 @@ else
|
||||||
<tr>
|
<tr>
|
||||||
<td>@Core.Helper.SystemHelper.SplitCamelCase(marketTrend.Name)</td>
|
<td>@Core.Helper.SystemHelper.SplitCamelCase(marketTrend.Name)</td>
|
||||||
<td class="text-right">@marketCountString</td>
|
<td class="text-right">@marketCountString</td>
|
||||||
<td class="text-right">@Core.Helper.SystemHelper.GetProperDurationTime(marketTrend.TrendMinutes * 60, false)</td>
|
<td class="text-right">@Core.Helper.SystemHelper.GetProperDurationTime(marketTrend.TrendMinutes * 60, false)</td> @if (marketTrend.TrendThreshold == 0)
|
||||||
|
{
|
||||||
|
<td class="text-right">--</td>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<td class="text-right">@marketTrend.TrendThreshold</td>
|
||||||
|
}
|
||||||
<td class="text-right text-autocolor">@trendChangeOutput%</td>
|
<td class="text-right text-autocolor">@trendChangeOutput%</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th class="text-right">Markets</th>
|
<th class="text-right">Markets</th>
|
||||||
<th class="text-right">Timeframe</th>
|
<th class="text-right">Timeframe</th>
|
||||||
|
<th class="text-right">Threshold %</th>
|
||||||
<th class="text-right">Change</th>
|
<th class="text-right">Change</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -95,6 +96,14 @@
|
||||||
<td>@Core.Helper.SystemHelper.SplitCamelCase(marketTrend.Name)</td>
|
<td>@Core.Helper.SystemHelper.SplitCamelCase(marketTrend.Name)</td>
|
||||||
<td class="text-right">@marketCountString</td>
|
<td class="text-right">@marketCountString</td>
|
||||||
<td class="text-right">@Core.Helper.SystemHelper.GetProperDurationTime(marketTrend.TrendMinutes * 60, false)</td>
|
<td class="text-right">@Core.Helper.SystemHelper.GetProperDurationTime(marketTrend.TrendMinutes * 60, false)</td>
|
||||||
|
@if (marketTrend.TrendThreshold == 0)
|
||||||
|
{
|
||||||
|
<td class="text-right">--</td>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<td class="text-right">@marketTrend.TrendThreshold</td>
|
||||||
|
}
|
||||||
<td class="text-right text-autocolor">@trendChangeOutput%</td>
|
<td class="text-right text-autocolor">@trendChangeOutput%</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue