九毛八公式指标
A1:=H-L; B1:=C-O; C1:=(B1/A1); DX:=V*C1/10000; DX1:EMA(EMA(DX,20),3)*20,COLORYELLOW; DX2:MA(DX1,5),COLORFF00FF; DX3:MA(DX1,10),COLORCYAN; STICKLINE(DX>0,0,DX,2,0),COLORRED; STICKLINE(DX<0,0,DX,2,0),COLORGREEN; XG:=CROSS(DX2,DX3) AND DX2>REF(DX2,1) AND DX3>REF(DX3,1); 背离:XG*20; 该背离信号不论在底部或顶部都会出现,如000978桂林旅游在20101214和20110124都出现信号,但前者是顶后者是底不好区分,所以请老师帮忙,将顶背离、底背离分别做一个选股指标,万分感谢!!
公式模块:
A1:=H-L;
B1:=C-O; C1:=(B1/A1); DX:=V*C1/10000; DX1:=EMA(EMA(DX,20),3)*20; DX2:=MA(DX1,5); 底背离:crOSS(DX1,DX2); A1:=H-L; B1:=C-O; C1:=(B1/A1); DX:=V*C1/10000; DX1:=EMA(EMA(DX,20),3)*20; DX2:=MA(DX1,5); 顶背离:CROSS(DX2,DX1);