PureBytes Links
Trading Reference Links
|
As will become clear shortly, I am far from a experienced PnF interpreter. It seems that two parameters significantly influence the PnF chart, firstly the box-size and the reversal threshold (3 boxes is common and used in your code.) I have been experimenting with the box size, and it seems to methat it should be related to the ATR; you use a fixed ratio of the averageprice to the magic number 7.3374 which would seem to be specific to a particular instrument.
I have attached a modified version of the code, fancied up with titles and parameter information that uses the last ATR. I am not suggesting that this is a good approach - well I suppose I am saying it isn't a bad approach -and would appreciate your comments.
Cheers,
Richard
----- Original Message -----
From: mirat_dave
To: amibroker@xxxxxxxxxxxxxxx
Sent: Friday, July 19, 2002 8:59 AM
Subject: [amibroker] Re: Point & Figure Chart in AFL
Hello Richard and Dimitris,
Sorry to have caused so much confusion.
Since most stocks since 2000 have been trending down, you may get a
only a few bars because the P&F Chart ignores small up moves and only
extends down bars when the price moves more than the box size. Since
2000, you may very well have only a few bars. Try loading more data
for at least one stock.
I used AmiQuote and Yahoo for the data. I have data from January
1994. The AmiBroker version on which I created this file is 4.0.0
Apr 26 2002.
I do not know if the AmiBroker version is causing the difference. I
saw that it worked for Richard on MSFT (although I am not sure what
the whole MSFT v. MSFT issue was - it seems to have resolved
itself). Perhaps Richard also has more data loaded.
As you can see from the script, it is very simple. If problems
continue, I would be happy to go through it in detail to see if there
is a coding error.
I'm afraid I have no other explanation other than more data. Let's
try that first.
Mirat
PS I would post .gifs of my charts but I do not know how to attach a
file to my reply. Although that would not help resolve the issue. :-)
--- In amibroker@xxxx, "Richard Alford" <richard.alford@xxxx> wrote:
> I am just isolating variables. If we have the same program and
version (4.06.1 Jun 19 build), the same indicator code (this I
confirmed) and same data we should get the same result. (I continue
to believe in deterministic computing - probably naive in light of
Microsoft!). The questionable variable, and a big one, is the data
source - I use qp2. Perhaps someone using yahoo could compare to
your results?
>
>
> It does appear that the "box size", the significant change that
defines an X or O in my understanding, should be normalized to the
price of the instrument to account for the difference in WCOME
pricing vs. DJIA, for example. I am referring to the code fragment:
>
> // Calculate PF Chart Box size and minimum Reverse values
> // Box = ((tot[i]/(i+1))^.5)/7.3374;
>
> Cheers,
>
> Richard
> ----- Original Message -----
> From: dtsokakis
> To: amibroker@xxxx
> Sent: Wednesday, July 17, 2002 2:49 PM
> Subject: [amibroker] Re: Point & Figure Chart in AFL
>
>
> Richard,
> YHOO via Amiquote.
> Why do you think it is a matter of data provider ?
> Dimitris Tsokakis
>
> --- In amibroker@xxxx, "Richard Alford" <richard.alford@xxxx>
wrote:
> > but the point remains that you and I get different results.
what
> is your data source?
> >
> > Richard
> > ----- Original Message -----
> > From: dtsokakis
> > To: amibroker@xxxx
> > Sent: Wednesday, July 17, 2002 1:47 PM
> > Subject: [amibroker] Re: Point & Figure Chart in AFL
> >
> >
> > Richard,
> > ANY other function works just fine with my valuable Amibroker
> 4.06.
> > Just fine.
> > I can not see the reason for this P&F script.
> > Anyway, the author perhaps could expain.
> > Dimitris Tsokakis
> >
> > --- In amibroker@xxxx, "Richard Alford" <richard.alford@xxxx>
> wrote:
> > > DT, I agree it was not easy to understand. The attached
charts
> > showed the TWO results that were generated whenever I entered
the
> > symbol MSFT - it appears to be a fluke and I cannot reproduce
it
> any
> > longer. Although there is not ticker name in the formula,
there
> was
> > strange behavior occurring for MSFT and MSFT only at that
time.
> > >
> > > The gist of my reply to you was that using the SAME code as
you
> > posted and using the code I copied from the files sections, I
> > generated the same results - and not the results that you
were
> > creating. That suggests that you have a problem in your data
> and/or
> > setup. The only reason for the two codes was to guarantee
that
> there
> > wasn't a subtle error - there was not.
> > >
> > > Sorry for adding the confusion about the MSFT fluke at the
same
> > time.
> > >
> > > Cheers,
> > >
> > > Richard
> > > ----- Original Message -----
> > > From: dtsokakis
> > > To: amibroker@xxxx
> > > Sent: Wednesday, July 17, 2002 12:47 AM
> > > Subject: [amibroker] Re: Point & Figure Chart in AFL
> > >
> > >
> > > Richard,
> > > It is not easy to understand this
> > > "the plot for MSFT changes when one changes the symbol go
> MSFT
> > from
> > > MSFT??? "
> > > I copied the formula from
> > > http://groups.yahoo.com/group/amibroker/files/Point-Figure
> > > pasted in my Ind. builder and get the posted gifs.
> > > No ticker name is into the formula.
> > > What is "the two MSFT " ???
> > > Do you use the same code from the above address??
> > > DT
> > >
> > >
> > > --- In amibroker@xxxx, "Richard Alford"
<richard.alford@xxxx>
> > wrote:
> > > > Those are not the figures I generate using the code in
> > the "files
> > > section". (Why wasn't this put in the AFL library is a
> question
> > in
> > > my mind???)
> > > >
> > > > Just noticed that the plot for MSFT changes when one
> changes
> > the
> > > symbol go MSFT from MSFT??? Not the case for AMZN or
ORCL?
> > > >
> > > > I attached the two MSFT for comparison, one is "my"
copy,
> and
> > the
> > > other is a copy and paste of the code in your note. The
> > difference
> > > is the quirk in MSFT, not an error in the code you have
used.
> And
> > DT
> > > do you really like black on blue borders? Personally, I
can
> > never
> > > read your chart titles.
> > > >
> > > > Cheers,
> > > >
> > > > Richard
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Dimitris Tsokakis
> > > > To: amibroker@xxxx
> > > > Sent: Tuesday, July 16, 2002 1:14 PM
> > > > Subject: [amibroker] Re: Point & Figure Chart in AFL
> > > >
> > > >
> > > > Mirat,
> > > > Here is P&F charts for AMZN, MSFT and ORCL.
> > > > Data since Jan 2000.
> > > > Is it the expected picture ?
> > > > The code, copied from files section
> > > >
> > > > // PF Chart by Mirat Dave
> > > > // Copy and paste this as a custom indicator.
> > > >
> > > > EnableScript("jscript");
> > > > <%
> > > >
> > > > High = VBArray( AFL( "High" ) ).toArray();
> > > > Low = VBArray( AFL( "Low" ) ).toArray();
> > > >
> > > > // Calculate running average stock price for use in
> > calculating
> > > the Box size.
> > > >
> > > > tot = new Array();
> > > > tot[0] = (High[0] + Low[0])/2;
> > > > for( i=1; i < High.length; i++ )
> > > > {
> > > > tot[i] = tot[i-1] + ((High[i] + Low[i])/2);
> > > > }
> > > > PFO = new Array();
> > > > PFC = new Array();
> > > >
> > > > // initialize first element
> > > >
> > > > j = 0;
> > > > PFO[j] = High[0];
> > > > PFC[j] = Low[0];
> > > > down = 1; // By default the first bar is a down bar.
> > > >
> > > > up = 0;
> > > > swap = 0;
> > > >
> > > > // perform the loop that produces PF Chart
> > > >
> > > > for( i = 1; i < High.length; i++ )
> > > > {
> > > > // Calculate PF Chart Box size and minimum Reverse
values
> > > >
> > > > Box = ((tot[i]/(i+1))^.5)/7.3374;
> > > > Reverse = Box * 3;
> > > > if( Low[i] < PFC[j] - Box && down)
> > > > {
> > > > PFC[j] = Low[i];
> > > > }
> > > > else
> > > > {
> > > > if( High[i] >= PFC[j] + Reverse && down)
> > > > {
> > > > j++;
> > > > swap = 1;
> > > > PFO[j] = Low[i];
> > > > PFC[j] = High[i];
> > > > }
> > > > }
> > > > if( High[i] > PFC[j] + Box && up)
> > > > {
> > > > PFC[j] = High[i];
> > > > }
> > > > else
> > > > {
> > > > if( Low[i] <= PFC[j] - Reverse && up)
> > > > {
> > > > j++;
> > > > PFC[j] = Low[i];
> > > > PFO[j] = High[i];
> > > > swap = 1;
> > > > }
> > > > }
> > > > if( swap )
> > > > {
> > > > swap = 0;
> > > > if( up )
> > > > {
> > > > up = 0;
> > > > down = 1;
> > > > }
> > > > else
> > > > {
> > > > up = 1;
> > > > down = 0;
> > > > }
> > > > }
> > > > }
> > > >
> > > > // Shift chart to the right to eliminate trailing
empty
> data
> > > > // - PF charts are generally smaller/shorter then the
> full
> > stock
> > > charts because they lack a time scale.
> > > >
> > > > delta = High.length - PFO.length;
> > > > for( i = High.length; i > delta; i-- )
> > > > {
> > > > PFO[ i-1 ] = PFO[ i-delta-1];
> > > > PFC[ i-1 ] = PFC[ i-delta-1];
> > > > }
> > > > for( i = 0; i < delta; i++)
> > > > {
> > > > PFO[ i-1 ] = 0;
> > > > PFC[ i-1 ] = 0;
> > > > }
> > > > AFL.Var("PFO") = PFO;
> > > > AFL.Var("PFC") = PFC;
> > > > %>
> > > >
> > > > O = PFO;
> > > > C = PFC;
> > > >
> > > > H = (O+C)/2;
> > > > L = (O+C)/2;
> > > >
> > > > GraphXSpace = 9;
> > > > Graph0Style = 64;
> > > >
> > > > Graph0Color =1;
> > > > Graph0 = C;
> > > >
> > > > Thanks in advance for any reply.
> > > > Dimitris Tsokakis
> > > >
> > > > Yahoo! Groups Sponsor
> > > >
> > > > Click here to find your contact lenses!
> > > >
> > > > Your use of Yahoo! Groups is subject to the Yahoo!
Terms
> of
> > > Service.
> > >
> > >
> > > Yahoo! Groups Sponsor
> > > ADVERTISEMENT
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> > Service.
> >
> >
> > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> >
> >
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------=_NextPart_001_04B4_01C22F17.7C07E280
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>No apologies necessary, in fact, thanks for the PnF
script. Ingenious piece of work to morph the time plot into a PnF
display.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As will become clear shortly, I am far from a
experienced PnF interpreter. It seems that two parameters significantly
influence the PnF chart, firstly the box-size and the reversal threshold
(3 boxes is common and used in your code.) I have been experimenting with
the box size, and it seems to me that it should be related to the ATR; you use a
fixed ratio of the average price to the magic number 7.3374 which would
seem to be specific to a particular instrument. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have attached a modified version of the code,
fancied up with titles and parameter information that uses the last ATR. I
am not suggesting that this is a good approach - well I suppose I am sayingit
isn't a bad approach - and would appreciate your comments.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Richard</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mirat_dave@xxxx
href="mailto:mirat_dave@xxxx">mirat_dave</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=amibroker@xxxxxxxxxx
href="mailto:amibroker@xxxxxxxxxxxxxxx">amibroker@xxxxxxxxxxxxxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 19, 2002 8:59 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [amibroker] Re: Point &
Figure Chart in AFL</DIV>
<DIV><BR></DIV><TT>Hello Richard and Dimitris,<BR><BR>Sorry to have caused so
much confusion.<BR><BR>Since most stocks since 2000 have been trending down,
you may get a <BR>only a few bars because the P&F Chart ignores smallup
moves and only <BR>extends down bars when the price moves more than the box
size. Since <BR>2000, you may very well have only a few bars. Try
loading more data <BR>for at least one stock.<BR><BR>I used AmiQuote and Yahoo
for the data. I have data from January <BR>1994. The AmiBroker
version on which I created this file is 4.0.0 <BR>Apr 26 2002.<BR><BR>I
do not know if the AmiBroker version is causing the difference. I
<BR>saw that it worked for Richard on MSFT (although I am not sure what
<BR>the whole MSFT v. MSFT issue was - it seems to have resolved
<BR>itself). Perhaps Richard also has more data loaded.<BR><BR>As you
can see from the script, it is very simple. If problems <BR>continue, I
would be happy to go through it in detail to see if there <BR>is a coding
error.<BR><BR>I'm afraid I have no other explanation other than more
data. Let's <BR>try that first.<BR><BR>Mirat<BR><BR>PS I would
post .gifs of my charts but I do not know how to attach a <BR>file to my
reply. Although that would not help resolve the issue.
:-)<BR><BR><BR><BR><BR><BR>--- In amibroker@xxxx, "Richard Alford"
<richard.alford@xxxx> wrote:<BR>> I am just isolating
variables. If we have the same program and <BR>version (4.06.1 Jun 19
build), the same indicator code (this I <BR>confirmed) and same data we should
get the same result. (I continue <BR>to believe in deterministic
computing - probably naive in light of <BR>Microsoft!). The questionable
variable, and a big one, is the data <BR>source - I use qp2. Perhaps
someone using yahoo could compare to <BR>your results?<BR>> <BR>>
<BR>> It does appear that the "box size", the significant change that
<BR>defines an X or O in my understanding, should be normalized to the
<BR>price of the instrument to account for the difference in WCOME <BR>pricing
vs. DJIA, for example. I am referring to the code fragment:<BR>>
<BR>> // Calculate PF Chart Box size and minimum Reverse values<BR>> //
Box = ((tot[i]/(i+1))^.5)/7.3374; <BR>> <BR>>
Cheers,<BR>> <BR>> Richard<BR>> ----- Original Message
----- <BR>> From: dtsokakis <BR>> To:
amibroker@xxxx <BR>> Sent: Wednesday, July 17, 2002 2:49
PM<BR>> Subject: [amibroker] Re: Point & Figure Chart in
AFL<BR>> <BR>> <BR>> Richard,<BR>> YHOO
via Amiquote.<BR>> Why do you think it is a matter of data
provider ?<BR>> Dimitris Tsokakis<BR>> <BR>>
--- In amibroker@xxxx, "Richard Alford" <richard.alford@xxxx>
<BR>wrote:<BR>> > but the point remains that you and I get
different results. <BR>what <BR>> is your data
source?<BR>> > <BR>> >
Richard<BR>> > ----- Original Message -----
<BR>> > From: dtsokakis <BR>>
> To: amibroker@xxxx <BR>> >
Sent: Wednesday, July 17, 2002 1:47 PM<BR>> >
Subject: [amibroker] Re: Point & Figure Chart in AFL<BR>>
> <BR>> > <BR>> >
Richard,<BR>> > ANY other function works just
fine with my valuable Amibroker <BR>> 4.06.<BR>>
> Just fine.<BR>> > I can not see
the reason for this P&F script.<BR>> >
Anyway, the author perhaps could expain.<BR>> >
Dimitris Tsokakis<BR>> > <BR>>
> --- In amibroker@xxxx, "Richard Alford"
<richard.alford@xxxx> <BR>> wrote:<BR>>
> > DT, I agree it was not easy to understand. The
attached <BR>charts <BR>> > showed the TWO
results that were generated whenever I entered <BR>the <BR>>
> symbol MSFT - it appears to be a fluke and I cannot reproduce
<BR>it <BR>> any <BR>> >
longer. Although there is not ticker name in the formula, <BR>there
<BR>> was <BR>> > strange
behavior occurring for MSFT and MSFT only at that
<BR>time.<BR>> > > <BR>>
> > The gist of my reply to you was that using the SAMEcode
as <BR>you <BR>> > posted and using the code I
copied from the files sections, I <BR>> >
generated the same results - and not the results that you <BR>were
<BR>> > creating. That suggests that you
have a problem in your data <BR>> and/or <BR>>
> setup. The only reason for the two codes was to
guarantee <BR>that <BR>> there <BR>>
> wasn't a subtle error - there was not.<BR>>
> > <BR>> > > Sorry for
adding the confusion about the MSFT fluke at the <BR>same <BR>>
> time.<BR>> > >
<BR>> > > Cheers,<BR>>
> > <BR>> > >
Richard<BR>> > > ----- Original
Message ----- <BR>> > > From:
dtsokakis <BR>> > > To:
amibroker@xxxx <BR>> > > Sent:
Wednesday, July 17, 2002 12:47 AM<BR>> >
> Subject: [amibroker] Re: Point & Figure Chart in
AFL<BR>> > > <BR>>
> > <BR>> > >
Richard,<BR>> > > It is not easy
to understand this<BR>> > > "the
plot for MSFT changes when one changes the symbol go <BR>> MSFT
<BR>> > from <BR>>
> > MSFT??? "<BR>>
> > I copied the formula
from<BR>> > > <A
href="http://groups.yahoo.com/group/amibroker/files/Point-Figure">http://groups.yahoo.com/group/amibroker/files/Point-Figure</A><BR>>
> > pasted in my Ind. builder and get the posted
gifs.<BR>> > > No ticker name is
into the formula.<BR>> > > What
is "the two MSFT " ???<BR>> > >
Do you use the same code from the above address??<BR>>
> > DT<BR>> > >
<BR>> > > <BR>>
> > --- In amibroker@xxxx, "Richard Alford"
<BR><richard.alford@xxxx> <BR>> >
wrote:<BR>> > > > Those are
not the figures I generate using the code in <BR>>
> the "files <BR>> >
> section". (Why wasn't this put in the AFL library is a
<BR>> question <BR>> > in
<BR>> > > my
mind???)<BR>> > > >
<BR>> > > > Just noticed that
the plot for MSFT changes when one <BR>> changes
<BR>> > the <BR>>
> > symbol go MSFT from MSFT??? Not the
case for AMZN or <BR>ORCL? <BR>> >
> > <BR>> > >
> I attached the two MSFT for comparison, one is "my" <BR>copy,
<BR>> and <BR>> > the
<BR>> > > other is a copy and
paste of the code in your note. The <BR>>
> difference <BR>> >
> is the quirk in MSFT, not an error in the code you have
<BR>used. <BR>> And <BR>> > DT
<BR>> > > do you really like
black on blue borders? Personally, I <BR>can <BR>>
> never <BR>> > >
read your chart titles.<BR>> > >
> <BR>> > > >
Cheers,<BR>> > > >
<BR>> > > >
Richard<BR>> > > >
<BR>> > > >
<BR>> > > > -----
Original Message ----- <BR>> > >
> From: Dimitris Tsokakis <BR>> >
> > To: amibroker@xxxx <BR>>
> > > Sent: Tuesday, July 16,
2002 1:14 PM<BR>> > >
> Subject: [amibroker] Re: Point & Figure Chart in
AFL<BR>> > > >
<BR>> > > >
<BR>> > > >
Mirat,<BR>> > > >
Here is P&F charts for AMZN, MSFT and ORCL.<BR>>
> > > Data since Jan
2000.<BR>> > > >
Is it the expected picture ?<BR>> >
> > The code, copied from files
section<BR>> > > >
<BR>> > > > // PF
Chart by Mirat Dave<BR>> > >
> // Copy and paste this as a custom
indicator.<BR>> > > >
<BR>> > > >
EnableScript("jscript");<BR>> > >
> <%<BR>> > >
> <BR>> > > >
High = VBArray( AFL( "High" ) ).toArray();<BR>>
> > > Low = VBArray( AFL( "Low" )
).toArray();<BR>> > > >
<BR>> > > > //
Calculate running average stock price for use in <BR>>
> calculating <BR>> >
> the Box size.<BR>> >
> > <BR>> > >
> tot = new Array();<BR>> >
> > tot[0] = (High[0] +
Low[0])/2;<BR>> > >
> for( i=1; i < High.length; i++ )<BR>>
> > > {<BR>>
> > > tot[i] = tot[i-1] +
((High[i] + Low[i])/2);<BR>> > >
> }<BR>> > >
> PFO = new Array();<BR>> >
> > PFC = new Array();<BR>>
> > > <BR>> >
> > // initialize first
element<BR>> > > >
<BR>> > > > j=
0;<BR>> > > >
PFO[j] = High[0];<BR>> > >
> PFC[j] = Low[0];<BR>> >
> > down = 1; // By default the first baris a
down bar.<BR>> > > >
<BR>> > > > up =
0;<BR>> > > > swap
= 0;<BR>> > > >
<BR>> > > > //
perform the loop that produces PF Chart<BR>> >
> > <BR>> > >
> for( i = 1; i < High.length; i++ )<BR>>
> > > {<BR>>
> > > // Calculate PF Chart Box
size and minimum Reverse <BR>values<BR>> >
> > <BR>> > >
> Box = ((tot[i]/(i+1))^.5)/7.3374;<BR>>
> > > Reverse = Box *
3;<BR>> > > > if(
Low[i] < PFC[j] - Box && down)<BR>> >
> > {<BR>> >
> > PFC[j] = Low[i];<BR>>
> > > }<BR>>
> > > else<BR>>
> > > {<BR>>
> > > if( High[i] >= PFC[j] +
Reverse && down)<BR>> > >
> {<BR>> > >
> j++;<BR>> > >
> swap = 1;<BR>> >
> > PFO[j] = Low[i];<BR>>
> > > PFC[j] =
High[i];<BR>> > >
> }<BR>> > >
> }<BR>> > >
> if( High[i] > PFC[j] + Box &&
up)<BR>> > > >
{<BR>> > > >
PFC[j] = High[i];<BR>> > >
> }<BR>> > >
> else<BR>> > >
> {<BR>> > >
> if( Low[i] <= PFC[j] - Reverse &&
up)<BR>> > > >
{<BR>> > > >
j++;<BR>> > > >
PFC[j] = Low[i];<BR>> > >
> PFO[j] = High[i];<BR>> >
> > swap = 1;<BR>>
> > > }<BR>>
> > > }<BR>>
> > > if( swap
)<BR>> > > >
{<BR>> > > > swap
= 0;<BR>> > > >
if( up )<BR>> > >
> {<BR>> > >
> up = 0;<BR>> > >
> down = 1;<BR>> >
> > }<BR>> >
> > else<BR>> >
> > {<BR>> >
> > up = 1;<BR>> >
> > down = 0;<BR>>
> > > }<BR>>
> > > }<BR>>
> > > }<BR>>
> > > <BR>> >
> > // Shift chart to the right to eliminate
trailing <BR>empty <BR>> data<BR>>
> > > // - PF charts are
generally smaller/shorter then the <BR>> full
<BR>> > stock <BR>>
> > charts because they lack a time
scale.<BR>> > > >
<BR>> > > > delta
= High.length - PFO.length;<BR>> >
> > for( i = High.length; i > delta; i--
)<BR>> > > >
{<BR>> > > > PFO[
i-1 ] = PFO[ i-delta-1];<BR>> > >
> PFC[ i-1 ] = PFC[ i-delta-1];<BR>>
> > > }<BR>>
> > > for( i = 0; i < delta;
i++)<BR>> > > >
{<BR>> > > > PFO[
i-1 ] = 0;<BR>> > >
> PFC[ i-1 ] = 0;<BR>> >
> > }<BR>> >
> > AFL.Var("PFO") = PFO;<BR>>
> > > AFL.Var("PFC") =
PFC;<BR>> > > >
%><BR>> > > >
<BR>> > > > O=
PFO;<BR>> > > > C
= PFC;<BR>> > > >
<BR>> > > > H=
(O+C)/2;<BR>> > >
> L = (O+C)/2;<BR>> >
> > <BR>> > >
> GraphXSpace = 9;<BR>> >
> > Graph0Style = 64;<BR>>
> > > <BR>> >
> > Graph0Color =1;<BR>>
> > > Graph0 =
C;<BR>> > > >
<BR>> > > > Thanks
in advance for any reply.<BR>> >
> > Dimitris Tsokakis<BR>>
> > > <BR>> >
> > Yahoo!
Groups Sponsor <BR>> > > >
<BR>> > >
> Click here to find your
contact lenses! <BR>> > > >
<BR>> > > > Your
use of Yahoo! Groups is subject to the Yahoo! <BR>Terms <BR>>
of <BR>> > >
Service.<BR>> > > <BR>>
> > <BR>> >
> Yahoo! Groups Sponsor
<BR>> >
>
ADVERTISEMENT<BR>> >
>
<BR>> >
> <BR>>
> > <BR>> > >
Your use of Yahoo! Groups is subject to the Yahoo! Terms <BR>of
<BR>> > Service.<BR>> >
<BR>> > <BR>>
> Yahoo! Groups Sponsor
<BR>>
>
ADVERTISEMENT<BR>>
>
<BR>> >
<BR>> > <BR>> > Your use of
Yahoo! Groups is subject to the Yahoo! Terms of <BR>>
Service.<BR>> <BR>>
<BR>> Yahoo! Groups Sponsor
<BR>>
ADVERTISEMENT<BR>>
<BR>> <BR>>
<BR>> Your use of Yahoo! Groups is subject to the Yahoo! Terms
of <BR>Service.<BR><BR></TT><BR><BR><TT>Your
use of Yahoo! Groups is subject to the <A
href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</A>.</TT>
<BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_001_04B4_01C22F17.7C07E280--
Attachment:
zip00020.zip
Attachment:
Description: "Description: Zip compressed data"
|