[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: 21RSI and 30 HHV code...



PureBytes Links

Trading Reference Links


What 
type of daily MA are you using?
<SPAN 
class=710253715-31102000> 
<SPAN 
class=710253715-31102000>neo
<SPAN 
class=710253715-31102000> 
<SPAN 
class=710253715-31102000>>>>i,ve written the formulas below to screen 
stocks/indices for long and short trades, to include the criteria:macd to be 
above/below 0, close price above/below 10 dma, 21 period rsito be 
above/below 50, macd to be crossing above/below the 9 period signal line, price 
within bollinger bands, the price at a new 30 dayhigh/low and the price to 
be higher/lower than yesterday's close.
<SPAN 
class=710253715-31102000> 
<SPAN 
class=710253715-31102000> 

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: 
  owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]On 
  Behalf Of JimSent: Monday, October 30, 2000 5:55 
  PMTo: metastock@xxxxxxxxxxxxxSubject: 21RSI and 30 HHV 
  code...I tested this on the Sp500 data base 
  and due to the past month or two market correction I found using 90 days 
  instead of 30 gave you a better correcting stock population...as well use 
  minus one in the short filter to differentiate.....I will send you my stocks 
  if you want....let me know...At 10:14 AM 10/30/00 +0000, you 
  wrote:
  i,ve written the formulas below to screen 
    stocks/indices for long and short trades, to include the criteria:macd 
    to be above/below 0, close price above/below 10 dma, 21 period rsito be 
    above/below 50, macd to be crossing above/below the 9 period signal line, 
    price within bollinger bands, the price at a new 30 dayhigh/low and the 
    price to be higher/lower than yesterday's close.these formulas seem 
    to work but i,m not sure that i,m using the correctsyntax the price is 
    the highest/lowest for 30 days,this part of the formula does not work 
    ?could you please give the formulas a quick check 
    over,cheers, john(long filter)If(MACD() > 0 AND CLOSE 
    > Mov(CLOSE,10,E) AND RSI(21) > 50 AND MACD() > Mov(MACD(),9,E) 
    ANDCLOSE < Mov(C,20,S) + (2*(Std(C,20))) ANDCLOSE > 
    Mov(C,20,S) - (2*(Std(C,20))) ANDCLOSE > ref(close,-1) and hhv(h,30) 
    ,+1, 0)(short filter)If(MACD() < 0 AND CLOSE < 
    Mov(CLOSE,10,E) AND RSI(21) < 50 AND MACD() < Mov(MACD(),9,E) 
    ANDCLOSE < Mov(C,20,S) + (2*(Std(C,20))) ANDCLOSE > 
    Mov(C,20,S) - (2*(Std(C,20))) ANDCLOSE < ref(close,-1) and llv(l,30) 
    ,+1, 
    0)_________________________________________________________________________Get 
    Your Private, Free E-mail from MSN Hotmail at <A 
    href="http://www.hotmail.com/"; 
    eudora="autourl">http://www.hotmail.com.Share information about 
    yourself, create your own public profile at <A 
    href="http://profiles.msn.com/"; 
    eudora="autourl">http://profiles.msn.com.<FONT 
  face="Courier New, Courier" size=4>Opinions and feedback 
  appreciated....<FONT face="Eras Demi ITC" 
  size=3>Jim...<FONT color=#000080 face="Eras Light ITC" 
  size=3>Atlanta, GA