VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
M_A1:=BArslAST(REF(crOSS(K,D),1));
底背离:=REF(CLOSE,M_A1+1)>CLOSE AND K>REF(K,M_A1+1) AND CROSS(K,D);
底背:底背离;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
M_A1:=BArslAST(REF(crOSS(K,D),1));
底背离:=REF(CLOSE,M_A1+1)>CLOSE AND K>REF(K,M_A1+1) AND CROSS(K,D);
底背:底背离;