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

Re: [Metastockusers] Re: Exploration To Spot Fib Levels



PureBytes Links

Trading Reference Links


Hello Dusant,

I cannot deny it. Yes, you told me and you were right. A nice piece of
work from Jose demonstrating why you don't need to write five lines of
code when one will do.

Regards,
Kevin

At 00:18 20/02/2004 +0530, you wrote:
Kevin,
I hate the "told you so" phrase, but "did I not tell you
so". :))
I just knew it, I just knew it.
Ole' Jose.
Dusant
Chief Architect
www.candlestrength.com
 
----- Original Message ----- 
From: "Jose"
<josesilva22@xxxxxxxxx>
To:
<Metastockusers@xxxxxxxxxxxxxxx>
Sent: Thursday, February 19, 2004 23:28 PM
Subject: [Metastockusers] Re: Exploration To Spot Fib Levels

> Kevin's exploration can be coded thus:
> 
> ---8<------------------------
> 
> {global variables for all Col}
> 
> pds1:=50;
> pds2:=250;
> spread:=1;
> Fib1:=1;
> Fib2:=23;
> Fib3:=37.5;
> Fib4:=49.5;
> Fib5:=61.5;
> Fib6:=99;
> 
> -----------------------------
> 
> {ColA: Fib50 H}
> 
> {... global variables}
> FibPer:=(HHV(H,pds1)-H)/(HHV(H,pds1)-LLV(L,pds1))*100;
> 
> FibPer<Fib1
> OR FibPer>Fib2 AND FibPer<Fib2+spread
> OR FibPer>Fib3 AND FibPer<Fib3+spread
> OR FibPer>Fib4 AND FibPer<Fib4+spread
> OR FibPer>Fib5 AND FibPer<Fib5+spread
> OR FibPer>Fib6
> 
> -----------------------------
> 
> {ColB: Fib50 L}
> 
> {... global variables}
> FibPer:=(HHV(H,pds1)-L)/(HHV(H,pds1)-LLV(L,pds1))*100;
> 
> FibPer<Fib1
> OR FibPer>Fib2 AND FibPer<Fib2+spread
> OR FibPer>Fib3 AND FibPer<Fib3+spread
> OR FibPer>Fib4 AND FibPer<Fib4+spread
> OR FibPer>Fib5 AND FibPer<Fib5+spread
> OR FibPer>Fib6
> 
> -----------------------------
> 
> {ColC: Fib50 C}
> 
> {... global variables}
> FibPer:=(HHV(H,pds1)-C)/(HHV(H,pds1)-LLV(L,pds1))*100;
> 
> FibPer<Fib1
> OR FibPer>Fib2 AND FibPer<Fib2+spread
> OR FibPer>Fib3 AND FibPer<Fib3+spread
> OR FibPer>Fib4 AND FibPer<Fib4+spread
> OR FibPer>Fib5 AND FibPer<Fib5+spread
> OR FibPer>Fib6
> 
> -----------------------------
> 
> {ColD: Fib250 H}
> 
> {... global variables}
> FibPer:=(HHV(H,pds2)-H)/(HHV(H,pds2)-LLV(L,pds2))*100;
> 
> FibPer<Fib1
> OR FibPer>Fib2 AND FibPer<Fib2+spread
> OR FibPer>Fib3 AND FibPer<Fib3+spread
> OR FibPer>Fib4 AND FibPer<Fib4+spread
> OR FibPer>Fib5 AND FibPer<Fib5+spread
> OR FibPer>Fib6
> 
> -----------------------------
> 
> {ColE: Fib250 L}
> 
> {... global variables}
> FibPer:=(HHV(H,pds2)-L)/(HHV(H,pds2)-LLV(L,pds2))*100;
> 
> FibPer<Fib1
> OR FibPer>Fib2 AND FibPer<Fib2+spread
> OR FibPer>Fib3 AND FibPer<Fib3+spread
> OR FibPer>Fib4 AND FibPer<Fib4+spread
> OR FibPer>Fib5 AND FibPer<Fib5+spread
> OR FibPer>Fib6
> 
> -----------------------------
> 
> {ColF: Fib250 C}
> 
> {global variables}
> FibPer:=(HHV(H,pds2)-C)/(HHV(H,pds2)-LLV(L,pds2))*100;
> 
> FibPer<Fib1
> OR FibPer>Fib2 AND FibPer<Fib2+spread
> OR FibPer>Fib3 AND FibPer<Fib3+spread
> OR FibPer>Fib4 AND FibPer<Fib4+spread
> OR FibPer>Fib5 AND FibPer<Fib5+spread
> OR FibPer>Fib6
> 
> -----------------------------
> 
> {Filter}
> 
> colA
> OR colB
> OR colC
> OR colD
> OR colE
> OR colF
> 
> ---8<------------------------
> 
> 
> --- In
Metastockusers@xxxxxxxxxxxxxxx,
Kevin <kevin_barry@x...>
wrote:
> > Here ya go.............
> > 
> > You will need to amend the following code to suit yourself. I
guess 
> that it 
> > could easily be parameterised to avoid laborious retyping.
Myself, I 
> would 
> > just copy the block of text into an editor and do a global
change.
> > 
> > Here, I am looking for a H, L or C within a percent or two of a
fib 
> level 
> > over the long term (250 days) or the short term (50 days). Bear
in 
> mind 
> > that a recent all time  H or L on the last bar will be
identified as 
> it is, 
> > strictly speaking, a fib level.
> > 
> > Enjoy.
> > 
> > ColA: Fib50 H
> > 
> > ((HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 < 1)
> > OR
> > ((HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 > 23 AND
> > (HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 < 24)
> > OR
> > ((HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 > 37.5 AND
> > (HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 < 38.5)
> > OR
> > ((HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 > 49.5 AND
> > (HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 < 50.5)
> > OR
> > ((HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 > 61.5 AND
> > (HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 < 62.5)
> > OR
> > ((HHV(H,50)-H)/(HHV(H,50)-LLV(L,50))*100 > 99)
> > 
> > ColB: Fib50 L
> > 
> > ((HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 < 1)
> > OR
> > ((HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 > 23 AND
> > (HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 < 24)
> > OR
> > ((HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 > 37.5 AND
> > (HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 < 38.5)
> > OR
> > ((HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 > 49.5 AND
> > (HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 < 50.5)
> > OR
> > ((HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 > 61.5 AND
> > (HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 < 62.5)
> > OR
> > ((HHV(H,50)-L)/(HHV(H,50)-LLV(L,50))*100 > 99)
> > 
> > ColC: Fib50 C
> > 
> > ((HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 < 1)
> > OR
> > ((HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 > 23 AND
> > (HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 < 24)
> > OR
> > ((HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 > 37.5 AND
> > (HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 < 38.5)
> > OR
> > ((HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 > 49.5 AND
> > (HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 < 50.5)
> > OR
> > ((HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 > 61.5 AND
> > (HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 < 62.5)
> > OR
> > ((HHV(H,50)-C)/(HHV(H,50)-LLV(L,50))*100 > 99)
> > 
> > ColD: Fib250 H
> > 
> > ((HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 < 1)
> > OR
> > ((HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 > 23 AND
> > (HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 < 24)
> > OR
> > ((HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 > 37.5 AND
> > (HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 < 38.5)
> > OR
> > ((HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 > 49.5 AND
> > (HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 < 50.5)
> > OR
> > ((HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 > 61.5 AND
> > (HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 < 62.5)
> > OR
> > ((HHV(H,250)-H)/(HHV(H,250)-LLV(L,250))*100 > 99)
> > 
> > Fib250 L
> > 
> > ((HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 < 1)
> > OR
> > ((HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 > 23 AND
> > (HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 < 24)
> > OR
> > ((HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 > 37.5 AND
> > (HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 < 38.5)
> > OR
> > ((HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 > 49.5 AND
> > (HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 < 50.5)
> > OR
> > ((HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 > 61.5 AND
> > (HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 < 62.5)
> > OR
> > ((HHV(H,250)-L)/(HHV(H,250)-LLV(L,250))*100 > 99)
> > 
> > Fib250 C
> > 
> > ((HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 < 1)
> > OR
> > ((HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 > 23 AND
> > (HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 < 24)
> > OR
> > ((HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 > 37.5 AND
> > (HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 < 38.5)
> > OR
> > ((HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 > 49.5 AND
> > (HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 < 50.5)
> > OR
> > ((HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 > 61.5 AND
> > (HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 < 62.5)
> > OR
> > ((HHV(H,250)-C)/(HHV(H,250)-LLV(L,250))*100 > 99)
> > 
> > Filter
> > 
> > colA OR
> > colB OR
> > colC OR
> > colD OR
> > colE OR
> > colF
> 
Yahoo! Groups Sponsor 
ADVERTISEMENT
Click
Here 


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. 









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.