以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  求助:止损  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=48043)

--  作者:疯味小痴
--  发布时间:2013/1/24 17:26:38
--  求助:止损
开仓信号都是收盘价,我想在开盘价上做个止损,另外止盈在利润20点以上止盈怎么写
--  作者:jinzhe
--  发布时间:2013/1/25 8:51:37
--  
if c-enterprice>20*mindiff then sell(holding>0,0,limitr,open);