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

Re: [Metastockusers] Momentum Divergencies



PureBytes Links

Trading Reference Links




drstutz,
This seems to be a stochastic osc based on the 
MACD. And the Buy Zone is when this stochastic is below 30 and sell zone is 
above 90.
Take the custom stochastic from the user manual 
and substitute the HHV and LLV of close with those of MACD().
DusantChief Architect<A 
href="">http://www.candlestrength.com/
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  drstutz 
  
  To: <A 
  title=Metastockusers@xxxxxxxxxxxxxxx 
  href="">Metastockusers@xxxxxxxxxxxxxxx 
  
  Sent: Wednesday, July 21, 2004 9:01 
  PM
  Subject: [Metastockusers] Momentum 
  Divergencies
  
  
  <SPAN 
  >Several weeks ago I asked for 
  assistance in converting TradeStation code to MetaStock. There are two good 
  indicators in a book by Price Headley, “Big Trends in Trading.” One indicator, 
  Momentum Divergence, attempts to show when to take or avoid stock price 
  breakout (page 114 of the book). 
  <SPAN 
  > 
  <SPAN 
  >Could someone provide the 
  equivalent MetaStock Code of the TradeStation 
  below?
  <SPAN 
  > 
  <SPAN 
  >(with setting = 15 bars; 40 bars 
  is the intermediate-term setting)
  <SPAN 
  > 
  <SPAN 
  >Input:FastMA (12), SlowMA (26), 
  MacdMA (9), Input2(15), BuyZone (30), SellZone 
  (90);
  <SPAN 
  > 
  <SPAN 
  >Value1=IFF(Highest(MACD(Close,FastMA,SlowMA),Input(2) 
  –
  <SPAN 
  >Lowest 
  (MACD(Close,FastMA,SlowMA),Input2)<>0,Highest
  <SPAN 
  >(MACD(Close,FastMA,
  <SPAN 
  >SlowMA),Input2) – Lowest(MACD 
  (Close,FastMA,SlowMA),Input2),50);
  <SPAN 
  > 
  <SPAN 
  >Value2=IFF(Highest(close,Input2) – 
  Lowest(close,Input2)<>0, Highest(close,Input2) – 
  
  <SPAN 
  >Lowest(close,Input2),50);
  <SPAN 
  > 
  <SPAN 
  >Plot1(100*(close-Lowest(close,Input2))/Value2,”Close%”);
  <SPAN 
  > 
  <SPAN 
  >Plot2(100*(MACD(Close,FastMA,SlowMA) 
  –
  <SPAN 
  >Lowest(MACD(Close,FastMA, 
  SlowNA),Input2))/Value1,”MACD%);
  <SPAN 
  > 
  <SPAN 
  >Plot3(BuyZone, 
  “BuyZone”);
  <SPAN 
  > 
  <SPAN 
  >Plot4(SellZone, 
  “SellZone”);







Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/ 
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.