九毛八公式指标
公式模块:
macd指标,DIF1:=EMA(CLOSE,5) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
MacD1:=2*(DIF1-DEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0,0),COLOR0058FF;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0,0),COLORGREEN;
STICKLINE(MACD1<MACD2,0,MACD1,0,0),COLORCBCBC0;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
DIF1,COLOR33FF33;
DEA1,COLOR33FFFF;
MACD:MACD1,NODRAW,COLORMAGENTA;
强:IF(DIF1>=DEA1,DIF1,DRAWNULL),COLORRED,LINETHICK2;
弱:IF(DEA1>=DIF1,DEA1,DRAWNULL),COLORFF9900,LINETHICK2;
DRAWICON(crOSS(DIF1,DEA1),DEA1-0.02,1);
涨家数:INDEXADV,NODRAW,COLORLIMAGENTA ;
乖离率指标,bias:(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
DRAWICON(CROSS(BIAS,0),0,1);
短线买指标,AA:C-MA(C,6);0;DRAWICON(CROSS(AA,0),0,1);
要求以上三个指标同时曲红箭头时,合成一起盘中选股公式 DIF1:=EMA(CLOSE,5) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
AAA:=CROSS(DIF1,DEA1) ;
BIAS:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
BBB:=CROSS(BIAS,0);
AA:=C-MA(C,6);
CCC:=CROSS(AA,0);
AAA AND BBB AND AA;