常用語句:
0018--今收盤對(duì)于N日內(nèi)最低收盤價(jià)的漲幅(%) (C-LLV(C,N))/LLV(C,N)*100; ------------------------------------------------------------------------------- 0019--今收盤對(duì)于N日內(nèi)最高收盤價(jià)的跌幅(%) (HHV(C,N)-C)/HHV(C,N)*100; ------------------------------------------------------------------------------- 0020--股價(jià)在過去N日內(nèi)運(yùn)行空間的相對(duì)位置 (C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100; ------------------------------------------------------------------------------- 0021--股價(jià)上方N1%至N2%處的籌碼(%) AA:=WINNER(C+C*N2/100)*100; BB:=WINNER(C+C*N1/100)*100; AA-BB ------------------------------------------------------------------------------- 0022--股價(jià)下方N1%至N2%處的籌碼(%) (WINNER(C-C*N1/100)-WINNER(C-C*N2/100))*100; ------------------------------------------------------------------------------- 0023--收盤價(jià)N%處的套牢盤 100-(WINNER(C*N/100))*100; ------------------------------------------------------------------------------- 0024--收盤價(jià)N%處的獲利盤 WINNER(C*N/100)*100; ------------------------------------------------------------------------------- 0025--下影線 (MIN(C,O)-L)/(H-L); ------------------------------------------------------------------------------- 0026--上影線 (H-MAX(C,O))/(H-L) ------------------------------------------------------------------------------- 0027--本周期的漲跌幅 (C-REF(C,1))/REF(C,1)*100; ------------------------------------------------------------------------------- 0028--振幅 (H-L)/L*100; ------------------------------------------------------------------------------- 0029--均線金叉 CROSS(MA(C,N),MA(C,M));{N< M} ------------------------------------------------------------------------------- 0030--均線死叉 CROSS(MA(C,M),MA(C,N));{N< M} ------------------------------------------------------------------------------- 0031--均線多頭排列 A1:=MA(C,N1); A2:=MA(C,N2); A3:=MA(C,N3); A4:=MA(C,N4); COUNT(A1>A2 AND A2>A3 AND A3>A4,3); ------------------------------------------------------------------------------- 0032--均線空頭排列 A1:=MA(C,N1); A2:=MA(C,N2); A3:=MA(C,N3); A4:=MA(C,N4); COUNT(A1< A2 AND A2< A3 AND A3< A4,3); ------------------------------------------------------------------------------- 0033--N日均線向下 AA:=MA(C,N); BB:=REF(AA,1); AA< BB ------------------------------------------------------------------------------- 0034--N日均線向上 AA:=MA(C,N); BB:=REF(AA,1); AA>BB ------------------------------------------------------------------------------- 0035--N日均線走平 AA:=MA(C,N); BB:=REF(AA,1); AA=BB ------------------------------------------------------------------------------- 0036--向前N日至M日出現(xiàn)過均線死叉(P1< P2) AA:=MA(C,P1); BB:=MA(C,P2); CC:=REF(CROSS(BB,AA),N); COUNT(CC,M); ------------------------------------------------------------------------------- 0037--今日成交量大于N日以來的均量 VOL>MA(VOL,N); ------------------------------------------------------------------------------- 0038--低位密集 A1:=COST(85); A2:=COST(15); A3:=A1-A2; A4:=(A1+A2)/2; A5:=A3/A4*100<10; B1:=HHV(H,120); B2:=LLV(L,120); B3:=B1-B2; B4:=(A4-B2)< B3/2; A5 AND B4; ------------------------------------------------------------------------------- 0039--換手率 VOL/CAPITAL*100; ------------------------------------------------------------------------------- 0040--N日盈虧 V1:=VOL/SUM(VOL,N); V2:=DMA(CLOSE,V1); V3:(CLOSE-V2)/V2*100; ------------------------------------------------------------------------------- 0041--曲線疊加 指標(biāo)線的疊加,是為了方便觀看和比較,沒什么其他的意義。 一、對(duì)指標(biāo)曲線的變化幅度放大 此法,一線變形,另一線不變,但變形線的走勢(shì)與原線完全相似。 舉例:C疊加V BC:=HHV(C,N)-LLV(C,N);//N一般取常用主圖上的K線數(shù)量 BV:=HHV(V,N); BI:=BC/BV;//疊加比 B:=BI[DATACOUNT];//最后一根K線的疊加比,保證疊加比前后統(tǒng)一 成交量:V,VOLSTICK; F:=C/REF(C,1); JC:=REF(C,1)*(1+A*F)*B/A;//A-放大倍數(shù),將C的漲跌幅度F放大 JL:=LLV(JC,N);//平移量。請(qǐng)去掉JC句的=看JL的作用 收盤價(jià):C,LINETHICK0,COLORYELLOW;//只顯示數(shù)值,不畫線 PARTLINE(C>0,JC-JL[DATACOUNT]),COLORYELLOW;//收盤價(jià)趨勢(shì)線,只畫線,不顯示數(shù)值 通式: 曲線X疊加曲線Y BX:=HHV(X,N)-LLV(X,N); BY:=HHV(Y,N)-LLV(Y,N); BI:=BX/BY; B:=BI[DATACOUNT]; FX:=X/REF(X,1); JX:=REF(X,1)*(1+A*FX)*B/A; XL:=LLV(JX,N); 曲線Y:Y; 曲線X:X,LINETHICK0;//曲線X的值 PARTLINE(C,JX-XL[DATACOUNT]);//曲線X的線 |
|