PureBytes Links
Trading Reference Links
|
Duh...sorry.....I was calculating off a high of 90 not
90.50.........wood/trees etc
back into my cave....
----- Original Message -----
From: "Pedro A" <petawas@xxxxxxxxxxx>
To: <pnixon@xxxxxxxxxxxxxxxx>; <omega-list@xxxxxxxxxx>
Sent: Tuesday, August 08, 2000 9:49 AM
Subject: Re: Code confusion
> Actually its math confusion. TS is right not to plot...
>
> Pistol Pete
>
> >From: "Philip Nixon \(24-7\)" <pnixon@xxxxxxxxxxxxxxxx>
> >I have a paint bar that shows me when we have had an 80/20 trend day
(open
> >in bottom 20%, close on top 20%) which is as follows (Paint bar and
> >function). Yesterday's day session in the SP had OHLC (according to
> >Futuresource) as 1473.50/1490.50/1470.50/1486.20.
>
> 1486.20 is 23.5% off the high of the range
>
> Yet the paint bar did not
> >trigger. I have not noticed a failure to trigger before and I have been
> >using it for 3 to 4 years now. Any ideas what may be wrong or is this
> >just
> >a TS gremlin.........?
> >
> >thanks
> >
> >Philip
> >
> >
> >
> >INPUT:PCNT(80);
> >
> >IF SETUP8020(PCNT)=1 OR SETUP8020(PCNT)=-1 THEN BEGIN
> > PLOT1(H,"80-20");
> > PLOT2(L,"ANY80-20");
> >END;
> >
> >===============
> >
> >INPUT:PCNT(NUMERICSIMPLE);
> >
> >VAR:SET(0),FACT(0);
> >
> >FACT=MAXLIST(PCNT,100-PCNT)*.01;
> >SET=0;
> >IF OPEN>=(FACT*H)+((1-FACT)*L) AND C<=(FACT*L)+((1-FACT)*H) THEN SET=1;
> >IF OPEN<=(FACT*L)+((1-FACT)*H) AND C>=(FACT*H)+((1-FACT)*L) THEN SET=-1;
> >
> >SETUP8020=SET;
> >
> >
> >
>
|