-
Indicator Breakdown command with multiple outputs for detailed control.
Inputs:
– values: Main data series
– middle: Middle level.
– upper: Upper level.
– lower: Lower level.
– upperCrossLb: Defines how far back upper level cross-overs and -unders are still valid. Setting this to 1 means it’s only valid “now”.
– lowerCrossLb: Defines how far back lower level cross-overs and -unders are still valid. Setting this to 1 means it’s only valid “now”.
– middleCrossLb: Defines how far back middle level cross-overs and -unders are still valid. Setting this to 1 means it’s only valid “now”.
– upwardsLb: Lookback value for upward movement definition. If set to 1: current value is compared to previous.
– downwardsLb: Lookback value for downward movement definition. If set to 1: current value is compared to previous.Outputs:
– results: The results object itself
– IsAboveMid: True if current value is above middle level
– IsInTheZone: True if current value is above lower and below upper level
– IsAboveUpper: True if current value is above upper level
– IsBelowLower: True if current value is below lower level
– IsMovingUpwards: True if values moving upwards
– IsMovingDownwards: True if values moving downwards
– CrossOverUpper: True if current value crossed over upper level
– CrossUnderUpper: True if current value crossed under upper level
– CrossOverLower: True if current value crossed over lower level
– CrossUnderLower: True if current value crossed under lower level
– CrossOverMiddle: True if current value crossed over middle level
– CrossUnderMiddle: True if current value crossed under middle level