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