如題
if close cross below av then begin
if av < av[1] and slope < slope[1] then begin
sell("S") at close;
TL=-1;
end;
end;
if TL <= -1 then begin
if close < Downband and bias < average(bias,length)*1.01 and entryprice <> close then begin
exitshort("EXS") at close;
TL=0;
end;
end;
--
if close cross below av then begin
if av < av[1] and slope < slope[1] then begin
sell("S") at close;
TL=-1;
end;
end;
if TL <= -1 then begin
if close < Downband and bias < average(bias,length)*1.01 and entryprice <> close then begin
exitshort("EXS") at close;
TL=0;
end;
end;
--
All Comments