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

Re: Plotting horizontal lines for one day only.



PureBytes Links

Trading Reference Links

Thanks,  this looks alot easier.  But the next day I'll input new figures
for the lines and I'd like the previous days' lines to remain on the
yesterdays' chart only while todays' lines are different.  Could I use
something like "If dayofweek=1 then begin" so if it were Monday there would
be a plot.  If this worked then each day I could input a different number to
get that day's plot.  Sounds pretty cumbersome but I do have to change the
other inputs each day so why not?  What would be the correct way to do this?

John


----- Original Message -----
From: "Mike Eggleston" <mikee@xxxxxxxxxxxx>
To: "Jbclem" <jbclem@xxxxxxxxxxxxx>
Cc: <omega-list@xxxxxxxxxx>
Sent: Monday, November 18, 2002 7:28 PM
Subject: Re: Plotting horizontal lines for one day only.


> On Mon, 18 Nov 2002, Jbclem wrote:
>
> > I'd like to plot 3 horizontal lines on a chart, with inputs that I would
> > change each day), and I'd like them to cover market hours only(E-mini
from
> > 6:30 PST to 1:15 PST) each day.  This is what I have so far, but it
doesn't
> > pass
> > verification...
> >
> > Inputs: Pitbull(900),
> >            ValArTop(895),
> >            ValArBot(890);
> >
> > IF CurrentBar=1 and IF Date>Date[1] then Begin
> > Value1= Pitbull;
> > Value2=ValArTop;
> > Value3=ValArBot;
> > End;
> >
> > Plot1(Value1,"PitBullAvg");
> > Plot2(Value6="ValueAreaTop");
> > Plot3(Value7="ValueAreaBottom")
> >
> >
> > The IF Current Bar and IF Date>Date[1] were snipped from different lines
in
> > another ela.  I don't really know how to use them or the Value1...Value3
> > below.  Would someone set me straight on this.
>
> Is this what you're looking for:
>
> inputs: pitbull(800), valartop(895), valarbot(890);
>
> if time >= 630 and time <= 1315 then begin
> plot1(pitbul);
> plot2(valartop);
> plot3(valarbot);
> end;
>