通达信选强势股公式 通达信辅助线主图指标公式
VAR100:=IF(DATE<1130230 AND DATE>900101,1,0);
MA1:MA(CLOSE,5)COLORWHITE;
MA2:MA(CLOSE,20)COLORYELLOW;
MA3:MA(CLOSE,30)COLORMAGENTA;
MA4:MA(CLOSE,60)COLORGREEN,LINETHICK1;
MA5:MA(CLOSE,90)COLORCYAN,LINETHICK1;
MA6:MA(CLOSE,120)COLORCYAN;
MA7:MA(CLOSE,200)COLORWHITE;
DA:(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT;
DB:(20*DA+19*REF(DA,1)+18*REF(DA,2)+17*REF(DA,3)+16*REF(DA,4)+15*REF(DA,5)+14*REF(DA,6)
+13*REF(DA,7)+12*REF(DA,8)+11*REF(DA,9)+10*REF(DA,10)+9*REF(DA,11)+8*REF(DA,12)
+7*REF(DA,13)+6*REF(DA,14)+5*REF(DA,15)+4*REF(DA,16)+3*REF(DA,17)+2*REF(DA,18)+REF(DA,20))/210,COLORYELLOW;
DC:MA(DB,5),COLORRED;
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
(股票知识网zhishi.southmoney.com)