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

naming plot1 different names in different conditions



PureBytes Links

Trading Reference Links

Is that possible?

For example;

input: y(0);

if y=1 then begin
plot1 (xaverage(c,3),"three");
end;

if y=2 then begin
plot1 (xaverage(c,5),"five");
end;

When I try to verify, it tells me the plot has already been assigned a 
name. Is there any way I can get around this without having to use two plots?