private boolean hasVeryShortUpperShadow(int index) {
        Decimal currentUpperShadow = upperShadowInd.getValue(index);
        // We use the black candle index to remove to bias of the previous soldiers
        Decimal averageUpperShadow = averageUpperShadowInd.getValue(blackCandleIndex);
        
        return currentUpperShadow.isLessThan(averageUpperShadow.multipliedBy(factor));
    }
private boolean hasVeryShortUpperShadow ( int index ) { Decimal currentUpperShadow = upperShadowInd . getValue ( index ) ; Decimal averageUpperShadow = averageUpperShadowInd . getValue ( blackCandleIndex ) ; return currentUpperShadow . isLessThan ( averageUpperShadow . multipliedBy ( factor ) ) ; }
@param index the tick/candle index
@return true if the tick/candle has a very short upper shadow, false otherwise