DRAWBAND(顶,RGB(0,100,255),底,RGB(0,0,0));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
XG1:=VOL
趋势线:=3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3,1),COLORYELLOW;
STICKLINE(底>趋势线,底,趋势线,2,0),COLORRED;
STICKLINE(趋势线>顶,趋势线,顶,2,0),COLORGREEN;
STICKLINE(REF(趋势线,1)<顶 AND 趋势线>顶,90,100,2,0),COLORCYAN;
STICKLINE(REF(趋势线,1)>顶 AND 趋势线<顶,90,80,2,0),COLORBLUE;
STICKLINE(CROSS(趋势线,底),0,60,2,0),COLORMAGENTA;
STICKLINE(CROSS(趋势线,初),20,30,2,0),COLORRED;
牛:3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)
-LLV(LOW,60))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)
-LLV(LOW,60))*100,5,1),3,1), COLORWHITE;
DRAWTEXT(CROSS(趋势线,底),底,'杀庄'),COLORFFFFFF;
趋势:(趋势线-REF(趋势线,1))*100/REF(趋势线,1),NODRAW,COLORYELLOW;
彩泓:IF(趋势>=1,趋势线,DRAWNULL),COLORRED,LINETHICK3;
VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10;
能量: SMA(VAR2,5,1)/100,COLORLIMAGENTA;
DRAWBAND(能量>REF(能量,1),RGB(250,0,120),0,RGB(0,180,180));
STICKLINE(能量>REF(能量,1),0,能量,2.5,0),COLOR7800FF;
STICKLINE(能量
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE
IF(CLOSE
0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE
VAR3*(HIGH-LOW),IF(CLOSE
VAR6:=MA(VAR5,40);
VAR7:=100*(CLOSE-VAR6)/VAR6;
量堆:=COUNT(V>=REF(V,1)*2,BARSLAST(CROSS(C,MA(C,20))));