PureBytes Links
Trading Reference Links
|
Fib alt time projections from 3 dates
A1:=Input("date A mmddyyyy",1011960,12312100,1072000);
B1:=Input("date B mmddyyyy",1011960,12312100,1082000);
C1:=Input("date C mmddyyyy",1011960,12312100,1092000);
BSA:=BarsSince(A1=Month()*1000000 + DayOfMonth()*10000+ Year());
BSB:=BarsSince(B1=Month()*1000000 + DayOfMonth()*10000+ Year());
BSC:=BarsSince(C1=Month()*1000000 + DayOfMonth()*10000+ Year());
F1:=Int(If(((BSA-BSB)*.382)+(BSA-BSC)-BSC>0,((BSA-BSB)*.382)+(BSA-
BSC)-BSC,0));
F2:=Int(If(((BSA-BSB)*.618)+(BSA-BSC)-BSC>0,((BSA-BSB)*.618)+(BSA-
BSC)-BSC,0));
F3:=Int(If(((BSA-BSB)*1)+(BSA-BSC)-BSC>0,((BSA-BSB)*1)+(BSA-BSC)-
BSC,0));
F4:=Int(If(((BSA-BSB)*1.618)+(BSA-BSC)-BSC>0,((BSA-BSB)*1.618)+(BSA-
BSC)-BSC,0));
F5:=Int(If(((BSA-BSB)*2.618)+(BSA-BSC)-BSC>0,((BSA-BSB)*2.618)+(BSA-
BSC)-BSC,0));
F1;F2;F3;{F4;F5;}
Fib Time between 2 dates
A1:=Input("date A mmddyyyy",1011960,12312100,1072000);
B1:=Input("date B mmddyyyy",1011960,12312100,1082000);
BSA:=BarsSince(A1=Month()*1000000 + DayOfMonth()*10000+ Year());
BSB:=BarsSince(B1=Month()*1000000 + DayOfMonth()*10000+ Year());
F1:=Int(If(((BSA-BSB)*.382)-BSB>0,((BSA-BSB)*.382)-BSB,0));
F2:=Int(If(((BSA-BSB)*.5)-BSB>0,((BSA-BSB)*.5)-BSB,0));
F3:=Int(If(((BSA-BSB)*.618)-BSB>0,((BSA-BSB)*.618)-BSB,0));
F4:=Int(If(((BSA-BSB)*.1)-BSB>0,((BSA-BSB)*.1)-BSB,0));
F5:=Int(If(((BSA-BSB)*1.618)-BSB>0,((BSA-BSB)*1.618)-BSB,0));
F6:=Int(If(((BSA-BSB)*2.618)-BSB>0,((BSA-BSB)*2.618)-BSB,0));
F1;F2;F3;F4;F5;F6;
--- In Metastockusers@xxxxxxxxxxxxxxx, Claud Baruch <ClaudB@xxxx>
wrote:
> Jayson....you're absolutely correct. That's exactly what I would
like to
> do. (e.g. calculate say a 61.8 retracement
> from a specified hi/lo date.) The only software that does this
that I'm
> aware of is Advanced GET. Maybe
> it can be calculated in MS.
>
> Claud
>
> Jayson wrote:
>
> > Calculating the fib bars forward from a date should not be that
hard,
> > but the challenge (I think) is that it is not possible to plot
lines
> > in the future. I suppose you could display a counter of sorts
where
> > the....
> >
> > "Next fib time level is "X" number of bars away" from
the
> > current bar.
> >
> > If you were not plotting the future but wish to see the fib
lines
> > between 2 points in time then I believe it is a matter of
calculating
> > the total bars under study then applying the ratios to that
number and
> > adding from the first bar....
> >
> > Jayson
> > -----Original Message-----
> > From: Roy Larsen [mailto:rlarsen@x...]
> > Sent: Saturday, April 05, 2003 2:26 PM
> > To: Metastockusers@xxxxxxxxxxxxxxx
> > Subject: Re: [Metastockusers] Volume By Price Indicator
> >
> > Hi Claud
> >
> > Fib is not my thing (little interest and little knowledge) so I
don't know
> > off the top of my head. There are a number of line-drawing
techniques out
> > there so I'd say it's quite probable it can be done.
> >
> > I'm not quite sure what it is you have in mind but I'd be
willing to
> > take a
> > look if you could manually knock up a chart demonstrating what
you
> > envisage. No promises though. You could send the chart direct to
me if you
> > want.
> >
> > Regards
> >
> > Roy
> >
> > > Hi Roy, I'm impressed by your indicator expertise. This brings
me to a
> > > question.
> > > Would you know if one can do a Fib retracement on TIME in MS?
If so, is
> > > there
> > > a formula anywhere out there that would allow this?
> > >
> > > Thanks very much for your contributions here.
> > >
> > > Claud
> > >
> > > Roy Larsen wrote:
> > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > To unsubscribe from this group, send an email to:
> > > Metastockusers-unsubscribe@xxxxxxxxxxx
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> > 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
> > <http://docs.yahoo.com/info/terms/>.
> >
> > Yahoo! Groups Sponsor
> >
<http://us.ard.yahoo.com/M=249982.3083889.4452939.1728375/D=egroupweb
/S=1705001779:HM/A=1524963/R=0/*http://hits.411web.com/cgi-
bin/autoredir?camp=556&llineid=3083889&prop=egroupweb&pos=HM>
> >
> >
> >
> > 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
> > <http://docs.yahoo.com/info/terms/>.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE Cell Phones with up to $400 Cash Back!
http://us.click.yahoo.com/_bBUKB/vYxFAA/i5gGAA/zMEolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|