九毛八公式指标
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,N)-EMA(CLOSE,M))*50;
DEA:=EMA(DIF,R);
TT:=crOSS(DIF,DEA);
买入:FILTER(TT,360)=1&&DEA<4;