mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
style patterns
This commit is contained in:
@@ -258,4 +258,4 @@ public class VwapsdIndicatorTests
|
||||
Assert.True(Math.Abs(width2 - 2 * width1) < 0.0001,
|
||||
$"Width2 ({width2}) should be ~2x Width1 ({width1})");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,4 +68,4 @@ public class VwapsdIndicator : Indicator, IWatchlistIndicator
|
||||
LowerSeries!.SetValue(vwapsd.Lower.Value, vwapsd.IsHot, ShowColdValues);
|
||||
WidthSeries!.SetValue(vwapsd.Width.Value, vwapsd.IsHot, ShowColdValues);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -694,4 +694,4 @@ public class VwapsdTests
|
||||
Assert.Equal(400.0, vwapsd.Upper.Value, precision: 10);
|
||||
Assert.Equal(-100.0, vwapsd.Lower.Value, precision: 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -610,4 +610,4 @@ public sealed class VwapsdValidationTests : IDisposable
|
||||
|
||||
_output.WriteLine("VWAPSD boundary numDevs validation completed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -400,4 +400,4 @@ public sealed class Vwapsd : AbstractBase
|
||||
lower[i] = vwapVal - numDevs * stdev;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user