Rss & SiteMap

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

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

标题:均线公式

1楼
YQW 发表于:2013/8/20 11:12:05

input:m(5),n(20);
ma5:ma(c,m);
ma10:ma(c,n);

if cross(ma5,ma10) then begin
 sellshort(holding<0,0,thisclose);
 buy(holding=0,0,thisclose);
end

if cross(ma10,ma5) then begin
 sell(holding>0,0,thisclose);
 buyshort(holding=0,0,thisclose);
end


请帮忙增加下面内容到上面公式中:
一根K线可以执行多个信号。谢谢
2楼
jinzhe 发表于:2013/8/20 11:14:34
用IE发帖,其他浏览器发帖,有一定几率会看不到发帖内容
3楼
YQW 发表于:2013/8/20 11:31:30
请帮忙解决一下上面公式,谢谢
4楼
fly 发表于:2013/8/20 15:40:04

您之前帖子提到的日线均线开平仓的问题,没办法帮您解决,抱歉

5楼
YQW 发表于:2013/8/20 16:06:00
60分钟线上行吗?
共5 条记录, 每页显示 10 条, 页签: [1]


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