임시커밋

This commit is contained in:
kyh
2023-05-16 09:07:46 +09:00
parent 14712fcf1e
commit c065695136
2 changed files with 12 additions and 3 deletions

View File

@@ -472,7 +472,7 @@ namespace Million
var hStandardData = DataManager.GetStandardData(totalIndicator, startHourDate, startDate, market, distinctIndicator, true, hCandleTypeList);
standardData.Add(CommonProperty.MCandleTimeType.H1, hStandardData[CommonProperty.MCandleTimeType.H1]);
//속도 및 메모리 부하를 줄이기 위한 로직 추가
//db 전체 데이터 불러오는 로직 -> 1분봉 데이터 하나도 안빠져있다는 가정
@@ -615,7 +615,7 @@ namespace Million
// 이전 전봉(H1)의 고가가 사려는 가격보다 높을경우 pass
if (StarValueLowOverlapUp)
{
if (recentlyData.BuyValue < beforeData.HighValue)
if (recentlyData.StartValue < beforeData.HighValue)
{
foreach (var indi in totalIndicator)
subIndicatorStateManagement[indi.IndexString][item] = false;
@@ -623,6 +623,15 @@ namespace Million
overlapBuyManagementList[item] = true;
continue;
}
//if (recentlyData.BuyValue < beforeData.HighValue)
//{
// foreach (var indi in totalIndicator)
// subIndicatorStateManagement[indi.IndexString][item] = false;
// overlapBuyManagementList[item] = true;
// continue;
//}
}
recentlyData.BuyTime = recentlyData.DateTime;

View File

@@ -150,7 +150,7 @@ namespace Million.HunterSubForm
//Main 폼의 SaveResultData 초기화
_mainForm._saveResultData = null;
//Main 폼의 SaveResultData 초기화 (클론 복사 해야할 수 있음)
_mainForm._saveResultData = selectedResultData.Clone();
_mainForm._saveResultData = selectedResultData.Clone();
// 데이터가 있는 경우 버튼 색 변경
if (_mainForm._saveResultData.SearchResultList != null)