[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: System tester question



PureBytes Links

Trading Reference Links

I pasted this into Indicator builder (6.52 EOD) & dragged it into the
pricchart, but no plot appeared, except in the title bar.  Is something
missing, in either the code or the data (which is TC2000 export data)?

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of whardy@xxxxxxx
Sent: Thursday, April 27, 2000 8:01 AM
To: metastock@xxxxxxxxxxxxx
Subject: RE: System tester question


That was EXACTLY what I needed, thank you very much!

Bill


> ** Original Subject: RE: System tester question
> ** Original Sender: iamken <iamken@xxxxxxxxxxxxxxx>
> ** Original Date: Thu, 27 Apr 2000 08:27:42 -0500 (CDT)

> ** Original Message follows...

>
> whardy@xxxxxxx wrote:
>
> > If I wanted to set up an indicator that plotted the high and low prices
of the first hour of
> > EACH day and then plotted that as two straight horizontal lines at the
designated prices
until
> > the next day, is that possible?  It would not need to retain the
previous days level, just
replot
> > after the first hour on intraday charts to the high/low of the first
hour.
> >
> > Thanks,
> >
> > Bill Hardy
>
> Bill,
>
> If this isn't what you need let me know.
>
> Regards,
> Ken
>
> {Intra 1st Hour (or anytime) Breakout}
>
> MktStart:=Hour()<Ref(Hour(),-1);
> BrkOutHour:=Input("Breakout hour",1,24,10);
> BrkOutMin:=Input("Breakout minute",0,59,30);
> BrkOutTime:=Hour()=BrkOutHour AND
>             Minute()=BrkOutMin;
> y:=HighestSince(1,MktStart,H);
> z:=LowestSince(1,MktStart,L);
> ValueWhen(1,BrkOutTime,y);
> ValueWhen(1,BrkOutTime,z);


>** --------- End Original Message ----------- **

>