판매 시점이 온후로 처리 (pine view와 같이 동작하는거로 보기 위함)

This commit is contained in:
kyh
2025-06-26 11:41:34 +09:00
parent 9f2e5943a7
commit db2ca84912

View File

@@ -375,7 +375,7 @@ namespace BitgetAPI.IndicatorConditionSetup
{
if(!FirstFlag[market + strInterval + "Long"])
{
if(!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongBuy, market, true))
if(sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.LongSell, market, true))
{
FirstFlag[market + strInterval + "Long"] = true;
}
@@ -576,7 +576,7 @@ namespace BitgetAPI.IndicatorConditionSetup
{
if (!FirstFlag[market + strInterval + "Short"])
{
if (!sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortBuy, market, true))
if (sMABandConditionSetup.Calculate(candleDatas_30_TempList, SMABandType.ShortSell, market, true))
{
FirstFlag[market + strInterval + "Short"] = true;
}