- 5MA가 없는 상태에서도 매수하도록

This commit is contained in:
mjjo
2016-08-01 09:31:12 +09:00
parent 367c57cb49
commit f450f20d79
4 changed files with 5 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ namespace upper_limit_crawler
}
float f5MASlope = item.GetPrev5MASlope(iTime);
if(float.IsNaN(f5MASlope) || f5MASlope < 0.002f)
if(float.IsNaN(f5MASlope) == false && f5MASlope < 0.002f)
{
//ULUtil.Trace("[{0}] 조건 매수 실패. 5ma 상승하지 않음 {1}원 ({2})", item.m_strCodeName, item.m_iCurPrice, fCompRate.ToString("0.00%"));
continue;