인디케이터 중복 추가 수정

This commit is contained in:
jwlee
2023-05-09 15:15:59 +09:00
parent 4a3d918b86
commit 5e0832a7cc
2 changed files with 5 additions and 4 deletions

View File

@@ -131,7 +131,8 @@ namespace Million
_curIndicatorSetup = (IndicatorCoditionSetup)_curruentIndicatorform.SaveIndicatorSetup(true);
_curIndicatorSetup.ByBuySellType = buySelltype;
var totalIndi = _saveResultData.BuySetupList;
var totalIndi = new List<object>();
totalIndi.AddRange( _saveResultData.BuySetupList);
totalIndi.AddRange(_saveResultData.SellSetupList);
var indexStringList = totalIndi.OfType<IndicatorCoditionSetup>().Select(x=>x.IndexString).ToList();

View File

@@ -629,9 +629,9 @@ namespace Million.HunterSubForm
//
this.simpleButton_TestBoard.Appearance.ForeColor = System.Drawing.Color.Teal;
this.simpleButton_TestBoard.Appearance.Options.UseForeColor = true;
this.simpleButton_TestBoard.Location = new System.Drawing.Point(516, 6);
this.simpleButton_TestBoard.Location = new System.Drawing.Point(262, 6);
this.simpleButton_TestBoard.Name = "simpleButton_TestBoard";
this.simpleButton_TestBoard.Size = new System.Drawing.Size(121, 32);
this.simpleButton_TestBoard.Size = new System.Drawing.Size(101, 32);
this.simpleButton_TestBoard.TabIndex = 3;
this.simpleButton_TestBoard.Text = "테스트보드";
this.simpleButton_TestBoard.Click += new System.EventHandler(this.simpleButton_TestBoard_Click);
@@ -639,7 +639,7 @@ namespace Million.HunterSubForm
// labelControl_WinRateProfitRate
//
this.labelControl_WinRateProfitRate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelControl_WinRateProfitRate.Location = new System.Drawing.Point(361, 15);
this.labelControl_WinRateProfitRate.Location = new System.Drawing.Point(369, 15);
this.labelControl_WinRateProfitRate.Name = "labelControl_WinRateProfitRate";
this.labelControl_WinRateProfitRate.Size = new System.Drawing.Size(19, 14);
this.labelControl_WinRateProfitRate.TabIndex = 2;