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

Re: [RT] Searching for program



PureBytes Links

Trading Reference Links

I wrote  formulae for computing fin levels internal and external for
use in MetaStock. The ratios used in these formulae are the ones posted
by Lenny yesterday, you can change them to whatever values you wish to. I
am pasting them below. See if they solve your purpose:


Rakesh Sahgal

Fib Levels_In

eMonth1:=Input("Enter the Month-MM",1,12,1);
eDate1:=Input("Enter the Date-DD",1,31,1);
eYear1:=Input("Enter the Year-YYYY",0,2100,0);
eMonth2:=Input("Enter the Month-MM",1,12,1);
eDate2:=Input("Enter the Date-DD",1,31,1);
eYear2:=Input("Enter the Year-YYYY",0,2100,0);

h1:=ValueWhen(1, DayOfMonth()=edate1 AND Month()=emonth1 AND
Year()=eyear1,H);
l1:=ValueWhen(1, DayOfMonth()=edate1 AND Month()=emonth1 AND
Year()=eyear1,L);

h2:=ValueWhen(1, DayOfMonth()=edate2 AND Month()=emonth2 AND
Year()=eyear2,H);
l2:=ValueWhen(1, DayOfMonth()=edate2 AND Month()=emonth2 AND
Year()=eyear2,L);

aa:= Max(h1,h2); 
bb:=Min(l1,l2);
cc:=Abs(aa-bb);
startpt:=If(h1>h2 AND l1>l2,l2,If(h2>h1 AND
l2>l1,h2,0));

sr1:=If(startpt=l2,l2+(cc*.236),If(startpt=h2,h2-(cc*.236),0));
SR2:=If(startpt=l2,l2+(cc*.3),If(startpt=h2,h2-(cc*.3),0));
SR3:=If(startpt=l2,l2+(cc*.382),If(startpt=h2,h2-(cc*.382),0));
SR4:=If(startpt=l2,l2+(cc*.486),If(startpt=h2,h2-(cc*.486),0));
SR5:=If(startpt=l2,l2+(cc*.618),If(startpt=h2,h2-(cc*.618),0));
SR6:=If(startpt=l2,l2+(cc*.786),If(startpt=h2,h2-(cc*.786),0));

aa;
sr1;
SR2;
SR3;
SR4;
SR5;
SR6;
bb;

Fib Levels_Out

eMonth1:=Input("Enter the Month-MM",1,12,1);
eDate1:=Input("Enter the Date-DD",1,31,1);
eYear1:=Input("Enter the Year-YYYY",0,2100,0);
eMonth2:=Input("Enter the Month-MM",1,12,1);
eDate2:=Input("Enter the Date-DD",1,31,1);
eYear2:=Input("Enter the Year-YYYY",0,2100,0);

h1:=ValueWhen(1, DayOfMonth()=edate1 AND Month()=emonth1 AND
Year()=eyear1,H);
l1:=ValueWhen(1, DayOfMonth()=edate1 AND Month()=emonth1 AND
Year()=eyear1,L);

h2:=ValueWhen(1, DayOfMonth()=edate2 AND Month()=emonth2 AND
Year()=eyear2,H);
l2:=ValueWhen(1, DayOfMonth()=edate2 AND Month()=emonth2 AND
Year()=eyear2,L);

aa:= Max(h1,h2); 
bb:=Min(l1,l2);
cc:=Abs(aa-bb);
startpt:=If(h1>h2 AND l1>l2,l2,If(h1<h2 AND
l1<l2,h2,0));

sr1:=If(startpt=l2,l2-(cc*1.272),If(startpt=h2,h2+(cc*1.272),0));
SR2:=If(startpt=l2,l2-(cc*1.618),If(startpt=h2,h2+(cc*1.618),0));
SR3:=If(startpt=l2,l2-(cc*2.058),If(startpt=h2,h2+(cc*2.058),0));
SR4:=If(startpt=l2,l2-(cc*2.618),If(startpt=h2,h2+(cc*2.618),0));
SR5:=If(startpt=l2,l2-(cc*3.33),If(startpt=h2,h2+(cc*3.33),0));
SR6:=If(startpt=l2,l2-(cc*4.236),If(startpt=h2,h2+(cc*4.236),0));

aa;
sr1;
SR2;
SR3;
SR4;
SR5;
SR6;
bb;


At 08:51 AM 8/16/01 -0400, you wrote:
Hi,

I would welcome any suggestions for a program that can quickly and
easily calculate and project Fib Time Ratios. Metastock,  can do it,
BUT
you cannot choose the ratios. Fibonacci Trader does not project
forward:)). So far I am using Excel but it is quite cumbersome.
Ideally
I would like to use it with Qcharts and QCollector and use it on
intraday data.

Thank you,

Ketayun


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

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
                                                                        Rakesh
Sahgal
                                                                        C
-165(1st Floor), Greater Kailash - I,
                                                                        New
Delhi - 110 048
                                                                        India.
                                                                        Tel.:
91-11-647-6462,91-11-643-0010
                                                                        eMail:  rakeshsahgal@xxxxxxx
                                                                                rsahgal@xxxxxxxx

Rakesh
SahgalOnline
Status:







Yahoo! Groups Sponsor


ADVERTISEMENT









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





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