请帮助编写模型: 谢谢
开仓:1. 以最新价买多(超价+2个点)只开仓一次;2.以最新价市价买多的模型,只开仓一次;
止损:低于成交价3个点止损。
variable:a=0,b=0;
if a=0 then begin
buy(1,1,limitr,c+2*mindiff);
a:=1;
end
if b=0 then begin
buy(1,1,market);
b:=1;
end
if c-enterprice>3*mindiff and holding<0 then sellshort(1,0,market);
if enterprice-c>3*mindiff and holding>0 then sell(1,0,market);
jinzhe |
老师我5楼问的你们可不可以编模型吗 另外如果能编 我想发短信给你们 不知道可以吗