It does not work. I tried with Highest / lowest and maxlist / minlist.
this code
Code: Select all
VARS:HIGH3D(-99999999),LOW3D(99999999);
HIGH3D=maxlist(HIGHD(0),HIGHD(1),HIGHD(2));
LOW3D=MINLIST(L,L[1],L[2]);
if low<LOW3D then begin
SetPlotBGColor(3,red);
plot3("High3","L3");
end;
if High> HIGH3D then begin
SetPlotBGColor(4,green);
plot4("Low3","H3");
end;
But if you mean the first working day
it' ok
Code: Select all
VARS:HIGH3D(-99999999),LOW3D(99999999);
HIGH3D=maxlist(HIGHD(0),HIGHD(1),HIGHD(2));
LOW3D=MINLIST(L,L[1],L[2]);
plot3("-","L3");
plot4("-","H3");
if low<LOW[1] then begin
SetPlotBGColor(3,red);
plot3("High3","L3");
end;
if High> HIGH[1] then begin
SetPlotBGColor(4,green);
plot4("Low3","H3");
end;