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

Re: [Metastockusers] Re: Custom Indicator and variable input



PureBytes Links

Trading Reference Links




Very kind, Hendy. Thanks :-)
 
It seems a useful formula but, if I understand it correctly, we cannot 
launch an indicator. We have to write the number of periods we've found in the 
main indicator (so it's impossible to see it "auto-adaptive"). However it's an 
interesting way even if not direct.
 
rob.
 
 
<BLOCKQUOTE 
>
   Tushar 
  Chande uses this method to filter out spikes in his 
  cmomomu:=If(C>Ref(C,-1),C-Ref(C,-1),0);momd:=If(C<Ref(C,-1),Ref(C,-1)-C,0);A1:=Stdev(momu,100);A2:=Stdev(momd,100);Mup:=If(C-Ref(C,-1)>A1,C-Ref(C,-1),A1);Mdn:=If(Ref(C,-1)-C>A2,Ref(C,-1)-C,A2);Per1:=Input("Length 
  of 
  CMO",5,100,13);Pk:=100*((Sum(Mup,Per1)-Sum(Mdn,Per1))/(Sum(Mup,Per1)+Sum(Mdn,Per1)));Pk;To 
  unsubscribe from this group, send an email 
  to:Metastockusers-unsubscribe@xxxxxxxxxxxYour use 
  of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx





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