通达信秘线主图源码主图


 M1:=3;
M3:=12;
VARAB:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,COLORMAGENTA;
IF(VARAB< REF(BBI,1),VARAB,DRAWNULL),DOTLINE,COLORGRAY;
ZT:=C/REF(C,1)>1.099 AND C=H;
ABA:=REF((C/REF(C,1)>=1.095 AND C=H),1) AND O>REF(C,1) AND C< O AND O=H AND V=HHV(V,34);
SAT:=(AMOUNT/C)/(HHV(AMOUNT,120)/HHV(C,120));
倒灌:=REF((C/REF(C,1)>=1.099 AND C=H),1) AND 量能饱和>75 AND O>REF(C,1) AND C< O AND O< H ;
DD:=ABS((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100)>=10;
ZTCS90:=COUNT(涨停,90);
大线:=EMA(EMA(INDEXC,45),9);
大盘1:=INDEXC/大线*100;
N1:=REF(BARSLAST((C-REF(C,1))/REF(C,1)*100>9.6 AND C=H),1)+1;
ZT9:=(C-REF(C,1))/REF(C,1)*100>9.5,COLORWHITE;
BIAS1 :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIA:=(BIAS1-BIAS2);
超跌涨停:=ZT9>0 AND BIS< 0 AND BIA>5 AND MA(C,5)< MA(C,60);
MA10:=MA(C,10);
MA30:=MA(C,30);
F1:=(MA5-MA10)/MA10*100;
F3:=(MA20-MA60)/MA10*100;
A1:=REF(C,20)=HHV(C,2*20+1);
C1:=BACKSET(B1,20+1);
A:=REF(H,BARSLAST(HD));
钝化涨停:=ZT>0 AND RSI1=HHV(RSI1,5) AND RSI1>80;
新股首次:=COUNT(ZT>0,BARSCOUNT(C))=1 AND ZT>0 AND FINANCE(42)< 100;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(涨停)),REF(HIGH,BARSLAST(涨停)),2,0),COLORLIGREEN;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
普通倒灌:DRAWLINE(倒灌,H,1,REF(BAB1,1),1),COLORLIGRAY;
BB11:=FILTER(AA11,30);
HD1:=FILTER(CC11,30);
BB2:=FILTER(AA2,10);
LD1:=FILTER(CC2,10);
DRAWICON(CROSS(C,起拔),起拔*1,11);
T1HIGH:=CONST(REF(HIGH,T1));
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CCVV+T1)) AND (HIGH>T1HIGH)));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CCVV+T2)) AND (HIGH>T2HIGH)));
秘线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK2,COLORFF0099;
DRAWICON(CROSS(C,秘线),秘线*1,11);