GoDigram for .NET Framework and .NET Core
Northwoods.Go.Instruments Namespace
/
Indicator Class
/ QuantizeValue Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
QuantizeValue Method
In This Topic
A function used to ensure valid values within the quantized value system.
Syntax
C#
public
virtual
double
QuantizeValue(
double
val
)
Parameters
val
Return Value
If
Quantized
is true, returns an acceptable quantized value that is closest to the given value. Otherwise it just returns the given value.
See Also
Reference
Indicator Class
Indicator Members