VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); 主力進(jìn)場(chǎng):IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF; 拉升:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00; {地量買(mǎi)點(diǎn)} 地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L*1,'地量'),COLOR00FFFF; STICKLINE(地量>0,0,30,2,0),COLOR008888; STICKLINE(地量>0,0,30,1.5,0),COLOR00AAAA; STICKLINE(地量>0,0,30,0.8,0),COLOR00DDDD; STICKLINE(地量>0,0,30,0.3,0),COLOR00FFFF; {成交量比%} AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主買(mǎi):=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)); 成交量比%:主買(mǎi)/VOL*100,LINETHICK0; {主力持倉(cāng)} 主力持倉(cāng):EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),LINETHICK0; {逃人} VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,VARR1),10,15); MTM:=C-REF(C,1); 主力線(xiàn):100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLOR00FFFF,LINETHICK2; 趨勢(shì)線(xiàn):MA(主力線(xiàn),N2),COLORRED,LINETHICK2; {主力線(xiàn)變色} IF(主力線(xiàn)<REF(主力線(xiàn),1),主力線(xiàn),DRAWNULL),COLORGREEN,LINETHICK2; IF(主力線(xiàn)>REF(主力線(xiàn),1),主力線(xiàn),DRAWNULL),COLOR00FFFF,LINETHICK2; {紅綠箭頭} DRAWICON(CROSS(主力線(xiàn),趨勢(shì)線(xiàn)),趨勢(shì)線(xiàn),1); DRAWICON(CROSS(趨勢(shì)線(xiàn),主力線(xiàn)),趨勢(shì)線(xiàn),2); |
|
來(lái)自: 福樹(shù) > 《福樹(shù)待研指標(biāo)》