以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://www.weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://www.weistock.com/bbs/list.asp?boardid=4) ---- 10点止损怎么写? (http://www.weistock.com/bbs/dispbbs.asp?boardid=4&id=180597) |
-- 作者:tonyzhu -- 发布时间:2020/6/16 6:47:47 -- 10点止损怎么写? 开仓后,10点止损怎么写? |
-- 作者:FireScript -- 发布时间:2020/6/16 9:15:18 -- if c-ENTERPRICE>=10*MINDIFF and holding<0 then sellshort(holding<0,holding,market); if ENTERPRICE-c>=10*MINDIFF and holding>0 then sell(holding>0,holding,market); |