PureBytes Links
Trading Reference Links
|
Could someone get this to verify in 2000i???
Mine wigs out starting with the first line.
No, I'm not that E.L. savy. Grin
Plot1(CCI(CCILength), "CCI" );
Plot2(CCI(CCILength), "CCIhist" );
Plot3(CCI(CCILength2), "CCI2" );
Plot4(0,"ZeroLine");
if plot1 > plot1[1] then setplotcolor[1](1,up);
if plot1 < plot1[1] then setplotcolor[1](1,down);
if lowest(plot2,BarsAboveBelow0) >= 0 then
begin
condition1 = true;
condition2 = false;
end;
if highest(plot2,BarsAboveBelow0) <= 0 then
begin
condition1 = false;
condition2 = true;
end;
if plot2[1] crosses above 100 then begin
condition3 = true;
condition4 = false;
end;
if plot2[1] crosses below -100 then begin
condition3 = false;
condition4 = true;
end;
if condition1 then if condition3 then SetPlotColor(2,Longs) else
SetPlotColor(2,Above0);
if condition2 then if condition4 then SetPlotColor(2,Shorts) else
SetPlotColor(2,Below0);
|