老师 请问图表系统想设置盈利10个点就平仓 怎么写 谢谢
老师 按照以上写法怎么做不到10个点平仓 有时100多个有时几十个点平仓 新图表系统 请问是不是我什么地方没有搞对?
if D9<=0 then begin
sellshort(1,holding,thisclose),orderqueue;
buy(holding=0,ss,thisclose),orderqueue;
end
if D9>0 then begin
sell(1,holding,thisclose),orderqueue;
buyshort(holding=0,ss,thisclose),orderqueue;
end
if c-enterprice>=10 and holding>1 then begin
end
if enterprice-c>=10 and holding<1 then begin
end