/** * @param index the actual index * @return true, if positive divergent */ private bool CalculatePositiveDivergenceStrict(int index) { IRule refIsRising = new IsRisingRule(_indicator, _timeFrame); IRule otherIsFalling = new IsFallingRule(_indicator, _timeFrame); return((refIsRising.And(otherIsFalling)).IsSatisfied(index)); }