Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
例如:螺纹现在是持有多单,目前的价格是3556最高,
反过来.例如白银现在持有空单.最低价格是4197.设置4190作为一个参照价格.当价格回撤到4170止赢.
if holding>0 and c<=ceiling(hhv(h,enterbars+1)/10)*10-20 then sell(1,0,market);
if holding<0 and c>=floor(llv(l,enterbars+1)/10)*10-20 then sellshort(1,0,market);