| Pattern Constructor (Strategy, Logic, Range, Logic, Range, Boolean) |
Creates a new instance of the Pattern class containing signals and filters trees.
Namespace:
MZpack.NT8.Algo
Assembly:
MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax public Pattern(
Strategy strategy,
Logic signalsRootLogic,
Range signalsRange,
Logic filtersRootLogic,
Range filtersRange,
bool isShortCircuitANDEvaluation
)
Parameters
- strategy
- Type: MZpack.NT8.AlgoStrategy
Parent strategy. - signalsRootLogic
- Type: MZpack.NT8.AlgoLogic
Logic of root node of signals decision tree. - signalsRange
- Type: MZpack.NT8.AlgoRange
Range for signals. Can be null. - filtersRootLogic
- Type: MZpack.NT8.AlgoLogic
Logic of root node of filters decision tree. Can be null. - filtersRange
- Type: MZpack.NT8.AlgoRange
Number of consecutive bars in which all filters must appear after a signal has been confirmed. Can be null. - isShortCircuitANDEvaluation
- Type: SystemBoolean
If short-circuit evaluation used when evaluating logical AND nodes. Set it to True if signals must be validated in the sequence they resided in the tree. Set it to False if there is no sequence for the signals.
See Also