수정
This commit is contained in:
@@ -452,8 +452,8 @@ namespace BitgetAPI.IndicatorConditionSetup
|
||||
continue;
|
||||
else if (nowTime < buyTwoTime)
|
||||
{
|
||||
if (sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongBuy, true) &&
|
||||
!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongSell, true))
|
||||
if (!(sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongBuy, true) &&
|
||||
!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongSell, true)))
|
||||
{
|
||||
buyItem["Flag"] = true;
|
||||
}
|
||||
@@ -646,8 +646,8 @@ namespace BitgetAPI.IndicatorConditionSetup
|
||||
continue;
|
||||
else if (nowTime < buyTwoTime)
|
||||
{
|
||||
if (sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortBuy, true) &&
|
||||
!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortSell, true))
|
||||
if (!(sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortBuy, true) &&
|
||||
!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortSell, true)))
|
||||
{
|
||||
buyItem["Flag"] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user