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

[Metastockusers] Logarithm



PureBytes Links

Trading Reference Links





How can I use the Metastock to 
generate a base logarithm for prices? 
Thank you, 
Rodrigo.

  <FONT face=Tahoma 
  size=2>-----Mensagem original-----De: Roy Larsen 
  [mailto:rlarsen@xxxxxxxxxxxxxx]Enviada em: quinta-feira, 18 de 
  março de 2004 18:45Para: 
  Metastockusers@xxxxxxxxxxxxxxxAssunto: Re: [Metastockusers] Daily 
  Pivot Points On Five Minute Chart
  Not mine Sam. 
   
  Roy
  <BLOCKQUOTE dir=ltr 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    uhehs@xxxxxxxx 
    
    To: <A 
    title=Metastockusers@xxxxxxxxxxxxxxx 
    href="">Metastockusers@xxxxxxxxxxxxxxx 
    
    Sent: Friday, March 19, 2004 10:34 
    AM
    Subject: RE: [Metastockusers] Daily 
    Pivot Points On Five Minute Chart
    --> 
    
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">If 
    it helps, this I what I have in my files for Daily Pivots on a lower time 
    frame.
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">[I 
    think it's from you, Roy]
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy"> 
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">Dm:=If(Hour()<=Ref(Hour(),-1),1,0);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">PP3:=If(Dm=1,(Ref(HighestSince(1,Dm=1,H),-1)+
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">Ref(LowestSince(1,Dm=1,L),-1) 
    +
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">Ref(C,-1))/3,0);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">Mh1:=If(Dm=1,Ref(HighestSince(1,Dm=1,H),-1),0);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">Ml1:=If(Dm=1,Ref(LowestSince(1,Dm=1,L),-1),0);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">Mh:=ValueWhen(1,Mh1>0,Mh1);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">Ml:=ValueWhen(1,Ml1>0,Ml1);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">PPM:=ValueWhen(1,PP3>0,PP3);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">R1:=(2*PPM)-Ml;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">S1:=(2*PPM)-Mh;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">S3:=ppm-(Mh-Ml);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">S2:=S1-(R1-S1);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">R2:=R1+(R1-S1);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">R3:=ppm+(Mh-Ml);
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">evm:=(mh-PPm)+ml;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy"> 
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">r3;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">r2;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">r1;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">ppm;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">s1;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">s2;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy">s3;
    <SPAN 
    DEFANGED_STYLE="font-size:
10.0pt;font-family:Arial;color:navy"> 
    <FONT face=Tahoma 
    size=2>-----Original 
    Message-----From: 
    Roy Larsen [mailto:rlarsen@xxxxxxxxxxxxxx] <SPAN 
    DEFANGED_STYLE="font-weight:bold">Sent: <FONT 
    face=Tahoma size=2><SPAN 
    DEFANGED_STYLE="font-size:10.0pt;font-family:Tahoma">Thursday, March 18, 
    2004<SPAN 
    DEFANGED_STYLE="font-size:10.0pt;
font-family:Tahoma"> 
    <SPAN 
    DEFANGED_STYLE="font-size:10.0pt;font-family:Tahoma">3:12 
    PM<SPAN 
    DEFANGED_STYLE="font-size:10.0pt;font-family:Tahoma"><SPAN 
    DEFANGED_STYLE="font-weight:bold">To: 
    Metastockusers@xxxxxxxxxxxxxxx<SPAN 
    DEFANGED_STYLE="font-weight:bold">Subject: Re: [Metastockusers] 
    Daily Pivot Points On Five Minute Chart
    <FONT 
    face="Times New Roman" size=3><SPAN 
    > 
    <FONT 
    face="Courier New" size=2><SPAN 
    >Kevin<FONT face="Courier New" 
    size=2><SPAN 
    ><FONT 
    face="Courier New">> I want to incorporate a condition in a system test 
    on a five-minute chart. > I 
    do not want to buy if the price is within a certain percentage of one of 
    > the daily pivot points. 
    Does anybody know how to plot daily pivots on <FONT 
    face="Courier New">> intraday charts for testing purposes? Unfortunately, 
    Henry's excellent > pivot 
    points indicator only plots the value for the current 
    period.> 
    > Thanks in 
    advance,> 
    KevinShow me the code you 
    use for daily pivots and I'll convert it to plot on any intraday 
    chart<FONT face="Courier New" 
    size=2>Roy<FONT 
    face="Courier New" size=2><SPAN 
    DEFANGED_STYLE='font-size:10.0pt;font-family:"Courier New"'>







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.