选股公式:EMA(均线趋势向上,3),COLORBROWN;
DDDSS1:EMA(选股公式,3),COLORCYAN;
DDDSS2:EMA(DDDSS1,3),COLORGREEN;
DDDSS3:EMA(DDDSS2,3),COLORMAGENTA;
DDDSS4:=MA(CLOSE,20);{通达信公式-通达信指标www.gs6699.com}
DDDSS5:=(CLOSE MA(CLOSE,5));
DDDSS6:=(MA(CLOSE,5) MA(CLOSE,10));
ESEW1:=(CLOSE MA(CLOSE,10));
ESEW8:=(MA(CLOSE,5) MA(CLOSE,20));
ESEW9:=(CLOSE MA(CLOSE,20));
ESEW10:=REF(DDDSS4,1);
ESEW11:=(DDDSS4 ESEW10);
AVX:=(((((IF(DDDSS5,10,(0 - 10)) + IF(DDDSS6,10,(0 - 10))) + IF(ESEW1,10,(0 - 10))) + IF(ESEW8,10,(0 - 10))) + IF(ESEW9,10,(0 - 10))) + IF(ESEW11,10,(0 - 10)));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
QQ1:=CROSS(C,均线趋势向上) AND CROSS(C,选股公式) AND CROSS(C,DDDSS1)
AND CROSS(C,DDDSS2) AND CROSS(C,DDDSS3) AND CROSS(均线趋势向上,DDDSS3);
ESEWA1:=CROSS(AVX, 0);
ESEWA2:=CROSS(DIF,DEA);
VVDS:=QQ1 AND ESEWA1 AND ESEWA2;
DRAWICON(VVDS, H+0.6,7);
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
ESEWA4:=(EMA(CS,3)-50)*2;
DRAWICON(CROSS(ESEWA4, -60), L-0.4,11);
DRAWICON(CROSS(ESEWA4, -80), L-0.6,16);