通达信洗盘抄底主图指标公式:
EMA250:MA(C,250),COLORRED; EMA6:MA(C,6),COLORRED LINETHICK2; EMA18:MA(C,18),COLORYELLOW; EMA55:MA(C,55),COLORFF00FF; EMA144:MA(C,144),COLORGREEN; EMA288:MA(C,288),COLORBLUE; 中线【买入】:=COUNT(CLOSE<EMA18,5)=4 AND CLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>= REF(EMA18,1),LINETHICK,COLORRED; DRAWTEXT(中线【买入】,LOW*0.95,' 中线【买入】'),COLORRED; VL:=REF(LOW,1); VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100; VAR14:=MA(VAR12,13); VAR15:=LLV(LOW,34); VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3); VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1); VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9; T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20); DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF; DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF; VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR22:=SMA(VAR21,3,1); VAR23:=SMA(VAR22,3,1); VAR24:=SMA(VAR23,3,1); VAR25:=CROSS(VAR23,VAR24) AND VAR23<20; DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,'←抄底'),COLORRED; DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'|'),COLORRED; VAR29:=CROSS(VAR24,VAR23) AND VAR23>80; DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃顶'),COLORBLUE; DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|'),COLORBLUE;
通达信潜龙冲天选股指标公式:
N1:=5; N2:=62; LA:=(C+O)/2; LB:=(LA+L)/2; LC:=(LA+H)/2; LD:=REF((C+O+H+L)/4,1); LE:=(H+L)/2; RSI1:=SMA(MAX(LA-LD,0),N1,2)/SMA(ABS(LA-LD),N1,2)*100; RSI3:=SMA(MAX(L-LD,0),N2,1)/SMA(ABS(L-LD),N2,1)*100; RSI4:=SMA(MAX(LB-LD,0),N2,1)/SMA(ABS(LB-LD),N2,1)*100; V3:=SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),2,1)*100; V5:=SMA(V3,2,1); LCC:=REF(CLOSE,1); RSI111:=SMA(MAX(CLOSE-LCC,0),N1,2)/SMA(ABS(CLOSE-LCC),N1,2)*100,COLORBLACK; 抄底:IF(V3>V5 AND RSI111>REF(RSI111,1) AND V3>REF(V3,1) AND CROSS(RSI111,V3) AND RSI4>V3 AND V3<28.888 AND V3>3.888 AND V5>REF(V5,1) ,100,0);
通达信低金叉共振战略指标公式(顶尖股票学院: http://58188.com):
N:=5; M:=10; 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; 超跌:IF(J<0,10,0),COLORFFFF00; BDDD:=LLV(J,2)=LLV(J,8); 重启:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0),COLOR00FF00; 加码:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND BETWEEN(J,20,60),1,0),COLOR00FFFF,POINTDOT,LINETHICK0; BDGD:=HHV(J,2)=HHV(J,8) AND J>80; 小心:IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),70,100),COLOR0000FF; DRAWTEXT(加码,J,'★'),COLOR00FFFF; STICKLINE(REF(J,7)<0 AND J>1,10,0,10,0),COLOR00FF00; VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); 贵:=N,COLOR00FF00; VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VAR5:=CROSS(VAR4,10) AND VAR3<N; IF(J<D,J,DRAWNULL),COLORFFEE44; A22:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1)); B2:=REF(C,A22+1)>C AND REF("KDJ.K"(9,3,3),A22+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)); A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)); B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)); 抄底:IF(VAR5,90,1),COLORRED; DRAWICON(VAR5,65,1); DRAWTEXT(VAR5,30,'抄底'),COLORYELLOW; 备钱:IF(CROSS(10,VAR4),40,1),COLORFF00FF; DRAWICON(CROSS(10,VAR4),45,1); DRAWTEXT(IF(CROSS(10,VAR4),1,0),20,'$备钱'),COLORWHITE; 危机线: 80,COLORRED,POINTDOT,LINETHICK2; 中间线: 50,COLORFFCCCC,POINTDOT,LINETHICK2; 安全线: 10,COLORFF00FF,POINTDOT,LINETHICK2; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,M); VAR8:=HHV(HIGH,M); VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13); VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2); DJ:=CROSS(J,D) AND D<20; DRAWTEXT(DJ,J-0.3,'低金叉'),COLORCYAN; 战术线: VAR9,COLORYELLOW,LINETHICK2; 战略线: EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORBLUE; STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLORRED; STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLOR00FF00; VARB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE<REF(CLOSE,7),0-VOL,0)),0); VARC:=SUMBARS(VOL,CAPITAL); VARD:=IF(CLOSE>LLV(CLOSE,VARC),1,-1); VARE:=IF(VARB>LLV(VARB,VARC),1,-1); VARF:=VARD*VARE; VAR10:=IF(VARF=-1,1,0); 关注:IF(VAR10 AND CLOSE=LLV(CLOSE,20) AND VAR3<N,70,1),COLORFFCC66; 股票学院:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; DRAWICON(CROSS(K,D),D,1); DRAWICON(CROSS(D,K),D,2);
|