【大智慧】分時(shí)高低通道指標(biāo)公式
攻城獅 2015.12.04 01:49
DRAWTEXTABS(680,2,’上漲家數(shù):’+NUMTOSTRN(DYNAINFO(69),0)),COLOR0000FF;
DRAWTEXTABS(765,2,’下跌家數(shù):’+NUMTOSTRN(DYNAINFO(70),0)),COLOR00FF00;
DRAWTEXTABS(850,2,’平盤家數(shù):’+NUMTOSTRN(DYNAINFO(71),0)),COLORFFFFFF;
昨收:=DYNAINFO(3);
S1:=sma(c,3,1);
S2:=sma(c,5,1);
dk:=10*(S1-S2);
kk:=IF(DATATYPE=8,0.95,1);
STICKLINE(dk>0,昨收*kk,昨收*kk+dk,0,1),COLORRED;
STICKLINE(dk<0,昨收*kk,昨收*kk+dk,0,1),COLORCYAN;
{概念股網(wǎng)-股票公式網(wǎng)站 www.chiang1015.com}
M:=0; N:=30;
強(qiáng)壓力:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/1000))),IF(C*(1+(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1+(N/1000)))),color00ff00;
壓力線:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1+(N/2000))),IF(C*(1+(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1+(N/2000)))),colorffcc00;
平衡線:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,SUM(C*VOL,M)/SUM(VOL,M),C),color00ffff;
支撐線:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/2000))),IF(C*(1-(N/2000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1-(N/2000)))),Color66FF99;
強(qiáng)支撐:IF(SUM(C*VOL,M)/SUM(VOL,M)>0,IF(SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,SUM(C*VOL,M)/SUM(VOL,M)*(1-(N/1000))),IF(C*(1-(N/1000))>=DYNAINFO(3)*1.1,DYNAINFO(3)*1.1,C*(1-(N/1000)))),COLOR6666ff;
PARTLINE(CLOSE,BETWEEN(CLOSE,支撐線,壓力線),RGB(255,255,255),BETWEEN(CLOSE,壓力線,強(qiáng)壓力),RGB(255,0,255),CLOSE>=強(qiáng)壓力,RGB(255,0,0)),linethick2;
PARTLINE(CLOSE,BETWEEN(CLOSE,支撐線,強(qiáng)支撐),RGB(0,255,255),CLOSE<=強(qiáng)支撐,RGB(0,255,0)),linethick2;
{以下為分時(shí)突破}
XG:=HHV(H,480);
STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORgreen;
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,’↖上突’),COLORYELLOW;
T:=BARSCOUNT(C);
TP:= FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME0>39600,240) ;
DRAWTEXT(TP,L,’↖突破’),COLORmagenta;
VERTLINE(tp,1),COLORwhite,LINETHICK2;
HHV(h,T),DOTLINE,Color00FFFF;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。