作者anygod (GDP)
看板Trading
标题[问题] 为啥这样的逻辑还会在同一根k线进出场
时间Wed Nov 12 11:20:39 2008
如题
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;
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.87.144.114
1F:推 tedinroc:用TS的话,同一根进出场会解决就没啥问题... 11/12 15:00