Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
在图表程序化交易中,开仓后,只要亏损5个点位就无条件止损。
请问:如何用语句实现?
谢谢。
if holding>0 and close<enterprice-5 then sell(1,0,market);
if holding<0 and close>enterprice+5 then sellshort(1,0,market);