finance.eod
Class SellDoubleTop

java.lang.Object
  extended by finance.eod.SellDoubleTop
All Implemented Interfaces:
SellAtOpen, TradingRule

public class SellDoubleTop
extends java.lang.Object
implements SellAtOpen


Constructor Summary
SellDoubleTop(EODQuote q1, EODQuote q2, EODQuote q3)
           
 
Method Summary
 boolean trade()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SellDoubleTop

public SellDoubleTop(EODQuote q1,
                     EODQuote q2,
                     EODQuote q3)
Parameters:
q1 - two day old quote
q2 - yesterdays quote
q3 - most recent quote
Method Detail

trade

public boolean trade()
Specified by:
trade in interface SellAtOpen
Specified by:
trade in interface TradingRule