收集:中国股票市场经济分析网


   先建一个公式“ZMACD”:
{ZMACD}
DIFF : EMA(CLOSE,25) - EMA(CLOSE,65);
DEA : EMA(DIFF,45);

上面公式要单独建,建好后,再建一个公式“牛股战法”:
{{牛股战法}}
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
牛股攻击 : 2*(DIFF-DEA), COLORSTICK;
stickline(牛股攻击>ref(牛股攻击,1) and diff>dea,牛股攻击,0,10,0),COLORRED;
stickline(牛股攻击>ref(牛股攻击,1) and diff>dea,牛股攻击,0,1,0),coloryellow;
A:"zMACD.DIFF#WEEK",LINETHICK2;
B:"zMACD.DEA#WEEK",LINETHICK2;
PARTLINE(a<ref(a,5),a)linethick2,colorblue;

发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口


相关内容


  • 上一篇教程:
  • 下一篇教程: