DX20:20, COLORLIGREEN;
DAR1:=LLV(LOW,21);
DAR2:=HHV(HIGH,21);
K: EMA((CLOSE-DAR1)/(DAR2-DAR1)*100,8),COLORRED ;
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;
强弱分界:50;
DAR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
筹码集中度: SMA(DAR12,3,1),COLORGREEN,LINETHICK2;
DAR3:=LLV(LOW,55);
DAR4:=HHV(HIGH,34);
DAR5:=EMA((CLOSE-DAR3)/(DAR4-DAR3)*100,3);
DAR6:=(K+DAR5)/2;
DAR7:=EMA(0.667*REF(DAR5,1)+0.333*K,2);
DAR8:=EMA(DAR6,5);
DAR9:=EMA(0.667*REF(DAR8,1)+0.333*DAR8,2);
VAR1:=1;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=LLV(LOW,34);
VAR9:=HHV(HIGH,34);
VAR10:=EMA(IF(LOW<=VAR8,(VAR9+VAR6*2)/2,0),3)/618*VAR7;
主力吸筹:IF(VAR10>100,100,VAR10),COLORYELLOW;
VARB1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VARB2:=SMA(ABS(LOW-VARB1),13,1)/SMA(MAX(LOW-VARB1,0),10,1);
VARB3:=EMA(VARB2,10);
VARB4:=LLV(LOW,33);
VARB5:=EMA(IF(LOW<=VARB4,VARB3,0),3);
VARB21:=SMA(ABS(HIGH-VARB1),13,1)/SMA(MIN(HIGH-VARB1,0),10,1);
VARB31:=EMA(VARB21,10);
VARB41:=HHV(HIGH,33);
VARB51:=EMA(IF(HIGH>=VARB41,VARB31,0),3);
拉升:=IF(VARB51< REF(VARB51,1),VARB51,0),VAR1,LINETHICK4,COLORMAGENTA;
拉升出货:IF(-拉升>100,100,-拉升),LINETHICK4,COLORMAGENTA;
DRAWTEXT (-拉升出货>=100,50,'←拉升出'),COLORMAGENTA;
出:=IF(VARB51>REF(VARB51,1),VARB51,0),VAR1,LINETHICK4,COLORLICYAN;
出货:IF(-出>100,100,-出),LINETHICK4,COLORCCCC00;
VAR111:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
VAR211:=( MA((CLOSE-VAR111)/VAR111,1));
MMA:=EMA(VAR211,12)*0.7;
MMB:=EMA(VAR211,3);
快到底:=IF(LLV(MMB-MMA,12)>0,0,30),LINETHICK2,COLORBLUE;
底初选股:=IF( CROSS(0, LLV(MMB-MMA,12)),10,0),LINETHICK0;
天使:=( EMA(CLOSE,12) - EMA(CLOSE,26))*100,COLORRED,NODRAW;
魔鬼:=EMA(天使,9),COLORFFFFFF,LINETHICK1,NODRAW;
上帝:= 2*(天使-魔鬼);
绝对底:=IF(快到底>0 AND CROSS(上帝,0),50,0),LINETHICK2,COLORWHITE;
DRAWICON( 绝对底>0,10,1 );
DRAWTEXT(绝对底>0,60,'←抄底'),COLORWHITE;
STICKLINE(绝对底>0, 100,0,3,0),COLORRED;
STICKLINE(绝对底>0, 60,0,2,0),COLORYELLOW;