以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 金字塔软件问题提交 (http://weistock.com/bbs/list.asp?boardid=2) ---- 请问高手:我的介入价止损代码对不对,是不是这样写 (http://weistock.com/bbs/dispbbs.asp?boardid=2&id=11580) |
-- 作者:wphxl -- 发布时间:2012/5/9 10:34:24 -- 请问高手:我的介入价止损代码对不对,是不是这样写 //建立多头的进场条件 if long then //开空条件 if short then //画出空头的止损线 //收盘前5分钟平仓 |
-- 作者:jinzhe -- 发布时间:2012/5/9 10:38:37 -- 把止损单独写出来,和收盘前平仓那样 |
-- 作者:saintlucifer -- 发布时间:2012/5/9 15:34:09 -- 尽量不要用buy跟sell里面的止损指令,这个需要交易所支持的,外盘的大部分支持,但是国内的就大部分不支持,下了指令也没用,单子发不到交易所的,止损最好就像楼上说的,单独写出来作为一个平仓条件用 |