コード例 #1
0
 private static bool ShouldBeIgnored(KJapaneseData e)
 {
     if(e==null) return true;
     if(e.IsCloned()) return false;
     if(e.IsAllDayOnFusingPrice()) return true;
     return false;
 }
コード例 #2
0
 public void MatchOne(int index, KJapaneseData kdata)
 {
     this.MatchedCount++;
     if(this.EndIndex<0) this.EndIndex = index;
     this.StartIndex = index;
     if(this.MinClose<=0) this.MinClose = this.MaxClose = kdata.ClosePrice;
     else{
         if(this.MinClose>kdata.ClosePrice) this.MinClose = kdata.ClosePrice;
         if(this.MaxClose<kdata.ClosePrice) this.MaxClose = kdata.ClosePrice;
     }
 }