java.lang.Object
trade.invision.indicators.indicators.operation.ternary.InstantTernaryOperations
public final class InstantTernaryOperations
extends Object
-
Constructor Summary
Constructors
-
Method Summary
Creates an
Instant Indicator that performs an if-else ternary operation on the given operands.
Creates a
Boolean Indicator that performs a ternary comparison to check if
instant
is inclusively between the
minimum and
maximum inputs.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InstantTernaryOperations
public InstantTernaryOperations()
-
Method Details
-
isBetween
Creates a
Boolean Indicator that performs a ternary comparison to check if
instant
is inclusively between the
minimum and
maximum inputs.
- Parameters:
instant - the input
minimum - the minimum input (inclusive)
maximum - the maximum input (inclusive)
- Returns:
- the
Boolean Indicator
- See Also:
-
-
ifElse
Creates an
Instant Indicator that performs an if-else ternary operation on the given operands.
- Parameters:
conditional - the conditional
trueCondition - the true condition
falseCondition - the false condition
- Returns:
- the
Instant Indicator
- See Also:
-