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

必定大涨均线牛股预警指标公式

  来源:  

均线:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
牛股预警:EMA(均线,9),COLORWHITE,LINETHICK2;
指标公式:=0,COLOR00CFFF;{选股公式-选股指标www.gs6699.com}
ddddd1:=0,COLORFFCCFF;
STICKLINE(均线>牛股预警,-0.5,-0.6,10,1),COLOR00CFFF;
STICKLINE(均线<牛股预警,-0.5,-0.6,10,1),COLORFFCCFF;
MACD:(均线-牛股预警)*2,COLORSTICK;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORLIBLUE,LINETHICK2;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORFF00FF,LINETHICK2;
ddddd2:IF(均线<0,均线,0),COLORYELLOW,LINETHICK2;
ddddd3:IF(均线<0,0,均线),COLORRED,LINETHICK2;
ddddd4:IF(均线<牛股预警,均线,牛股预警),COLORWHITE,LINETHICK2;
ddddd5:IF(均线>牛股预警,牛股预警,牛股预警),COLORFF937F,LINETHICK2;
AA:=COUNT(CROSS(均线,牛股预警),BARSLAST(牛股预警>=0));
ddddd6:=CROSS(均线,牛股预警) AND 牛股预警<0 AND COUNT(AA=2,21)=1;
DRAWTEXT(ddddd6,0.2, ddddd6),COLORYELLOW;
ddddd91:=BARSLAST(REF(CROSS(均线,牛股预警),1));
ddddd7:=REF(CLOSE,ddddd91+1)>CLOSE AND 均线>REF(均线,ddddd91+1) AND CROSS(均线,牛股预警);
STICKLINE(ddddd7,0,0.03,6,0),COLOR00FF00;
ddddd8:DRAWLINE(ddddd91=0,牛股预警,ddddd7,牛股预警,0),COLORRED,LINETHICK4;
DRAWTEXT(ddddd7,0.12, ddddd7),COLORFF00FF;
ddddd9:=BARSLAST(REF(CROSS(牛股预警,均线),1));
ddddd92:=REF(CLOSE,ddddd9+1)<CLOSE AND REF(均线,ddddd9+1)>均线 AND CROSS(牛股预警,均线);
ddddd93:DRAWLINE(ddddd9=0,牛股预警,ddddd92,牛股预警,0),COLORGREEN,LINETHICK4;

4.jpg
高手公式网