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

how to mark one minute from the next?



PureBytes Links

Trading Reference Links

Hi,

I am plotting multiple values in the same indicator and I want plot3() to
be plot1[1], and that's fine, but I want plot3() to change colors
every bar. I tried

vars: flip(0);

if flip = 0 then begin
	setplotcolor(3, lightgray);
	flip = 1;
end else begin
	setplotcolor(3, cyan);
	flip = 0;
end;

But this changes plot color on every tick rather than every bar.
How do I do each minute/bar?

Mike