以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  [求助]请问设8个点止损,程序该怎么写??  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=30916)

--  作者:newsteve
--  发布时间:2012/11/26 18:47:23
--  [求助]请问设8个点止损,程序该怎么写??

请问设8个点止损,程序该怎么写??

还有,这编写有模式限制吗?


--  作者:jinzhe
--  发布时间:2012/11/27 9:02:07
--  邮件问题

if c-enterprice>8*mindiff then sellshort(1,0,market);//空头止损

if enterprice-c>8*mindiff then sell(1,0,,market);//多头止损