전저가 고가 추가해봄
This commit is contained in:
@@ -353,7 +353,7 @@ namespace BitgetAPI.IndicatorConditionSetup
|
||||
ichimokuConditionSetup.calIchimokuData(candleDatas_5_정렬, candleData_5_전전전전봉);
|
||||
movingAverageConditionSetup.Cal_YHK_Downpublic(candleDatas_5_정렬, candleData_5_전전전전봉);
|
||||
#endregion
|
||||
|
||||
var 저고점 = 전저고점[market + strInterval];
|
||||
if (영호조건식_상향돌파 || 영호조건식_하향돌파)
|
||||
{
|
||||
if (영호조건식_상향돌파)
|
||||
@@ -367,7 +367,7 @@ namespace BitgetAPI.IndicatorConditionSetup
|
||||
var signalData = signals_SD.Find(i => i.MarketName.Equals(market) && i.Description.Equals(description));
|
||||
|
||||
//전 저점 계산
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
//사는 시점
|
||||
@@ -383,7 +383,9 @@ namespace BitgetAPI.IndicatorConditionSetup
|
||||
|
||||
if (sMABandConditionSetup.Calculate(candleDatas_5_TempList, SMABandType.LongBuy, true) &&
|
||||
!sMABandConditionSetup.Calculate(candleDatas_5_TempList, SMABandType.LongSell, true) &&
|
||||
FirstFlag[market + strInterval + "Long"])
|
||||
FirstFlag[market + strInterval + "Long"] &&
|
||||
저고점["전저가"] > 저고점["전전저가"]
|
||||
)
|
||||
{
|
||||
BuyLongStep[market] = 0;
|
||||
// 없으면 생성
|
||||
@@ -587,7 +589,8 @@ namespace BitgetAPI.IndicatorConditionSetup
|
||||
|
||||
if (sMABandConditionSetup.Calculate(candleDatas_5_TempList, SMABandType.ShortBuy, true) &&
|
||||
!sMABandConditionSetup.Calculate(candleDatas_5_TempList, SMABandType.ShortSell, true) &&
|
||||
FirstFlag[market + strInterval + "Short"])
|
||||
FirstFlag[market + strInterval + "Short"] &&
|
||||
저고점["전고가"] < 저고점["전전고가"])
|
||||
{
|
||||
BuyShortStep[market] = 0;
|
||||
// 없으면 생성
|
||||
|
||||
Reference in New Issue
Block a user