if holding<0 then begin
if swing then begin
if high>=enterprice+swingprotstop then
sellshort(1,holding,limitr,max(open,enterprice+swingprotstop));
end else begin
if high>=ma1 then
sellshort(1,holding,limitr,max(open,ma1));
end
end
end
请版主修改一下在sellshort条件下的声音提示。(在图表下,而不是成交提示)谢谢!!
请版主修改一下在sellshort条件下的声音提示。(在图表下,而不是成交提示)谢谢!!
if holding>0 then begin
if low<=swingsellpt then begin
sell(1,holding,limitr,min(open,swingsellpt));
buyshort(1,1,limitr,min(open,swingsellpt));
swing:=true;
end
end
在buyshort加一个就好了。