以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 请教专家们 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=25356) |
-- 作者:kongfzchina -- 发布时间:2012/9/10 20:57:13 -- 请教专家们 A是买开卖平条件 B是卖开卖平条件 请专家们看看下面的下单控制(抄别的公式)是不是对的,是不是单反了或有什么明显错误。最好翻译一下
longcond:=A; shortcond:=B
if holding=0 then begin if holding>0 then begin if holding<0 then begin |
-- 作者:kongfzchina -- 发布时间:2012/9/10 21:11:10 -- 请专家能解释一下上面的语句 |
-- 作者:jinzhe -- 发布时间:2012/9/11 9:15:31 -- 请教一个统计数据的编写
shortcond:=B;//做空条件
if holding=0 then begin if holding>0 then begin if holding<0 then begin |
-- 作者:kongfzchina -- 发布时间:2012/9/11 10:05:08 -- 谢谢老师 |