mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 05:28:05 +00:00
style patterns
This commit is contained in:
@@ -216,4 +216,4 @@ public class UbandsIndicatorTests
|
||||
Assert.True(Math.Abs(width - (upper - lower)) < 0.0001,
|
||||
$"Width ({width}) should equal Upper - Lower ({upper - lower})");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,4 +68,4 @@ public class UbandsIndicator : Indicator, IWatchlistIndicator
|
||||
LowerSeries!.SetValue(ubands.Lower.Value, ubands.IsHot, ShowColdValues);
|
||||
WidthSeries!.SetValue(ubands.Width.Value, ubands.IsHot, ShowColdValues);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -401,4 +401,4 @@ public class UbandsTests
|
||||
Assert.Equal(50, result.Count);
|
||||
Assert.True(double.IsFinite(result.Last.Value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -413,4 +413,4 @@ public sealed class UbandsValidationTests : IDisposable
|
||||
|
||||
Assert.True(middleVar < sourceVar, "Smoothed signal should have lower variance");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -385,4 +385,4 @@ public sealed class Ubands : AbstractBase
|
||||
lower[i] = usf - bandOffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user