通达信主图:=MA(C,5);
A:=(3*C+L+O+H)/6;{股票公式-股票指标www.gs6699.com}
指标选股公式:(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210,COLORRED,POINTDOT;
tfdss:MA(指标选股公式,13),COLORFFCCCC,CIRCLEDOT;
ddsss1:=SLOPE(EMA(CLOSE,2),5)*15+C;
ddsss2:=EMA(ddsss1,5);
ddsssA:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(ddsss2,5),5),5),5),5),5),5),5);
ddsssB:=BARSLAST(CROSS(CLOSE,ddsssA));
ddsssC:=BARSLAST(CROSS(ddsssA,CLOSE));
STICKLINE(CLOSE<ddsssA,REF(CLOSE,ddsssC),REF(CLOSE,ddsssC),12,0),LINETHICK2,COLORFFCCCC;
STICKLINE(CLOSE>ddsssA AND CLOSE>REF(CLOSE,ddsssB),REF(CLOSE,ddsssB),指标选股公式,0.5,0),COLORFFC8FF;
STICKLINE(CLOSE>ddsssA AND CLOSE>REF(CLOSE,ddsssB),REF(CLOSE,ddsssB),REF(CLOSE,ddsssB),12,0),COLORFFC8FF,LINETHICK2;
STICKLINE(CLOSE<ddsssA AND CLOSE<REF(CLOSE,ddsssC),REF(CLOSE,ddsssC),指标选股公式,0.5,0),COLOR00FF00;
wwwdd1:= EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
wwwdd2:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
wwwddA:=REF(wwwdd1,1)>92 AND wwwdd1<92;
DRAWTEXT(wwwddA,H+0.12,''),COLOR00FF00;
DRAWTEXT(wwwddA,H+0.05,''),COLOR00FF00;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<O,H,L,0,0),COLORFFFF52;
STICKLINE(C>=O,C,O,2,1),COLORRED;
STICKLINE(C<O,C,O,2,0),COLORFFFF52;
MA13:MA(C,13),COLORWHITE,LINETHICK2;
通达信主图5:=MA(C,55);
vvdss1:=MA(C,125);
vvdss2:=MA(C,250);
DRAWTEXT(CROSS(通达信主图,tfdss) AND 通达信主图>tfdss AND C>O,MA13-0.12,'指标选股公式tfdss'),COLORYELLOW;
T:=BARSLAST(L>REF(H,1));
E:=COUNT(L<REF(H,T+1),T)<2;
DRAWTEXT(L<REF(H,T+1 ) AND E,L-0.12,''),COLOR0099FF;
vvdss3:=CROSS(MA(C,13),MA(C,21));
DRAWTEXT(vvdss3,MA13-0.12,'');