Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
固定止盈止损怎么编写?
例如:cross(MA1,MA2)开仓后 盈利x点后就止盈,亏损x点就止损 以收盘价为准,或以触位价。 多空分开写
if holding>0 and close-enterprice>=x then sell(1,0,thisclose);
if holding<0 and enterprice-close>=x then sellshort(1,0,thisclose);
使用走完k线模式进行下单