PureBytes Links
Trading Reference Links
|
Ed and
Dimitris,
<FONT color=#000080
size=2>
Thank you both
for your help. It shows what a great community this is and shows there is
more than one way to code a solution !
<FONT face="Vladimir Script" color=#000080
size=5>Rick
<FONT face=Tahoma
size=2>-----Original Message-----From: Sharps_45_70
[mailto:sharps_45_70@xxxx]Sent: Thursday, June 27, 2002 3:52
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]Re:
Highest High YesterdayThis seems to
work.Ed/////// Drop into indicator
builder///////x=BarsSince(DateNum()==Ref(DateNum(),-1));y=BarsSince(DateNum()==Ref(DateNum(),-2));Hmax=Ref(HHV(H,x),-y);Graph0=H;Graph1=Hmax;////////////////////////////////////////////Check
in AA that ref(,-1) ignores weekend
///x=BarsSince(DateNum()==Ref(DateNum(),-1));//y=BarsSince(DateNum()==Ref(DateNum(),-2));//Hmax=Ref(HHV(H,x),-y);Graph0=H;Graph1=Hmax;Filter=DayOfWeek()
== 1;AddColumn( DateNum(), "DateNum", 1 );AddColumn(
Ref(DateNum(),-1), "DateNum", 1
);/////////////////////////////////////////////Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|