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

Plotting horizontal lines for one day only.



PureBytes Links

Trading Reference Links

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.

Thanks,  John