通达信稳进主升浪主图指标公式

通达信地量警报指标公式

通达信稳进主升浪主图指标公式:

Z1:=stRCAT(HYBLOCK,' ');

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;

大盘涨家数:INDEXADV,NODRAW,COLORRED;

大盘跌家数:INDEXDEC,NODRAW,COLORGREEN;

涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);

AAA:=(3*C+H+L+O)/6;

VAR1:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,COLORRED;

VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/0;

VAR3:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;

VAR4:(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/0;

VAR5:(LLV(VAR3,2)+LLV(VAR3,4)+LLV(VAR3,8))/3,COLORRED;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;

DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));

IF((VAR1 <= REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK3;

IF((VAR1 >= REF(VAR1,1)),VAR1,DRAWNULL),COLORRED,LINETHICK3;

STICKLINE(VAR4>VAR1,VAR4,VAR1,0,0),COLORBLUE;

DRAWKLINE(H,O,L,C);

DRAWTEXT(REF(VAR5,1)=REF(VAR1,1) AND VAR5<VAR1,L*0.99,'买入'),COLORYELLOW;

V5:=EMA(CLOSE,1);

主线:=EMA(V5,5) ;

本:=EMA(HHV(主线,5),1);

急进:=EMA(HHV(本,17),1);

稳健:=EMA(HHV(急进,17),2);

主升:EMA(HHV(稳健,17),3),LINETHICK1,COLORRED;

通达信N字涨停法选股指标公式