等级: 专业版
- 注册:
- 2022-1-11
- 曾用名:
|
楼主 |
发表于 2024-8-21 11:49
|
显示全部楼层
我没有使用市价开仓
IF CONDKD and tbc and wpdk and abb THEN
BEGIN
开多:tbuy(tbuyholding(1)=0 and tsellholding(1)=0,ss,lmt,DYNAINFO(28)),ORDERQUEUE; //开多
end;
//开空-------------------------------------------------------------------------------------------------------------------------------------------------------------------
IF CONDKK and tbc and wpdk and abb THEN
BEGIN
开空:tbuyshort(tsellholding(1)=0 and tbuyholding(1)=0 ,ss,lmt,DYNAINFO(34)),ORDERQUEUE; //开空
end; |
|