以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 请求技术部门老师解决 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=99977) |
-- 作者:心静a -- 发布时间:2016/7/2 22:18:29 -- 请求技术部门老师解决 老师好,我是一名缴费用户,现请求技术部门老师,帮助限止一根K线上多次开平仓,
现请求老师限止第2次开平仓,也就是说在一根K线上只能反手开平仓一次,
if 限价条件 and holding<0 then begin if 前一周期开平仓条件 and holding=0 then begin if 前一周期开平仓条件 and holding>0 then begin if 限价条件 and holding>0 then begin if 前一周期开平仓条件 and holding=0 then begin if 限价条件 and holding=0 then begin |
-- 作者:jinzhe -- 发布时间:2016/7/4 9:13:39 -- 把代码都贴一下,我做本地测试 |