コード例 #1
0
ファイル: StockQuote.cs プロジェクト: paweld139/PDCore
 public bool ReversesDownFrom(StockQuote otherQuote)
 {
     return(Open > otherQuote.High && Close < otherQuote.Low);
 }
コード例 #2
0
ファイル: StockQuote.cs プロジェクト: paweld139/PDCore
 public bool ReversesUpFrom(StockQuote otherQuote)
 {
     return(Open < otherQuote.Low && Close > otherQuote.High);
 }
コード例 #3
0
ファイル: Reversal.cs プロジェクト: paweld139/PDCore
 public Reversal(StockQuote quote, ReversalDirection direction)
 {
     StockQuote = quote;
     Direction  = direction;
 }