你好
觸發K下根收至觸發一半以下即平倉,實際發生不正確,請指正,謝謝
5分鐘當沖
var:KN(0);
condition1=c cross Over average(c,5);
if condition1 then begin setposition(+1);
if position>0 then
begin
kn=KN+1;
end
Else
begin
KN=0;
end;
condition2=kn=2 and c<(H[1]+L[1])*0.5;
if position>0 and condition2 then setposition(0,market);
End;
;
1 評論