DIFF: EMA(CLOSE,8) - EMA(CLOSE,13),COLORWHITE,LINETHICK1; DEA: EMA(DIFF,9),COLORYELLOW,LINETHICK2; : 2*(DIFF-DEA), COLORSTICK; STICKLINE(MD
[0,0,MACD,0,0),COLORYELLOW; STICKLINE(MACD>REF(MACD,1)AND MACD<0 JCCOUNT:=COUNT(CROSS(DIFF,DEA),BAAST(DEA>=0)); :=CROSS(DIFF,DEA) AND DEA<0 COUNT(JCCOUNT=2,21) A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA); STICKLINE(底,0,0.03,6,0),COLOR00FF00; 底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4; DRAWTEXT(底背离,0.10,
]