PureBytes Links
Trading Reference Links
|
Thanks Jim and those who responded.
The problem remains. Although the solutions offered will
start the plot from the second day loaded in the chart, the
plot doesn't start at zero because it includes data from the first day
in the chart. I need the first day in the chart so that I can reference
what the price close was for that day.
I would highly appreciate any further suggestions.
the indicator is:
plot1(cum(upticks - downticks),"cum tick net");
----- Original Message -----
From: Jim <jimo@xxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>; <vrasys@xxxxxxxxxxxx>
Sent: Tuesday, December 18, 2001 4:20 PM
Subject: Re: Plotting indicator from the second day loaded in the chart
> Vitas <vrasys@xxxxxxxxxxxx> writes:
> >With four days of 1 minute bars loaded how do I get this indicator
> >to start plotting on the second day, so that the plot is of the second,
> >third, and fourth days, and does not include the first day in any way?
>
> var: daycount(0);
>
> {Note the start of each new day}
> if date <> date[1] then
> daycount = daycount + 1;
>
> {Start plotting your indicator after the chosen day}
> if daycount > 0 then begin
> plot(...);
> blah blah blah...
> end;
>
|