通达信量能关注度副图指标 源码 贴图 MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,20); 顶:=85; 中:=50; 底:=20; MA4:=MA(CLOSE,30); MA5:=(MA1+MA2+MA3+MA4)/4; MA6:=(MA5-REF(MA5,5))/REF(MA5,5)*1500; MA7:=(MA5-REF(MA5,5))/REF(MA5,5)*1500; MA8:=EMA(MA6,8); VAR1:=MA(HHV(H,485),17); VAR2:=MA(HHV(H,222),17); VAR3:=MA(HHV(H,96),17); VAE1:=HHV(HIGH,9)-LLV(LOW,9); VAE2:=HHV(HIGH,9)-CLOSE; VAE3:=CLOSE-LLV(LOW,9); VAE4:=VAE2/VAE1*100-70; VAR4:=MA(LLV(L,485),17); VAR5:=MA(LLV(L,222),17); VAR6:=MA(LLV(L,96),17); VAE5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAE6:=(2*CLOSE+HIGH+LOW)/4; VAE7:=SMA(VAE3/VAE1*100,3,1); VAE8:=LLV(LOW,34); VAE9:=SMA(VAE7,3,1)-SMA(VAE4,9,1); VAR7:=MA((VAR1*0.558+VAR2*0.558+VAR3*0.558+VAR4*0.96+VAR5*0.96+VAR6*0.96)/6,17); VAR8:=MA((VAR1*0.55+VAR2*0.55+VAR3*0.65+VAR4*1.25+VAR5*1.23+VAR6*1.2)/6,17); VAR9:=MA((VAR1*0.68+VAR2*0.68+VAR3*0.68+VAR4*1.3+VAR5*1.3+VAR6*1.3)/6,17); VAEA:=IF(VAE9>100,VAE9-100,0); VAEB:=HHV(HIGH,34); AA:=VAEA*2; EE:=EMA((VAE6-VAE8)/(VAEB-VAE8)*100,13); VAEC:=EMA(0.667*REF(EE,1)+0.333*EE,2); RR:=SMA(VAE5,20,1),COLORRED; CC1:=SMA(RR,5,1),COLORGREEN; VAR10:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17); VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; VAR12:=MA(IF(C*1.35<=VAR10,VAR11*10,VAR11/10),3); VARH:=HHV(VAR12,30); 注意: STICKLINE(MA6>REF(MA6,1) AND MA6< 0 AND MA6< MA8,MA6,0,2,0); 转强: STICKLINE(MA8>REF(MA8,1) AND MA6< 0 AND MA6>MA8,MA8,0,2,0),COLORLIRED; STICKLINE(RR>CC1,RR,CC1,1,0),COLORRED; STICKLINE(CC1>RR,RR,CC1,1,0),COLORGREEN; CCI进:IF((CROSS(RR,CC1) AND (CC1 < 顶) ),80,0),COLORRED; K2:=EMA(C,5),COLORFFFF00; K3:=EMA(C,10),COLORFFFF00; K5:=EMA(C,30),COLORFFFF00; KK5:=EMA(INDEXC,30),COLORFFFF00; K6:=2*(K2-K5); K7:=2*(K2-K3); K8:=2*(K7+K6),COLORRED; STICKLINE(CROSS(K8,0),0,6,3,0) ,COLORRED; 持股: STICKLINE(MA8>REF(MA8,1) AND MA8>0,MA6,0,2,0),COLORRED; 观望: STICKLINE(MA6< REF(MA6,1) AND MA8>REF(MA8,1) AND MA6>0,MA6,MA8,2,0),COLORYELLOW; 持币: STICKLINE(MA6< REF(MA6,1) AND MA6< MA8,MA6,MA8,2,0),COLORFFFF00; 注意底部:0,COLORGREEN; 坚决持股:0,COLORRED; 谨慎观望:0,COLORYELLOW; 果断持币:0,COLORFFFF00; 趋势转强:0,COLORFFDDFF; K1:=IF(K8>REF(K8,5) AND K3< REF(K3,5) ,1,0 ),COLORYELLOW; K21:=IF(K8>REF(K8,7) AND K3< REF(K3,7) ,1,0 ),COLORYELLOW; K31:=IF(K8>REF(K8,9) AND K3< REF(K3,9) ,1,0 ),COLORYELLOW; K4:=IF(K8>REF(K8,11) AND K3< REF(K3,11) ,1,0 ),COLORYELLOW; STICKLINE((K1 OR K21 OR K31 OR K4) AND K8< 0 AND K8>REF(K8,1),4,0,8,0),COLORYELLOW; AAA:=MA(IF(L<=LLV(L,13),(VARH+VAR11*2)/2,0),3)/120,COLORFFFFFF; 关注度:IF(AAA<200,AAA,200),COLORWHITE;
|