通达信喇叭花指标公式

2013-04-09 09:04:00来源:本站整理浏览:494

N:=5;N1:=12;N2:=26;N3:=7;N4:=-24;
O2: 0;
Var1:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
Var2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Var3:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
Var4:=VOL/CAPITAL*100;
上轨道: SUM(Var4,30),colorffcccc;
下轨道: REVERSE(SUM(Var4,30)),colorffcccc;
Var5:=Var1/下轨道;
DIFF: (EMA(CLOSE,N)-EMA(CLOSE,N2))*100,colorffcc66;
DEA: EMA(DIFF,N3),colorred;
Var6:=2*(DIFF-DEA);
DIFF2: REVERSE(EMA(CLOSE,N)-EMA(CLOSE,N2))*100,colorffcc66;
DEA2: EMA(DIFF2,N3),colorred;
Var7:=2*(DIFF2-DEA2);
STICKLINE(CROSS(DIFF,DEA) AND Var3<N4 AND DIFF2>78,DEA,DEA2,10,0),color00ff00;
STICKLINE(CROSS(DIFF,DEA) AND Var3<N4,30,-30,10,0),colorff00ff;
STICKLINE(DIFF<0,DIFF,DEA,1,0),coloryellow;
STICKLINE(DIFF<0,DIFF2,DEA2,1,0),colorblue;
STICKLINE(DIFF2<DEA2,DEA,DEA2,1,1),colorwhite;
STICKLINE(DIFF>DEA,DIFF,DEA,5,0),colorffcc66;
STICKLINE(DIFF>DEA,DIFF2,DEA2,5,0),color0099ff;
提示: STICKLINE(Var5>1 AND Var1<N4,Var5*5,0,1,1),color00ff00;
DRAWICON(Var2>N3 AND DIFF<-48 AND Var3<-15,DEA,1);


 


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式