X_3:=(C+L+H)/3; X_4:=EMA(X_3,6); X_5:=EMA(X_4,5); STICKLINE(X_4>=X_5,2.5,1.3,3,0),COLORRED,LINETHICK2; STICKLINE(X_4<X_5,2.5,1.3,3,0),COLORGREEN,LINETHICK2; 能量:=SQRT(vol)*(((C-(H+L)/2))/((H+L)/2)); 平滑能量:=EMA(能量,16); 能量慣性:=EMA(平滑能量,16) ; STICKLINE(能量慣性>0,-0.4,0.9,3,0),COLORRED,LINETHICK2; STICKLINE(能量慣性<=0,-0.4,0.9,3,0),COLORGREEN,LINETHICK2; X_2:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100; 中多:=SMA(X_2,5,1); 中空:=SMA(中多,10,1); STICKLINE(中多>中空,-2.2,-0.8,3,0),COLORRED,LINETHICK2; STICKLINE(中多<=中空,-2.2,-0.8,3,0),COLORGREEN,LINETHICK2; X_1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100; 短多:=SMA(X_1,3,1),COLORRED; 短空:=SMA(短多,3,1),COLORYELLOW; STICKLINE(短多>短空,-4.1,-2.7,3,0),COLORRED,LINETHICK2; STICKLINE(短多<=短空,-4.1,-2.7,3,0),COLORGREEN,LINETHICK2; QS:=1.95,NODRAW; NL:=0.35,NODRAW; ZQ:=-1.5,NODRAW; DQ:=-3.3,NODRAW; DRAWTEXT(ISLASTBAR,QS,' AAA:=(3*C+O+H+L)/6; 控盤(pán)度:=(EMA(AAA,12)-REF(EMA(AAA,36),1))/REF(EMA(AAA,36),1)*100+50,NODRAW; 低控盤(pán):IF(控盤(pán)度>=50 AND 控盤(pán)度<60,控盤(pán)度,0),COLORYELLOW,NODRAW; 中控盤(pán):IF(控盤(pán)度>=60 AND 控盤(pán)度<80,控盤(pán)度,0),COLORLIRED,NODRAW; 高控盤(pán):IF(控盤(pán)度>=80,控盤(pán)度,0),COLORMAGENTA,NODRAW; STICKLINE( 控盤(pán)度>=50,-4.6,-5,3,0),COLORYELLOW; STICKLINE( 控盤(pán)度>=60,-4.6,-5,3,0),COLORLIRED; STICKLINE( 控盤(pán)度>=80,-4.6,-5,3,0),COLORMAGENTA; 安全分:SAFESCORE,NODRAW;{低版本的通達(dá)信軟件,,可以刪除本行} VAR1:=(2*C+H+L)/4; VAR2:=LLV(L,34); VAR3:=HHV(H,34); XX:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13); YY:=EMA(0.667*REF(XX,1)+0.333*XX,2) , ; X10_10:=2*WMA(C,17)-WMA(C,34); 潛力線:=WMA(X10_10,SQRT(34)),COLORWHITE,DOTLINE; 長(zhǎng)趨勢(shì):IF(YY<XX AND C>潛力線,10,0),COLORMAGENTA,NODRAW; STICKLINE(長(zhǎng)趨勢(shì),-4.70,-4.85,3,0),COLORMAGENTA; |
|