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