為啥這樣的邏輯還會在同一根k線進出場 - 財經

Table of Contents

如題

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

Daph Bay avatarDaph Bay2008-11-14
用TS的話,同一根進出場會解決就沒啥問題...