251 = 25 = IsUp2 && IsUp
252 = IsUp2 && IsDown
253 = (251 || 253)
254,255,256 - компактные 25тые - Glue
254 = 251.Glue
255 = 252.Glue
256 = (254 || 255)
case 25:
if (IsUp && IsUp2)
return true;
break;
case 251:
if ((IsUp && IsUp2))
return true;
break;
case 252:
if ((IsDown && IsUp2))
return true;
break;
case 253:
return IsUp2;
case 254:
return IsUp2 && IsUp && Low.IsLessOrEqualsThan(High2);
case 255:
return IsUp2 && IsDown && Low.IsLessOrEqualsThan(High3);
case 256:
return (IsUp2 && IsUp && Low.IsLessOrEqualsThan(High2)) ||
(IsUp2 && IsDown && Low.IsLessOrEqualsThan(High3));
case 257:
return IsUp2 && IsUp && Low.IsLessOrEqualsThan(_prevTrendLastHigh);
case 258:
return IsUp2 && IsDown && Low.IsLessOrEqualsThan(_prevTrendLastHigh2);
case 259:
return (IsUp2 && IsUp && Low.IsLessOrEqualsThan(_prevTrendLastHigh)) ||
(IsUp2 && IsDown && Low.IsLessOrEqualsThan(_prevTrendLastHigh2));
252 = IsUp2 && IsDown
253 = (251 || 253)
254,255,256 - компактные 25тые - Glue
254 = 251.Glue
255 = 252.Glue
256 = (254 || 255)
case 25:
if (IsUp && IsUp2)
return true;
break;
case 251:
if ((IsUp && IsUp2))
return true;
break;
case 252:
if ((IsDown && IsUp2))
return true;
break;
case 253:
return IsUp2;
case 254:
return IsUp2 && IsUp && Low.IsLessOrEqualsThan(High2);
case 255:
return IsUp2 && IsDown && Low.IsLessOrEqualsThan(High3);
case 256:
return (IsUp2 && IsUp && Low.IsLessOrEqualsThan(High2)) ||
(IsUp2 && IsDown && Low.IsLessOrEqualsThan(High3));
case 257:
return IsUp2 && IsUp && Low.IsLessOrEqualsThan(_prevTrendLastHigh);
case 258:
return IsUp2 && IsDown && Low.IsLessOrEqualsThan(_prevTrendLastHigh2);
case 259:
return (IsUp2 && IsUp && Low.IsLessOrEqualsThan(_prevTrendLastHigh)) ||
(IsUp2 && IsDown && Low.IsLessOrEqualsThan(_prevTrendLastHigh2));
Комментариев нет:
Отправить комментарий