Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:委托价格语句编写

1楼
phone14 发表于:2014/10/8 20:49:33
金币购买帖,请进入完整模式浏览!
2楼
jinzhe 发表于:2014/10/9 8:48:18

ma5:=ma(c,5);

ma10:=ma(c,10);

if cross(ma5,ma10) then begin

    sellshort(holding<0,0,limitr,close+0.4);

    buy(holding=0,1,limitr,close+0.4);

end

 

if cross(ma10,ma5) then begin

    sell(holding>0,0,limitr,close+0.4);

    buyshort(holding=0,1,limitr,close+0.4);

end

共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.01172 s, 3 queries.