VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK; 主力啟動(dòng)線:MA(VOLUME,N1),COLORRED,LINETHICK2; 主力洗盤(pán)線:MA(VOLUME,N2),COLORYELLOW,LINETHICK2; 資金異動(dòng)線:MA(VOLUME,N3),COLORBLUE,LINETHICK2; {V60:MA(V,60),COLORWHITE; V120:MA(V,120),COLORGREEN;} 出擊:STICKLINE(CROSS(主力啟動(dòng)線,資金異動(dòng)線) OR ((主力洗盤(pán)線 > 資金異動(dòng)線) AND CROSS(主力啟動(dòng)線,主力洗盤(pán)線)),0,VOL,2,0),COLORYELLOW; 出擊0:IF(CROSS(主力啟動(dòng)線,資金異動(dòng)線) OR ((主力洗盤(pán)線 > 資金異動(dòng)線) AND CROSS(主力啟動(dòng)線,主力洗盤(pán)線)),1,0); 啟動(dòng):STICKLINE(主力啟動(dòng)線>REF(主力啟動(dòng)線,1) AND (CROSS(VOL,主力啟動(dòng)線) AND (REF(VOL,1)<REF(資金異動(dòng)線,1) OR REF(VOL,2)<REF(資金異動(dòng)線,2))),0,VOL,3,0),COLORGREEN; 啟動(dòng)0:IF(主力啟動(dòng)線>REF(主力啟動(dòng)線,1) AND (CROSS(VOL,主力啟動(dòng)線) AND (REF(VOL,1)<REF(資金異動(dòng)線,1) OR REF(VOL,2)<REF(資金異動(dòng)線,2))),1,0); V1:=CLOSE/REF(CLOSE,3)>=1.1; V2:=BACKSET(V1,2); V3:=REF(CLOSE,3)*1.1; V4:=CROSS(C,V3); OK:STICKLINE((V2 AND COUNT(V2,2)=1),VOL,0,5,0),COLORRED; COND:(CROSS(主力啟動(dòng)線,資金異動(dòng)線) OR ((主力洗盤(pán)線 > 資金異動(dòng)線) AND CROSS(主力啟動(dòng)線,主力洗盤(pán)線))) OR (主力啟動(dòng)線>REF(主力啟動(dòng)線,1) AND (CROSS(VOL,主力啟動(dòng)線) AND (REF(VOL,1)<REF(資金異動(dòng)線,1) OR REF(VOL,2)<REF(資金異動(dòng)線,2)))) OR (V2 AND COUNT(V2,2)=1),LINETHICK0; A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);{34日WR} B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4); 長(zhǎng)期線:=A+100; 短期線:=B+100; 中期線:=D+100; 見(jiàn)頂:=((REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長(zhǎng)期線,1)>65) AND CROSS(長(zhǎng)期線,短期線)); 頂部區(qū)域:=(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長(zhǎng)期線>60 AND 短期線<83.5 AND 短期線<中期線 AND 短期線<長(zhǎng)期線+4; 頂部:=FILTER(頂部區(qū)域,4); DRAWTEXT(頂部 OR 見(jiàn)頂,VOL*1.05,'頂部'); STICKLINE( {見(jiàn)頂 OR} 頂部,VOL,VOL*1.1,10,-1 ),COLORWHITE,LINETHICK2; VAR6:=REF(CLOSE,1); VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100; STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,-1 ),COLORWHITE,LINETHICK2; 均勢(shì)一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9); 均勢(shì)二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4); 趨勢(shì)一:=((((均勢(shì)一 - REF(均勢(shì)一,1)) / REF(均勢(shì)一,1)) * 1000) + 50); 趨勢(shì)二:=((((均勢(shì)二 - REF(均勢(shì)二,1)) / REF(均勢(shì)二,1)) * 1000) + 50); 波段高位:=(CROSS(趨勢(shì)一,趨勢(shì)二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5)); STICKLINE(波段高位,VOL,VOL*1.08,20,-1 ),COLORGREEN,LINETHICK2; DRAWTEXT(波段高位,VOL*1.1,'段高'); DRAWTEXT_FIX(1,0,0.1,0,'黃柱對(duì)應(yīng)出擊,綠珠對(duì)應(yīng)啟動(dòng)。虛長(zhǎng)框綠色對(duì)應(yīng)波段高位,虛短白框?qū)?yīng)頂部'); DRAWTEXT_FIX(1,0,0.15,0,'三線開(kāi)花后,5日均量線下行,回探35,135均量線。當(dāng)VOL 由縮小到開(kāi)始放大,盯住機(jī)會(huì)。VOL大于5,或5拐頭向上。買(mǎi)入。'); |
|
來(lái)自: lyl_tj > 《指標(biāo)公式》