vvvv:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),12);
sssss:=HIGH-REF(HIGH,1);{股票公式-股票指标www.gs6699.com}
通达信最好的:=REF(LOW,1)-LOW;
选股公式:=EXPMEMA(IF(sssss>0 AND sssss>通达信最好的,sssss,0),12)*100/vvvv;
gggg5:=EXPMEMA(IF(通达信最好的>0 AND 通达信最好的>sssss,通达信最好的,0),12)*100/vvvv;
gggg6:=选股公式>65 AND 选股公式>REF(选股公式,1);
gggg7:=LLV(选股公式,0);
gggg8:=BARSLAST(gggg7=选股公式);
gggg9:=(0-REF(gggg5,4))/(gggg7-REF(gggg5,gggg8))>2;
vvvv0:=选股公式>REF(选股公式,1);
vvvv1:=VOL>2*MA(VOL,30);
vvvv2:=EXPMEMA(ABS(gggg5-选股公式)/(gggg5+选股公式)*100,6);
vvvv3:=EXPMEMA(gggg6,6);
vvvv4:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
vvvv5:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
vvvv6:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
vvvv7:=0-(EMA(CLOSE,7)-EMA(CLOSE,21));
vvvv8:=TROUGHBARS(3,15,1)<4;
vvvv9:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
sssss0:=IF(vvvv8=1,50,0);
sssss1:=CROSS(gggg5,选股公式) AND CROSS(vvvv3,vvvv2);
sssss2:=CROSS(gggg5,选股公式) AND CROSS(vvvv2,vvvv3);
sssss3:=vvvv4 AND vvvv5 AND vvvv6 AND vvvv9 AND gggg9 AND vvvv0 AND vvvv1*50;
sssss4:=BARSLAST(CROSS(gggg5,选股公式)=1);
sssss5:=BARSLAST(CROSS(选股公式,gggg5)=1);
sssss6:=HHV(选股公式,sssss5);
sssss7:=BARSLAST(选股公式=sssss6);
eeee1:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
STICKLINE(0=0,0,0,1500,1),COLORRED;
STICKLINE(FILTER(vvvv8=1,5) AND eeee1<(-10),50,0,10,0),COLORF00FF0;
STICKLINE(FILTER(vvvv8=1,5),50,0,5,0),COLORYELLOW;
sssss8:=gggg6 OR sssss1 OR sssss2*100;
sssss9:=sssss2*100;
DRAWTEXT(FILTER(vvvv8=1,3),25,1),COLORRED;
STICKLINE(eeee1<(-10),0,eeee1,0.85,0),COLORYELLOW;
STICKLINE(eeee1>10,0,eeee1,0.95,0),COLORRED;