This commit is contained in:
kyh
2025-06-16 15:05:53 +09:00
parent 4742970f2d
commit abf8a4f7f2

View File

@@ -452,8 +452,8 @@ namespace BitgetAPI.IndicatorConditionSetup
continue; continue;
else if (nowTime < buyTwoTime) else if (nowTime < buyTwoTime)
{ {
if (sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongBuy, true) && if (!(sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongBuy, true) &&
!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongSell, true)) !sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongSell, true)))
{ {
buyItem["Flag"] = true; buyItem["Flag"] = true;
} }
@@ -646,8 +646,8 @@ namespace BitgetAPI.IndicatorConditionSetup
continue; continue;
else if (nowTime < buyTwoTime) else if (nowTime < buyTwoTime)
{ {
if (sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortBuy, true) && if (!(sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortBuy, true) &&
!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortSell, true)) !sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortSell, true)))
{ {
buyItem["Flag"] = true; buyItem["Flag"] = true;
} }