通达信妖股突破启动副图指标 源码分享 附图
X_1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
短顶:STICKLINE(X_1>9 AND FILTER(X_1<REF(X_1,1),5),X_1+2,0,3,0),COLOR80FF80;
大顶:STICKLINE(X_1>20 AND FILTER(X_1<REF(X_1,1),5),X_1+20,0,7,0),COLOR80FF80;
X_2:=HHV(X_1>20,10);
危险:STICKLINE(X_2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),X_1+10,0,4,0),COLORFF0033;
注意止损:STICKLINE(X_2 AND FILTER(X_1<REF(X_1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),X_1+6,0,3,0),COLOR0035FF;
短底:STICKLINE(X_1<(-9) AND X_1>REF(X_1,1),X_1-2,0,3,0),COLORRED;
DRAWICON(X_1>9 AND FILTER(X_1<REF(X_1,1),5),X_1+6,15);
DRAWICON(FILTER(X_1<(-9) AND X_1>REF(X_1,1),18),3,25);
X_3:=MA(CLOSE,5);
X_4:=MA(CLOSE,10);
X_5:=MA(CLOSE,20);
X_6:=MA(CLOSE,30);
X_7:=MA(CLOSE,250);
X_8:=BARSLAST(CROSS(X_3,X_4));
大趋势:=BARSLAST(CROSS(X_4,X_3)),COLORYELLOW;
X_9:=IF(X_8<大趋势,X_8+1,0);
X_10:=IF(大趋势<X_8,大趋势+1,0);
X_11:=X_3>X_5 AND X_4>X_5 AND X_5>REF(X_5,1) AND X_6>REF(X_6,1);
X_12:=X_9*X_11;
X_13:=X_10*X_11;
X_14:=HHV(X_9,5)>=2 AND X_11 AND X_3>REF(X_3,1) AND X_3>X_4;
飞起来:X_14*X_9,COLORBLUE;
X_15:=BARSLAST(飞起来>0 AND NOT(REF(飞起来,1)))+1;
高度:(CLOSE/REF(CLOSE,X_15)-1)*100,COLOR80FFFF;
死鱼:高度,COLOR80FF80;
易满仓线:IF(高度>0,高度,0),COLORRED,LINETHICK3;
妖股突破启动1:=HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
妖股突破启动2:=DATETODAY(DATE);
妖股突破启动3:=1;
妖股突破启动4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>7;
妖股突破启动5:=1;
HMAX:(妖股突破启动1 AND 妖股突破启动4)*妖股突破启动5*妖股突破启动3,COLORRED;
{妖股突破启动1:=HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
妖股突破启动2:=DATETODAY(DATE);
妖股突破启动3:=1;
妖股突破启动4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>7;
妖股突破启动5:=1;
HMAX:(妖股突破启动1 AND 妖股突破启动4)*妖股突破启动5*妖股突破启动3,COLORRED;};
长线启动点:(MA(C,188)),COLORGREEN,LINETHICK1;
D90H1:EMA(长线启动点,90),CIRCLEDOT,COLORGRAY,LINETHICK1;
LC:=REF(CLOSE,1);
RS1:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
起步:IF((RS1 >58),长线启动点,DRAWNULL),,COLORRED,LINETHICK1;
C2:=REF(C,1),NODRAW;
涨停:=REF(C,1)*1.1-C<0.01 AND H=C,NODRAW;
STICKLINE(涨停,OPEN,CLOSE,0001,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORRED;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2) AND L=C,1,0),NODRAW;
STICKLINE(跌停,OPEN,CLOSE,1,0),COLORBLUE;
筹码:WINNER(C*0.8)>0.3;