Buyer나 Realtime의 경우 저가 고가 계산 안함
This commit is contained in:
@@ -644,26 +644,28 @@ namespace Million.Manager
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// 고가
|
||||
if (type == 1)
|
||||
if(!(programMode == BuyerMode.Buyer || programMode == BuyerMode.BuyerRealtime))
|
||||
{
|
||||
if (parent.IndicatorDic[subKey].highValue != 0 &&
|
||||
parent.IndicatorDic[key].highValue != 0)
|
||||
// 고가
|
||||
if (type == 1)
|
||||
{
|
||||
subIndiOverlapVal = parent.IndicatorDic[subKey].highValue;
|
||||
overlapValue = parent.IndicatorDic[key].highValue;
|
||||
if (parent.IndicatorDic[subKey].highValue != 0 &&
|
||||
parent.IndicatorDic[key].highValue != 0)
|
||||
{
|
||||
subIndiOverlapVal = parent.IndicatorDic[subKey].highValue;
|
||||
overlapValue = parent.IndicatorDic[key].highValue;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
// 저가
|
||||
if (type == 2)
|
||||
{
|
||||
if (parent.IndicatorDic[subKey].lowValue != 0 &&
|
||||
parent.IndicatorDic[key].lowValue != 0)
|
||||
// 저가
|
||||
if (type == 2)
|
||||
{
|
||||
subIndiOverlapVal = parent.IndicatorDic[subKey].lowValue;
|
||||
overlapValue = parent.IndicatorDic[key].lowValue;
|
||||
if (parent.IndicatorDic[subKey].lowValue != 0 &&
|
||||
parent.IndicatorDic[key].lowValue != 0)
|
||||
{
|
||||
subIndiOverlapVal = parent.IndicatorDic[subKey].lowValue;
|
||||
overlapValue = parent.IndicatorDic[key].lowValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user