Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPlusGH committed Jan 30, 2019
1 parent 75a9b1a commit 8eb400d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NPlusMiner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Function Global:TimerUITick
$LabelEarningsDetails.Lines = @()
# If ((($Variables.Earnings.Values | measure -Property Growth1 -Sum).sum*1000*24) -lt ((($Variables.Earnings.Values | measure -Property BTCD -Sum).sum*1000)*0.999)) {
# $LabelEarningsDetails.ForeColor = "Red" } else { $LabelEarningsDetails.ForeColor = "Green" }
$TrendSign = switch ([Math]::Round((($Variables.Earnings.Values | measure -Property Growth1 -Sum).sum*1000*24),3) - [Math]::Round((($Variables.Earnings.Values | measure -Property Growth6 -Sum).sum*1000),3)) {
$TrendSign = switch ([Math]::Round((($Variables.Earnings.Values | measure -Property Growth1 -Sum).sum*1000*24),3) - [Math]::Round((($Variables.Earnings.Values | measure -Property Growth6 -Sum).sum*1000*4),3)) {
{$_ -eq 0}
{"="}
{$_ -gt 0}
Expand All @@ -293,7 +293,7 @@ Function Global:TimerUITick
{"<"}
}
$LabelEarningsDetails.Lines += "Last 6h: " + ("{0:N3}" -f (($Variables.Earnings.Values | measure -Property Growth6 -Sum).sum*1000*4)) + " m$([char]0x20BF)/D " + $TrendSign
$TrendSign = switch ([Math]::Round((($Variables.Earnings.Values | measure -Property Growth24 -Sum).sum*1000),3) - [Math]::Round((($Variables.Earnings.Values | measure -Property BTCD -Sum).sum*1000),3)) {
$TrendSign = switch ([Math]::Round((($Variables.Earnings.Values | measure -Property Growth24 -Sum).sum*1000),3) - [Math]::Round((($Variables.Earnings.Values | measure -Property BTCD -Sum).sum*1000*0.96),3)) {
{$_ -eq 0}
{"="}
{$_ -gt 0}
Expand Down

0 comments on commit 8eb400d

Please sign in to comment.