From abf8a4f7f29100a5c946e0a4f76db2a1689cdf7a Mon Sep 17 00:00:00 2001 From: kyh <1329522@naver.com> Date: Mon, 16 Jun 2025 15:05:53 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BitgetApi/IndicatorConditionSetup/IndicatorProcess.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BitgetApi/IndicatorConditionSetup/IndicatorProcess.cs b/BitgetApi/IndicatorConditionSetup/IndicatorProcess.cs index e138ecd..6adf3dc 100644 --- a/BitgetApi/IndicatorConditionSetup/IndicatorProcess.cs +++ b/BitgetApi/IndicatorConditionSetup/IndicatorProcess.cs @@ -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; }