生命線:MA(CLOSE,26),COLORRED,LINETHICK2; STICKLINE(C>=生命線 AND C>=O,H,L,0,1),COLORRED; STICKLINE(C>=生命線 AND C>=O,C,O,2.5,0),COLORRED; DP:=IF(C=INDEXC,0,1);GJ:=AMOUNT/V/100 ; 多頭線:EMA(C,1.5),COLOR0000CC; 空頭線:EMA(C,5),COLORMAGENTA; 均衡線:EMA(空頭線,5),COLORGREEN; VARF1:=COUNT(CROSS(多頭線,均衡線),2)=1; VARF2:=COUNT(CROSS(空頭線,均衡線),2)=1; ZAI:=FILTER(VARF1 AND VARF2,2); MTM:=CLOSE-REF(CLOSE,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX); LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF>9.8,O,C,2.5,0),COLORRED; STICKLINE(ZDF<-9.8,O,C,2.5,0),COLORBLUE; 白買(mǎi)進(jìn):DRAWNULL,NODRAW,COLORWHITE; 黃加倉(cāng):DRAWNULL,NODRAW,COLORYELLOW; 藍(lán)跌:DRAWNULL,NODRAW,COLORBLUE; 綠見(jiàn)頂:DRAWNULL,NODRAW,COLORGREEN; 紅強(qiáng)勢(shì):DRAWNULL,NODRAW,COLORRED; 紅藍(lán)調(diào)整:DRAWNULL,NODRAW,COLORGRAY; VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1); DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9); DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'底部神刀'),COLOR4440FF; DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.02),'賣(mài) '),COLORFFFF34;
|