等级: 免费版
- 注册:
- 2021-7-30
- 曾用名:
|
楼主 |
发表于 2021-8-16 07:36
|
显示全部楼层
a10:="jxjdchol.ma20h#min15" >2.5;
a11:="jxjdchol.ma20h#min30">3;
a20:="jxjdchol.ma20h#min15"<0;
if a10 then begin
buy( a10 and holding=0 ,1 ,market),IGNORECHECKPRICE;
sell( a20 ,0,market),IGNORECHECKPRICE;
END
if a10 and a11 then begin
buy( a10 and a11 and holding=0 ,3 ,market),IGNORECHECKPRICE;
sell( a20 ,0,market),IGNORECHECKPRICE;
end
b10:="jxjdchol.ma20l#min15" <-2.5;
b11:= "jxjdchol.ma20l#min30"<-3;
b20:="jxjdchol.ma20l#min15">0 ;
if b10 then begin
buyshort( b10 and holding=0 ,1 ,market),IGNORECHECKPRICE;
sellshort( b20 ,0,market),IGNORECHECKPRICE;
end
if b10 and b11 then begin
buyshort( b10 and b11 and holding=0 ,3 ,market),IGNORECHECKPRICE;
sellshort( b20 ,0,market),IGNORECHECKPRICE;
end
|
|