Rss & SiteMap

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

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

标题:请老师帮看看

1楼
诚锋破浪 发表于:2017/6/30 10:31:29
if cross(c,ma(c,60)) and c>o then buy(1,1,marketr)

if cross(ma(c,60),c) and c<o then buyshort(1,1,marketr)
老师好~请吧上面源码加上反手指令~原理是六十日均线上阳线开仓~破六十日均线大阴线平仓并反手开空仓~加反手指令~多谢
2楼
qq代人发帖 发表于:2017/6/30 10:55:40

if  cross(c,ma(c,60)) and  c>0 then  sellshort(holding<0,holding,market); buy(1,1,marketr) ;

if cross(ma(c,60),c) and c<o then  sell(holding>0,holding,market);  buyshort(1,1,marketr);

 


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


Powered By Dvbbs Version 8.3.0
Processed in 0.03125 s, 2 queries.