当前位置:→ 乐天使fun88网金字塔公式 → 正文
  • 金字塔MACD动量突破主图源码

  • 相关简介:金字塔MACD动量突破主图源码 很多都是以前写的指标 现在没事拿来分享的,就没精力去做太多说明啦!我大概就在软件上运行下截图给大家吧! 有兴趣的自己拿去优化 runmode:0; input:p(26,20,100,8); input:s(12,5,40,4); input:m(9,2,60,6); variable:myasset=300000; diff:=ema(close,s)-ema(close,p); dea:=ema(diff,m); macd:=2*(diff-dea); ent

  • 文章来源:乐天使fun88网发布时间:2016-02-24浏览次数:下载次数:0收藏:

金字塔MACD动量突破主图源码

很多都是以前写的指标 现在没事拿来分享的,就没精力去做太多说明啦!我大概就在软件上运行下截图给大家吧!
 有兴趣的自己拿去优化

runmode:0;
 input:p(26,20,100,8);
 input:s(12,5,40,4);
 input:m(9,2,60,6);
 variable:myasset=300000;
 diff:=ema(close,s)-ema(close,p);
 dea:=ema(diff,m);
 macd:=2*(diff-dea);
 entertime:=time>=091000 and time<=145500;
 exittime:=time>=150000;
 buycond:=ref(cross(macd,0),1);
 sellcond:=ref(cross(0,macd),1);
 if holding=0 then begin
 if buycond then
   buy(1,1,limitr,open);
 end
 if holding=0 then begin
 if sellcond then
   buyshort(1,1,limitr,open);
 end
 if holding>0 then begin
 if exittime then
   sell(1,holding,limitr,close);

 if sellcond then begin
   sell(1,holding,limitr,open),orderqueue;
   buyshort(1,1,limitr,open),orderqueue;
 end
 end
 if holding<0 then begin
 if exittime then
   sellshort(1,holding,limitr,close);
  
 if buycond then begin
   sellshort(1,holding,limitr,open),orderqueue;
   buy(1,1,limitr,open),orderqueue;
 end
 end
 if exittime then
 myasset:=asset;

收益:myasset,noaxis,colormagenta;
次数:totaltrade,linethick0;
胜率:percentwin,linethick0;
连亏:maxseqloss,linethick0;
连赢:maxseqwin,linethick0;

金字塔MACD动量突破主图源码

金字塔MACD动量突破主图源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

乐天使fun88网粉丝必读
公式解密、改选股联系QQ:78858997(有偿服务)点击查看详情...
乐天使fun88网指标公式帮助使用说明!新手必读...
乐天使fun88网新系统使用说明!新手必读...
乐天使fun88网VIP用户组必读...
说说看法 0
推荐资源

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - SiteMap - TOP
Copyright © 2020 铭网科技,All Rights Reserved.
本站所有广告和与乐天使fun88网均无关系,请股友自行判断真假!乐天使fun88网客服QQ:78858997
乐天使fun88网乐天使fun88软件下载中心
乐天使fun88网乐天使fun88书籍下载中心