同花顺薛斯通道指标
-
相关简介:同花顺薛斯通道指标 N:=13;N1:=102;M:=7; VAR2:=CLOSE*VOL; VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6) +EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,N); SUP:1.06*VAR3,colorcyan; SDN:VAR3*0.94,colorcyan; VAR4:=EMA(CLOSE,9); LUP:EMA(VAR4*1.14,
-
文章来源:股海网作者:股海网发布时间:2015-06-14浏览次数:
同花顺薛斯通道指标
N:=13;N1:=102;M:=7;
VAR2:=CLOSE*VOL;
VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)
+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,N);
SUP:1.06*VAR3,colorcyan;
SDN:VAR3*0.94,colorcyan;
VAR4:=EMA(CLOSE,9);
LUP:EMA(VAR4*1.14,5),colorblue;
LDN:EMA(VAR4*0.86,5),colorblue;
DRAWBAND(LUP,RGB(0,50,200),LDN,RGB(0,100,10));
DRAWBAND(SUP,RGB(100,100,0),SDN,RGB(10,10,100));
AAX:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AAX*N1/100,LINETHICK2,coloryellow;
通道2:AAX*(200-N1)/100,LINETHICK2,coloryellow;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD,LINETHICK2,colorred;
通道4:(1-M/100)*DD,LINETHICK2,colorred;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 ),COLORFFBB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0 ),COLORFFDD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0.5,0 ),COLORFFEE00;
STICKLINE(OPEN>=CLOSE,L,H,0,0 ),COLORFFFF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0) ,COLOR0000BB;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0) ,COLOR0000DD;
STICKLINE(CLOSE>OPEN,H,L,0,0 ),COLOR0000FF;
ZF:=(C-REF(C,1))/REF(C,1)*100;
次数1:=COUNT(ZF>9.9,16);
次数2:=COUNT(ZF>9.9,120);
XG1:=次数1>=2 AND ZF>9.9;
XG2:=次数2>=4 AND ZF>9.9;
STICKLINE(XG1,OPEN,CLOSE,2.5,0),COLOR00CCFF;
STICKLINE(XG1 AND XG2,OPEN,CLOSE,2.5,0),COLORFF00FF;
SS1:=O<=REF(C,1) AND OPEN>(REF(CLOSE,1)+REF(CLOSE,2))/2;
低开买:=REF(XG1 OR XG2,1) AND SS1;
DRAWICON(低开买,L*0.98,5);
重心:=AMOUNT/(V*100);
两日重心:=(SUM(AMOUNT,2))/(SUM((V*100),2));
三日重心:=(SUM(AMOUNT,3))/(SUM((V*100),3));
四日重心:=(SUM(AMOUNT,4))/(SUM((V*100),4));
上日重心:=REF(重心,1);
上两日重心:=REF(两日重心,1);
上三日重心:=REF(三日重心,1);