수정
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user