DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9); XG1:=VOL<HHV(VOL,120)/10 AND CROSS(DIF,DEA) AND VOL<MA(VOL,60)/1.9; XG2:=HHV(C,120)/LLV(C,120)<1.5; 趨勢線:=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; 底:10, COLOR983433; 爆:20; 頂:90,COLORGREEN; DRAWBAND(頂,RGB(0,100,255),底,RGB(0,0,0)); 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; 趨勢線1: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; DRAWTEXT(CROSS(趨勢線,底),底,'殺莊'),COLORLIMAGENTA; 趨勢:(趨勢線-REF(趨勢線,1))*100/REF(趨勢線,1),NODRAW; BB:IF(趨勢>=1,趨勢線,DRAWNULL),COLORRED,LINETHICK3; |
|