自用公式
DRAWBAND(MA(C,60),RGB(240,180,180),MA(C,120),RGB(180,240,180));Z1:=STRCAT(HYBLOCK," ");Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2," ");DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);DRAWKLINE(HIGH,OPEN,LOW,CLOSE);STICKLINE(RSI.RSI2<20 AND RSI.RSI3<30,C,O,0.6,0),COLORWHITE;K1:=(C+H+L)/3;D1:=MA(K1,4);DRAWTEXT(REF(C,1)<D1 AND C>D1 AND D1<REF(D1,1) AND CROSS(C,M3) AND C>MA(C,30) AND M3>REF(M3,1) AND M3>MA(C,30) AND M1>M3,L*0.999, "D"),COLORYELLOW,LINETHICK2 ;DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA1:=EMA(DIF1,9);AAA1:=(DIF1-DEA1)*2*60;買入線:=15;買入1:=AAA1-REF(AAA1,1),COLORRED;DRAWICON(CROSS(買入1,買入線) AND C<25,L*0.98,16);DRAWICON(CROSS(買入線,AAA1),H*1.01,12);DRAWICON(CROSS(AAA1,買入線),L*0.99,11);V5:=MA(VOL,5);V12:=MA(VOL,12);C6:=MA(C,6);地量:=VOL<V5/2 AND VOL<V12/2;STICKLINE(地量,O,C,1,0),COLORBLUE;JJ:=(3*C+H+L+O)/6;VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黃金線:=REF(LOW,BARSLAST(LJL)),COLORLIRED;STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),3,0),COLORGREEN;MW:=IF(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL))),COLORGREEN;DRAWICON(CROSS(C,REF(MW,1)),L,1);T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T11:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);AKQZ:= (T7 AND T11 AND T0) OR (T6 AND T11 AND T0 )OR (T5 AND T11 AND T0 )OR (T4 AND T11 AND T0)OR (T3 AND T11 AND T0);凹口起柱:=LJL AND AKQZ;STICKLINE(LJL,O,(H+L)/2,0.8,1),COLORYELLOW;STICKLINE(凹口起柱,(O+C)*0.5,C,0.8,1),COLORMAGENTA;出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);DRAWTEXT(出水芙蓉,L,"出水芙蓉");曙光初現:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);長十字線:=COUNT(DOWNNDAY(CLOSE,3),3) AND (MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;STICKLINE(長十字線,O,C,3,0),COLORBLUE;DRAWTEXT(長十字線,L,"孤影");DRAWTEXT(CROSS("DMI1.PDI","DMI1.MDI") AND CROSS("DMI1.PDI","DMI1.ADX") AND CROSS("DMI1.PDI","DMI1.ADXR") AND C>REF(C,1)*1.049 AND VOL>REF(VOL,1),L*0.98,"DMIN捉暴漲");穿頭破腳:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1));DRAWTEXT(穿頭破腳,L,"穿頭破腳");趨勢:MA(VAR1,W2)*(1-P2/1000),COLORYELLOW,LINETHICK3;趨勢1:MA(VAR1,W2)*(1+P2/1000),COLORLIGREEN,LINETHICK3;中軌:MA(VAR1,W2)*(1+0/1000),COLOR0000FF,LINETHICK3;STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0 ),L,OPEN,3.15,0),COLOR337777;
T1:=CONST(LLVBARS(LOW,10));T1HIGH:=CONST(REF(HIGH,T1));CC:=CONST(CURRBARSCOUNT);T2:=CONST(BARSLAST(CURRBARSCOUNT>CC+T1 AND H>T1HIGH));T2HIGH:=CONST(REF(HIGH,T2));T31:=CONST(BARSLAST(CURRBARSCOUNT>CC+T2 AND HIGH>T2HIGH));T3HIGH:=CONST(REF(HIGH,T31));獵擊線:DRAWLINE(CURRBARSCOUNT=T31+1, T3HIGH, ISLASTBAR, T3HIGH, 1),COLOR00FFFF,LINETHICK1;STICKLINE(C>REF(C,1)*1.09,C,O,2,0),COLORLIMAGENTA,LINETHICK2;STICKLINE(C<REF(C,1)*0.901,C,O,2,0),COLORGREEN,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;STICKLINE(CROSS(50,J),CLOSE,OPEN,2,0),COLORYELLOW;STICKLINE(CROSS(50,J),H,L,0,0),COLORYELLOW;STICKLINE(CROSS(J,50),CLOSE,OPEN,2,0),COLORRED;STICKLINE(CROSS(J,50),H,L,0,0),COLORRED;
推薦閱讀:
※【法納大咖秀】要想判緩刑,得用好這三個「數學公式」
※你會寫 多表求和 公式嗎?
※準的離譜的「夫妻離合公式」
※通達信公式===MACD帶資金流量[原碼]
※Excel中鮮為人知的條件求和公式 !
TAG:公式 |