以文本方式查看主题

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

--  作者:pyfans27
--  发布时间:2016/11/29 21:43:46
--  浮动盈亏止盈
一旦有浮盈后,浮盈回撤超过20%就止盈,怎么写
--  作者:jinzhe
--  发布时间:2016/11/30 9:06:04
--  

if openprofit>0 and openprofit<=hhv(openprofit,enterbars+1)*0.8 then 平仓语句