| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi Guys,
I have a formula below that calculates a value. What the formula is 
supposed to do is become true when tmp>120 and hold true until tmp drops 
below 80. The formula is only working as expected after the crossB80 has 
been set.
I added firstOccurance and I thought this would have resolved the 
problem but it didnt. I plotted firstOccurance on a chart and it looked ok.
I was wondering if anyone can see anything stupid here that I have done? 
The sinceB80 is not defined so I have tryed to say if sinceA120 is 
defined and sinceB120 is not defined.
Thanks Steve
tmp:=Fml("AHull - ActVest - RoAR - Daily");
sinceA120:=BarsSince(Cross(tmp,120));
sinceB80  :=BarsSince(Cross(80,tmp));
sinceM120:=BarsSince(Cross(tmp,120));
sinceM80  :=BarsSince(Cross(80,tmp));
firstOccurance:=sinceA120>=0 AND
  IsUndefined( sinceB80 );
If(firstOccurance OR sinceA120<sinceB80,1,0);
------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 
 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |