飞狐玄黄CCI指标公式
2014-11-20 21:09:45点击:
N1:=3;
N2:=5;
200 pointdot,linethick2 colorbbbbbb;
-200 pointdot,linethick2 colorcyan;
TYP := (HIGH + LOW + CLOSE)/3;
JG1:=(TYP-MA(TYP,N1))/(0.015*AVEDEV(TYP,N1));
JG2:=(TYP-MA(TYP,N2))/(0.015*AVEDEV(TYP,N2));
JGA:=EMA(JG1,13 );
JGB:=EMA(JG2,13);
aa:=cross(jg2,-200) and jg1>-100;
s1:stickline(jga> jgb,jga,jgb,6,1) colorred;
s2:stickline(jga< jgb,jgb,jga,6,1) colorgreen;
drawtext(cross(jgb,jga)and jgb>0,150,'$逃顶')linethick2 ,color9999ff;
drawtext(filter(aa,5)=1,0,'$抄底')linethick2, coloryellow;
stickline(cross(jgb,jga)and jgb>0,80,200,10,0),colorgreen ;
stickline(filter(aa,5)=1,0,-200,10,0),colorred;
N2:=5;
200 pointdot,linethick2 colorbbbbbb;
-200 pointdot,linethick2 colorcyan;
TYP := (HIGH + LOW + CLOSE)/3;
JG1:=(TYP-MA(TYP,N1))/(0.015*AVEDEV(TYP,N1));
JG2:=(TYP-MA(TYP,N2))/(0.015*AVEDEV(TYP,N2));
JGA:=EMA(JG1,13 );
JGB:=EMA(JG2,13);
aa:=cross(jg2,-200) and jg1>-100;
s1:stickline(jga> jgb,jga,jgb,6,1) colorred;
s2:stickline(jga< jgb,jgb,jga,6,1) colorgreen;
drawtext(cross(jgb,jga)and jgb>0,150,'$逃顶')linethick2 ,color9999ff;
drawtext(filter(aa,5)=1,0,'$抄底')linethick2, coloryellow;
stickline(cross(jgb,jga)and jgb>0,80,200,10,0),colorgreen ;
stickline(filter(aa,5)=1,0,-200,10,0),colorred;
- 上一篇:飞狐金兰穿越主图指标公式 2014/11/20
- 下一篇:飞狐冰城渔民主图指标公式 2014/11/20