Example #1
0
        private bool IsKangarooTailFormation()
        {
            if (!_currentCandle.IsKangooro)
            {
                return(false);
            }

            if (!_zoneDetector.InTheZone(_currentCandle))
            {
                return(false);
            }

            if (!_currentCandle.IsTheLargestFrom(_latestCandles))
            {
                return(false);
            }

            if (!_currentCandle.IsBodyInside(_previousCandle))
            {
                return(false);
            }

            if (!HasRoomToTheLeft)
            {
                return(false);
            }

            // is in the strong uptrend return false; // there's giant candle
            //if (HasRoomToTheLeft)
            //{

            //}

            return(true);
        }