STICKLINE(C O,C,O,8,0),COLORMAGENTA;
STICKLINE(C O,H,L,0,0),COLORMAGENTA;
STICKLINE(C =O,C,O,8,0),COLORCYAN;
STICKLINE(C =O,H,L,0,0),COLORCYAN;
HA:=LLV(L,500);
HB:=HHV(H,500);
HC:=EMA(EMA(EMA(LLV(L,2),2),2),2);
HD:=EMA(EMA(EMA(HHV(H,2),2),2),2);
H1:=H O1:=O L1:=L C1:=C
H2:=H O2:=O L2:=L C2:=C
//{www.9m8.cn 九毛八公式指标网 股票软件下载网_同花顺股票指标公式}
继续底背离:IF(H1+O1+L1+C1 =1,(L+HA)/2,HA),COLORGREEN;
继续顶背离:IF(H2+O2+L2+C2 =3,(HB+H)/2,HB),COLORMAGENTA;