当前位置首页 > 通达信指标公式大全

机构专版牛股量形选股指标

  来源:  

牛股:EMA(CLOSE,12)-EMA(CLOSE,27);
量形选股指标:EMA(牛股,9);{选股公式-选股指标www.gs6699.com}
MACD:2*(牛股-量形选股指标), COLORSTICK,LINETHICK2;
vvssd1:=CROSS(牛股,量形选股指标) AND 牛股<-0.1;
DRAWICON(vvssd1,量形选股指标*0.9,1) ;
vvssd2:=COUNT(CROSS(牛股,量形选股指标),BARSLAST(量形选股指标>=0));
vvssd3:=CROSS(牛股,量形选股指标) AND 量形选股指标<0 AND COUNT(vvssd2=2,21)=1;
DRAWICON(vvssd3,量形选股指标*0.9,5) ;
vvssd4:=BARSLAST(REF(CROSS(牛股,量形选股指标),1));
vvssd5:=REF(CLOSE,vvssd4+1)>CLOSE AND 牛股>REF(牛股,vvssd4+1) AND
CROSS(牛股,量形选股指标);
vvssd6:DRAWLINE(vvssd4=0,量形选股指标,vvssd5,量形选股指标,0),COLORRED,LINETHICK4;
DRAWTEXT(vvssd5,-1,' '),COLORRED;
DRAWICON(CROSS(量形选股指标,牛股),牛股,2);
vvssd7:=BARSLAST(REF(CROSS(量形选股指标,牛股),1));
vvssd8:=REF(CLOSE,vvssd7+1)<CLOSE AND REF(牛股,vvssd7+1)>牛股 AND
CROSS(量形选股指标,牛股);
vvssd9:DRAWLINE(vvssd7=0,量形选股指标,vvssd8,量形选股指标,0),COLORGREEN,LINETHICK4;
DRAWTEXT(vvssd8,1,' '),COLORGREEN;
vvssd91:=(vvssd1 AND vvssd3 AND vvssd5);
STICKLINE(vvssd91,0,0.8,1,0),COLORYELLOW,LINETHICK2;
DRAWTEXT(vvssd1 AND vvssd3 AND vvssd5,1,''),COLORYELLOW;
vvssd92:2*(牛股-量形选股指标),COLORSTICK,COLORRED;
cccc8:=SUM(vvssd92,0);
cccc9:=IF(MAX(cccc8,REF(cccc8,2))<REF(cccc8,1) OR MIN(cccc8,REF(cccc8,2))>REF(cccc8,1),1,0);
cccc10:=BARSLAST(cccc9)+1;
cccc11:=cccc8-REF(cccc8,cccc10);
cccc12:=IF(vvssd92>0,HHV(ABS(vvssd92),cccc10),LLV(vvssd92,cccc10));
cccc13:=vvssd92/20;
cccca1:SUM(MACD,BARSLAST(MACD<0))*(MACD>0),COLOR0000FF,NODRAW;
cccca2:SUM(MACD,BARSLAST(MACD>0))*(MACD<0),COLORFFFF00,NODRAW;
AA:=ROUND(REF(cccca2,1)*100);BB:=ROUND(REF(cccca1,1)*100);
DRAWNUMBER(CROSS(0,MACD),HHV(REF(MACD,1),5)+0.03,ABS(BB)),COLORMAGENTA;
DRAWNUMBER(CROSS(MACD,0),LLV(REF(MACD,1),5)-0.03,ABS(AA)),COLORGREEN;

4.jpg
高手公式网