网友求助:
DIF:(EMA(CLOSE,N)-EMA(CLOSE,M))*50;
DEA:EMA(DIF,R);
MACD:(DIF-DEA)*5,COLORSTICK;
TT:=CROSS(DIF,DEA);
TB:=CROSS(DEA,DIF);
均价:=DYNAINFO(11),NODRAW;
三日均价:(HHV(C,3)+LLV(C,3))/2,NODRAW;
DRAWICON(FILTER(TT,360)=1&&DEA<4,DEA,1),COLORYELLOW;{绿色箭头向下}
DRAWTEXT(FILTER(TT,360)=1&&DEA<4,DEA,'买入'),LINETHICK3 ,COLORYELLOW;
DRAWICON(FILTER(TB,120)=1&&DEA>6,DEA,2),COLORYELLOW;{绿色箭头向下}
DRAWTEXT(FILTER(TB,120)=1&&DEA>6,DEA,'注意风险'),LINETHICK3 ,COLORYELLOW;
请 老师 帮忙 做出 此 选股 预警公式
解答如下:'
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*50;
DEA:=EMA(DIF,9);
TT:=CROSS(DIF,DEA);
XG:FILTER(TT,360)=1&&DEA<4;