通達(dá)信資金和選股指標(biāo)公式
AJ:=VOL*CLOSE; BJ:=SUM(AJ,1)/SUM(VOL,1); B1J:=EMA(BJ,8); 主力J:=(BJ-B1J)*100/BJ; DRAWBAND(主力J,RGB(250,180,80),0,RGB(0,180,180)); DRAWBAND(3*(EMA(C,3)-EMA(C,8)-EMA(EMA(C,3)-EMA(C,8),20))*2,RGB(250,0,00),0,RGB(0,80,180)); MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(CLOSE,30); MA4:=MA(CLOSE,60); XG:COUNT(C>MA(C,5),3)=3 AND MA2>MA3 AND MA1>MA4 AND MA4>MA3 AND MA4>=MA2 AND REF(MA2,3)<REF(MA3,3); RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; VARB2:=(RSVV/2+22)*1; 量:=EMA(VOL,13); 資金:=EMA(AMOUNT,13); 過(guò)濾:=((資金 /量) / 100); 提純:=(((CLOSE -過(guò)濾) / 過(guò)濾) * 100); 黃金:=((提純 < (0)) AND ZXNH); 低進(jìn):IF(黃金 AND RSVV<VARB2-2,2,0); X:=(H-MAX(C,O))/ABS(C-O)>2 AND REF(L,1)/HHV(H,5)<0.96 AND REF(H,4)=REF(HHV(H,4),1) AND O/REF(C,1)>1.01 AND O/REF(C,1)<1.04; SK:=COUNT(C/REF(C,1)<1.03,3)=3 AND REF(COUNT((C+O)<REF(C+O,1),2)=2,1) AND REF(HHV(H,20),1) =REF(HHV(H,4),1); X4:=(H-MAX(C,O))/ABS(C-O)>2 AND REF(L,1)/HHV(H,6)<0.95 AND REF(H,5)=REF(HHV(H,5),1) AND O/REF(C,1)>1.01 AND O/REF(C,1)<1.04; SK4:=COUNT(C/REF(C,1)<1.03,4)=4 AND REF(COUNT((C+O)<REF(C+O,1),3)=3,1) AND REF(HHV(H,20),1) =REF(HHV(H,5),1); 短線狙擊:((X AND SK) OR (X4 AND SK4)) ; MA111:=MA(CLOSE,20); MA112:=MA(CLOSE,40); MA113:=MA(CLOSE,60); A11:=OPEN<MA111 OR OPEN<MA112 OR OPEN<MA113; A12:=C>MAX(MA111,MAX(MA112,MA113)); A13:=V/MA(V,30)>1.2; A14:=C/REF(C,1)>1.049; 生命:=EXPMA(EXPMA(CLOSE,50),1); 半:=MA(CLOSE,125); 年:=MA(CLOSE,240); 漲幅%:=(C-REF(C,1))/REF(C,1)*100; 換手率%:=HSL; 條件:=C>生命 AND 生命>半 AND 半>年 AND 漲幅%>6.5 AND 換手率%>6; 黑馬:=A11 AND A12 AND A13 AND A14 AND 條件; MA5:=MA(CLOSE,120); A:=MAX(MAX(MAX(MA1,MA2),MAX(MA3,MA4)),MA5); B:=MIN(MIN(MIN(MA1,MA2),MIN(MA3,MA4)),MA5); LL:=BARSLAST(O<=B AND C>=A )=0; KK: LL AND 黑馬; M2:=EMA(C,2); M18:=EMA(C,18); 買(mǎi)點(diǎn):=IF(CROSS(M18,M2),5,0* 10000),COLORFF00FF,LINETHICK2; 明天賣(mài):買(mǎi)點(diǎn) AND 低進(jìn) COLORYELLOW,LINETHICK3; KTB:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1); DTB:=SMA(KTB,3,1); JTB:=3*KTB-2*DTB; DI:="MACD.MACD">0; 準(zhǔn)確出擊:CROSS(CLOSE,REF(EMA(DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9),3),1))AND JTB<55 AND DI; X1:=(C-REF(C,1))/REF(C,1)*100>=3; X2:=COUNT( EVERY(C>O,2),BARSLAST( EVERY(C>O,2)=0))=1&& EVERY(C>O,2); 預(yù)選:=(X1||X2)*4,COLORGREEN; X3:=X1&& EVERY(C>O,2); X44:=CROSS(REF(C,1),L); X5:=FILTER(X2||X3||X44,3)&&REF(X1,1); 低位介入:=(FILTER(X3||X5,3)&&REF(預(yù)選,1)); 每日3%:預(yù)選 AND 低位介入; 買(mǎi)入必漲:(((((CLOSE / REF(CLOSE,1)) >= 1.07) AND ((HIGH / CLOSE) < 1.005)) AND ((MA (CLOSE,90) / CLOSE) >1.48)))*1.5; VAR1D:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152; VAR2D:=(C-EMA(C,58))/EMA(C,58)<-0.19; 中短買(mǎi)入:COUNT(VAR2D AND VAR1D,2); AA8:=LLV(L,34); XD:=SMA(ABS(L-REF(L,1)),34,1); CD:=SMA(MAX(L-REF(L,1),0),34,2); 收盤(pán)買(mǎi):=-(EMA(IF(L<=AA8,XD/CD,-3),9)); 明天賣(mài)2:收盤(pán)買(mǎi)<0 AND 收盤(pán)買(mǎi)>REF(收盤(pán)買(mǎi),1) AND REF(EVERY(收盤(pán)買(mǎi)<REF(收盤(pán)買(mǎi),1),3),1); CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13); CYS:=(CLOSE-CYC13)/CYC13*100; 平衡:=0; RSVX:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSVX,3,1); D:=SMA(K,3,1); J:=3*K-2*D; A1:=CROSS(J,REF(J+0.01,1)) AND J<20; YX:=C<O; 低點(diǎn)介入:"ZXNH.ZXNH" AND CYS<0 AND A1 AND REF(YX,1); AA:=REF(MA(C,5),1)<MA(C,5) ; FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); BB:=CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10)) ; CC:=CROSS(C,MA(C,20)) AND REF(C<O,1) AND REF(C<O,2); 主升浪:(CROSS(FF,MA15) AND AA AND BB AND CC)*3,COLORRED ; LC:=REF(CLOSE,1); AAV:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100; XGV:=CROSS(-13,AAV); RSI:=(SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*20); BBV:=MA(RSI,34); CCV:=BBV-2.5*STD(RSI,34); CF:=C>L; 成功率87.3%:(XGV AND CF AND RSI<CCV)*3,COLORGREEN; A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3)); A11A:=SMA(A01,2,1); A21:=SMA(A11A,2,1); A31:=3*A11A-2*A21 ; A41:=2*A31-0.5; 生命線:=C*(1-(A41-A21)/15),COLORBLUE,LINETHICK2; A線:=HHV(H,20); B線:=LLV(L,20); C線:=(A線+B線)/2; 做多線:=IF(C線,C線,DRAWNULL)COLORFF00FF,LINETHICK2; 進(jìn)場(chǎng):(CROSS(生命線,做多線) AND REF(做多線,1)<做多線 AND C>生命線)*5;
|