예제 #1
0
 public bool ReversesDownFrom(StockQuote otherQuote)
 {
     return(Open > otherQuote.High && Close < otherQuote.Low);
 }
예제 #2
0
 public bool ReversesUpFrom(StockQuote otherQuote)
 {
     return(Open < otherQuote.Low && Close > otherQuote.High);
 }
예제 #3
0
 public Reversal(StockQuote quote, ReversalDirection direction)
 {
     StockQuote = quote;
     Direction  = direction;
 }