Пример #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);
        }
Пример #2
0
        // need to have a percentage calculation for this big shadow

        // need to calculate probability and

        private bool IsBigShadowFormation()
        {
            if (!_currentCandle.Engulf(_previousCandle))
            {
                return(false);
            }

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

            if (!_currentCandle.IsTheLargestFrom(_latestCandles))
            {
                return(false);                                                  // better > 10 candlestick
            }
            if (!_currentCandle.HasWideRange)
            {
                return(false);
            }

            if (!_currentCandle.CloseAlmostFull)
            {
                return(false);
            }

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

            // in extreme high is more preferable. => this one make sure that we have to rank the setup

            // if InExteremeLow => is not traded > 7 candlestick to the left

            //
            return(true);
        }