DIFF:EMA(DCLOSE,12)-EMA(CLOSE,26),COLORBLUE,LINETHICK1.5;
Q' y- @0 l. GDEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1.5;$ E6 D2 Y) C' A% l- `
MACDDIFF-DEA)*2,COLORSTICK;( K l+ A5 Y ~! ]! e$ v% v0 p
低位金:=CROSS(DIFF,DEA) AND DIFF=0));
. i3 X9 W$ e/ h1 Z二次金:=CROSS(DIFF,DEA) AND DEACLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);* ?* \4 r* H7 }& d% M
STICKLINE(底背离,0,0.05,8,0),,COLORFF00FF;
, l/ R7 k2 f" z' q I' uDRAWLINE(A1=0,DEA,底背离,DEA,0),COLORFF00FF,LINETHICK2;
, B; T, H" Y" O' M4 hA2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
8 @1 Q, b2 H. y+ l+ p4 Z顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);+ w: P; W2 P0 a w: D3 |6 U/ o
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;7 ?0 t( i3 m# r# ]) f" p) D
强:IF(DIFF>=DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2; |