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

RE: [EquisMetaStock Group] Re: System



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Hi,
<FONT face=Arial color=#0000ff 
size=2> 
Here's 
some code I picked during my travels. I haven't tested it yet, so I can't 
comment on how good it, but it should do what you are looking 
for.
 
Divergence Formulas 


I've seen many divergence formulas written for Metastock, but in my opinion, 
none of them work well. Here, I'll present a divergence formula for Metastock 
using RSI(14) and the close. I'll also introduce another divergence formula, 
which I call double successive divergence (DSD). 


Divergence Formula
EKA:=3;
I1:=Zig(RSI(14),EKA,%)>Ref(Zig(RSI(14),EKA,%),-1) AND
Ref(Zig(RSI(14),EKA,%),-1)<Ref(Zig(RSI(14),EKA,%),-2);
V1:=ValueWhen(1,I1,Ref(Zig(RSI(14),EKA,%),-1));
V2:=ValueWhen(1,I1,Ref(C,-1));
V3:=ValueWhen(2,I1, Ref(Zig(RSI(14),EKA,%),-1));
V4:=ValueWhen(2,I1,Ref(C,-1));
C1:=V1>V3 AND V2<V4 ;
C1 AND Ref(C1,-1)=0 AND RSI(14)>Ref(RSI(14),-1) 



 
Double Successive Divergence 
I1:=Zig(RSI(14),3,%)>Ref(Zig(RSI(14),3,%),-1) AND
Ref(Zig(RSI(14),3,%),-1)<Ref(Zig(RSI(14),3,%),-2);
V1:=ValueWhen(1,I1,Ref(Zig(RSI(14),3,%),-1));
V2:=ValueWhen(1,I1,Ref(C,-1));
V3:=ValueWhen(2,I1, Ref(Zig(RSI(14),3,%),-1));
V4:=ValueWhen(2,I1,Ref(C,-1));
V5:=ValueWhen(3,I1, Ref(Zig(RSI(14),3,%),-1));
V6:=ValueWhen(3,I1,Ref(C,-1));
C1:=V1<V3 AND V2>V4 AND V3<V5 AND V4>V6 ;
C1 AND Ref(C1,-1)=0 AND RSI(14)>Ref(RSI(14),-1)

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: 
  sentto-5219951-4532-1063662071-prez=execs.com@xxxxxxxxxxxxxxxxxxxxxxxx 
  [mailto:sentto-5219951-4532-1063662071-prez=execs.com@xxxxxxxxxxxxxxxxxxxxxxxx] 
  On Behalf Of MichuSent: Tuesday, 16 September 2003 5:40 
  AMTo: equismetastock@xxxxxxxxxxxxxxxSubject: Re: 
  [EquisMetaStock Group] Re: System
  Hi all 
   
  Maybe I haven't written exectly what I mean. I 
  want to write system based on divergence between MACD and chart. Can anyone 
  help me ? 
   @pumrysh: this link doesn't work 
  :(
  <BLOCKQUOTE dir=ltr 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    Keith 
    McDonald 
    To: <A 
    title=equismetastock@xxxxxxxxxxxxxxx 
    href="">equismetastock@xxxxxxxxxxxxxxx 
    
    Sent: Monday, September 15, 2003 10:31 
    PM
    Subject: Re: [EquisMetaStock Group] Re: 
    System
    pumrysh wrote: 
     The only indicator that you mentioned is 
      the MACD. Divergence may occur between 2 MACD's but would not 
      necessarily be a reliable indicator. Divergence is usually 
      measured between 2 different indicators...MACD versus RSI. 
      The following URL will take you to a formula site that lists 
      a divergence between Close versus MACD and RSI versus 
      MACD. 
      <A 
      href="">http://trader.online.pl/MSZ/e-w- 
      Divergence_between_Close_and_Indicator.html 
      Preston     
      --- In equismetastock@xxxxxxxxxxxxxxx, "mihasz25" 
      <michubbon@xxxx> wrote: > Hi 
      > > I want ask you about one thing. 
      > > Does someone of you know how write system 
      in Metastock based on > divergence on MACD indicator? 
      > > thx > > 
      Sorry for my english :)   
      To unsubscribe from this group, send an email to: 
      equismetastock-unsubscribe@xxxxxxxxxxxxxxx   
        
      Your use of Yahoo! Groups is subject to the <A 
      href="">Yahoo! Terms of 
      Service.
    this link returned a not found error   To 
  unsubscribe from this group, send an email 
  to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour 
  use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.