Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:请问夜盘持仓,到第二天开盘9点01分平仓,怎么描述。

1楼
qq代人发帖 发表于:2020/6/17 10:33:37
请教:夜盘持仓,到第二天开盘9点01分平仓,怎么描述。
2楼
FireScript 发表于:2020/6/17 10:54:36
 d:=STRLEFT(NUMTOSTR(time,0),2)='13';
cd:d and not(ref(d,1)) and time>=130000;//白盘第一个K满足此条件

if cd and holding<>0 then
begin
 sell(holding>0,holding,market);
sellshort(holding<0,holding,market);
end
共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.03003 s, 3 queries.